blob: a57fa9458f08547093e35141dfb9c403aa1a6d13 [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 \
Adam He71d53e02018-11-06 14:03:26 -080015 testables \
16 testng
Daniel Nishicf9d19e2017-01-23 14:33:42 -080017
18# Include all test java files.
19LOCAL_SRC_FILES := $(call all-java-files-under, src)
20
21LOCAL_PACKAGE_NAME := ExtServicesUnitTests
Anton Hanssonab6ec612018-02-23 12:57:51 +000022LOCAL_PRIVATE_PLATFORM_APIS := true
Daniel Nishicf9d19e2017-01-23 14:33:42 -080023
24LOCAL_INSTRUMENTATION_FOR := ExtServices
25
26include $(BUILD_PACKAGE)