Previously tests/framework-tests contained a quarantined set of test classes that needed access to package-private framework api. Running these tests normally would cause the dalvik verifier to throw errors. runtest now has support for turning off the dalvik verifier for frameworks tests, so move this tests into their recommended location, close to the source being tested. Also move policy source into a 'src' folder to accommodate the tests move. Change-Id: I62f839da185a55bc553b653bf583fd99da438512
15 lines
360 B
Makefile
15 lines
360 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
|
|
# the library
|
|
# ============================================================
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES := $(call all-java-files-under, src)
|
|
|
|
LOCAL_MODULE := android.policy
|
|
|
|
include $(BUILD_JAVA_LIBRARY)
|
|
|
|
# additionally, build unit tests in a separate .apk
|
|
include $(call all-makefiles-under,$(LOCAL_PATH))
|