The Android Open Source Project | 52d4c30 | 2009-03-03 19:29:09 -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 | |
Jiyong Park | 8c8cb53 | 2018-01-24 15:21:38 +0900 | [diff] [blame] | 7 | LOCAL_JAVA_LIBRARIES := android.test.runner.stubs android.test.base.stubs |
The Android Open Source Project | 52d4c30 | 2009-03-03 19:29:09 -0800 | [diff] [blame] | 8 | |
Paul Duffin | aa592fe | 2017-12-08 00:02:41 +0000 | [diff] [blame] | 9 | LOCAL_STATIC_JAVA_LIBRARIES := junit |
Paul Duffin | 3a87d4f | 2017-03-01 13:21:09 +0000 | [diff] [blame] | 10 | |
The Android Open Source Project | 52d4c30 | 2009-03-03 19:29:09 -0800 | [diff] [blame] | 11 | # Include all test java files. |
| 12 | LOCAL_SRC_FILES := $(call all-java-files-under, src) |
| 13 | |
| 14 | # Notice that we don't have to include the src files of ApiDemos because, by |
| 15 | # running the tests using an instrumentation targeting ApiDemos, we |
| 16 | # automatically get all of its classes loaded into our environment. |
| 17 | |
| 18 | LOCAL_PACKAGE_NAME := ApiDemosTests |
Bob Badour | 40a7447 | 2021-04-20 14:03:26 -0700 | [diff] [blame] | 19 | LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 |
| 20 | LOCAL_LICENSE_CONDITIONS := notice |
The Android Open Source Project | 52d4c30 | 2009-03-03 19:29:09 -0800 | [diff] [blame] | 21 | |
| 22 | LOCAL_INSTRUMENTATION_FOR := ApiDemos |
| 23 | |
| 24 | LOCAL_SDK_VERSION := current |
| 25 | |
| 26 | include $(BUILD_PACKAGE) |