blob: 902f1c7ed3888239d4c5b6eaae3321be1798e021 [file] [log] [blame]
Svetoslav683914b2015-01-15 14:22:26 -08001LOCAL_PATH:= $(call my-dir)
2
3include $(CLEAR_VARS)
4
Svetoslav Ganove080da92016-12-21 17:10:35 -08005LOCAL_MODULE_TAGS := tests
6
Seigo Nonaka0f19cc72017-06-26 16:06:17 -07007# Note we statically link several classes to do some unit tests. It's not accessible otherwise
Makoto Onuki3a2c35782015-06-18 11:21:58 -07008# because this test is not an instrumentation test. (because the target runs in the system process.)
9LOCAL_SRC_FILES := $(call all-subdir-java-files) \
Seigo Nonaka0f19cc72017-06-26 16:06:17 -070010 ../src/com/android/providers/settings/SettingsState.java \
11 ../src/com/android/providers/settings/SettingsHelper.java
Svetoslav683914b2015-01-15 14:22:26 -080012
Paul Duffin37e9a282017-06-13 15:53:11 +010013LOCAL_STATIC_JAVA_LIBRARIES := android-support-test
14
Paul Duffin2710ca12017-12-05 18:36:56 +000015LOCAL_JAVA_LIBRARIES := android.test.base
Svetoslav Ganove080da92016-12-21 17:10:35 -080016
Svetoslav683914b2015-01-15 14:22:26 -080017LOCAL_PACKAGE_NAME := SettingsProviderTest
18
19LOCAL_MODULE_TAGS := tests
20
21LOCAL_CERTIFICATE := platform
22
Dan Shi52d53862017-03-22 20:51:59 -070023LOCAL_COMPATIBILITY_SUITE := device-tests
24
Paul Duffin8aeb59e2017-01-10 12:08:23 +000025include $(BUILD_PACKAGE)