blob: bd5b1f2c64ef1fd97f4977cca85bae9a5519ea8e [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
Anton Hanssonab6ec612018-02-23 12:57:51 +000018LOCAL_PRIVATE_PLATFORM_APIS := true
Svetoslav683914b2015-01-15 14:22:26 -080019
20LOCAL_MODULE_TAGS := tests
21
22LOCAL_CERTIFICATE := platform
23
Dan Shi52d53862017-03-22 20:51:59 -070024LOCAL_COMPATIBILITY_SUITE := device-tests
25
Paul Duffin8aeb59e2017-01-10 12:08:23 +000026include $(BUILD_PACKAGE)