blob: ed37fbe836e6923de2f054b99e20479fb490c1a4 [file] [log] [blame]
The Android Open Source Project52d4c302009-03-03 19:29:09 -08001LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
3
4# We only want this apk build for tests.
5LOCAL_MODULE_TAGS := tests
6
Jiyong Park8c8cb532018-01-24 15:21:38 +09007LOCAL_JAVA_LIBRARIES := android.test.runner.stubs android.test.base.stubs
The Android Open Source Project52d4c302009-03-03 19:29:09 -08008
Paul Duffinaa592fe2017-12-08 00:02:41 +00009LOCAL_STATIC_JAVA_LIBRARIES := junit
Paul Duffin3a87d4f2017-03-01 13:21:09 +000010
The Android Open Source Project52d4c302009-03-03 19:29:09 -080011# Include all test java files.
12LOCAL_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
18LOCAL_PACKAGE_NAME := ApiDemosTests
Bob Badour40a74472021-04-20 14:03:26 -070019LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
20LOCAL_LICENSE_CONDITIONS := notice
The Android Open Source Project52d4c302009-03-03 19:29:09 -080021
22LOCAL_INSTRUMENTATION_FOR := ApiDemos
23
24LOCAL_SDK_VERSION := current
25
26include $(BUILD_PACKAGE)