1LOCAL_PATH:= $(call my-dir)
2
3include $(CLEAR_VARS)
4
5LOCAL_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.)
9LOCAL_SRC_FILES := $(call all-subdir-java-files) \
10    ../src/com/android/providers/settings/SettingsState.java \
11    ../src/com/android/providers/settings/SettingsHelper.java
12
13LOCAL_STATIC_JAVA_LIBRARIES := \
14    android-support-test \
15    truth-prebuilt
16
17LOCAL_JAVA_LIBRARIES := android.test.base
18
19LOCAL_PACKAGE_NAME := SettingsProviderTest
20LOCAL_PRIVATE_PLATFORM_APIS := true
21
22LOCAL_MODULE_TAGS := tests
23
24LOCAL_CERTIFICATE := platform
25
26LOCAL_COMPATIBILITY_SUITE := device-tests
27
28include $(BUILD_PACKAGE)
29