blob: b2a94037b0c5d0158fc922060b7f4fa400bbab5f [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
19
20LOCAL_INSTRUMENTATION_FOR := ApiDemos
21
22LOCAL_SDK_VERSION := current
23
24include $(BUILD_PACKAGE)
25