Daniel Nishi | cf9d19e | 2017-01-23 14:33:42 -0800 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | include $(CLEAR_VARS) |
| 3 | |
| 4 | # We only want this apk build for tests. |
| 5 | LOCAL_MODULE_TAGS := tests |
| 6 | LOCAL_CERTIFICATE := platform |
| 7 | |
Paul Duffin | b866307 | 2017-12-08 00:02:42 +0000 | [diff] [blame] | 8 | LOCAL_JAVA_LIBRARIES := android.test.runner android.test.base |
Daniel Nishi | cf9d19e | 2017-01-23 14:33:42 -0800 | [diff] [blame] | 9 | |
| 10 | LOCAL_STATIC_JAVA_LIBRARIES := \ |
| 11 | android-support-test \ |
| 12 | mockito-target-minus-junit4 \ |
| 13 | espresso-core \ |
| 14 | truth-prebuilt \ |
Adam He | 71d53e0 | 2018-11-06 14:03:26 -0800 | [diff] [blame] | 15 | testables \ |
| 16 | testng |
Daniel Nishi | cf9d19e | 2017-01-23 14:33:42 -0800 | [diff] [blame] | 17 | |
| 18 | # Include all test java files. |
| 19 | LOCAL_SRC_FILES := $(call all-java-files-under, src) |
| 20 | |
| 21 | LOCAL_PACKAGE_NAME := ExtServicesUnitTests |
Anton Hansson | ab6ec61 | 2018-02-23 12:57:51 +0000 | [diff] [blame] | 22 | LOCAL_PRIVATE_PLATFORM_APIS := true |
Daniel Nishi | cf9d19e | 2017-01-23 14:33:42 -0800 | [diff] [blame] | 23 | |
| 24 | LOCAL_INSTRUMENTATION_FOR := ExtServices |
| 25 | |
| 26 | include $(BUILD_PACKAGE) |