1 LOCAL_PATH:= $(call my-dir) 2 include $(CLEAR_VARS) 3 4 # We only want this apk build for tests. 5 LOCAL_MODULE_TAGS := tests 6 7 # Include all test java files. 8 LOCAL_SRC_FILES := \ 9 $(call all-java-files-under, src) \ 10 $(call all-Iaidl-files-under, src) \ 11 $(call all-java-files-under, DisabledTestApp/src) \ 12 $(call all-java-files-under, EnabledTestApp/src) 13 14 LOCAL_DX_FLAGS := --core-library 15 LOCAL_STATIC_JAVA_LIBRARIES := core-tests android-common frameworks-core-util-lib mockwebserver guava 16 LOCAL_JAVA_LIBRARIES := android.test.runner 17 LOCAL_PACKAGE_NAME := FrameworksCoreTests 18 19 LOCAL_CERTIFICATE := platform 20 21 include $(BUILD_PACKAGE) 22 23 include $(call all-makefiles-under,$(LOCAL_PATH)) 24