1 LOCAL_PATH:= $(call my-dir) 2 3 include $(CLEAR_VARS) 4 5 LOCAL_MODULE_TAGS := tests 6 7 # Note we statically link several classes to do some unit tests. It's not accessible otherwise 8 # because this test is not an instrumentation test. (because the target runs in the system process.) 9 LOCAL_SRC_FILES := $(call all-subdir-java-files) \ 10 ../src/com/android/providers/settings/SettingsState.java \ 11 ../src/com/android/providers/settings/SettingsHelper.java 12 13 LOCAL_STATIC_JAVA_LIBRARIES := \ 14 android-support-test \ 15 truth-prebuilt 16 17 LOCAL_JAVA_LIBRARIES := android.test.base 18 19 LOCAL_PACKAGE_NAME := SettingsProviderTest 20 LOCAL_PRIVATE_PLATFORM_APIS := true 21 22 LOCAL_MODULE_TAGS := tests 23 24 LOCAL_CERTIFICATE := platform 25 26 LOCAL_COMPATIBILITY_SUITE := device-tests 27 28 include $(BUILD_PACKAGE) 29