blob: 0a95b858a93e0fcee408f86d7d7da4b357fac5bd [file] [log] [blame]
Daniel Nishicf9d19e2017-01-23 14:33:42 -08001LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
3
4# We only want this apk build for tests.
5LOCAL_MODULE_TAGS := tests
6LOCAL_CERTIFICATE := platform
7
Paul Duffinb8663072017-12-08 00:02:42 +00008LOCAL_JAVA_LIBRARIES := android.test.runner android.test.base
Daniel Nishicf9d19e2017-01-23 14:33:42 -08009
10LOCAL_STATIC_JAVA_LIBRARIES := \
11 android-support-test \
12 mockito-target-minus-junit4 \
13 espresso-core \
14 truth-prebuilt \
Julia Reynoldsf8c53672017-10-04 16:09:29 -040015 testables
Daniel Nishicf9d19e2017-01-23 14:33:42 -080016
17# Include all test java files.
18LOCAL_SRC_FILES := $(call all-java-files-under, src)
19
20LOCAL_PACKAGE_NAME := ExtServicesUnitTests
Anton Hanssonab6ec612018-02-23 12:57:51 +000021LOCAL_PRIVATE_PLATFORM_APIS := true
Daniel Nishicf9d19e2017-01-23 14:33:42 -080022
23LOCAL_INSTRUMENTATION_FOR := ExtServices
24
25include $(BUILD_PACKAGE)