blob: c095ae0dd2ff822c03b7ea1bcbe58c1a3eb46450 [file] [log] [blame]
Tadashi G. Takaoka56c9a742018-09-14 14:06:55 +09001#########################################################################
2# Build WmTests package
3#########################################################################
4
5LOCAL_PATH:= $(call my-dir)
6include $(CLEAR_VARS)
7
8# We only want this apk build for tests.
9LOCAL_MODULE_TAGS := tests
10
11# Include all test java files.
12LOCAL_SRC_FILES := \
13 $(call all-java-files-under, src) \
14 $(call all-java-files-under, ../servicestests/utils)
15
16LOCAL_STATIC_JAVA_LIBRARIES := \
Brett Chabotff2af312018-10-18 10:49:53 -070017 androidx.test.runner \
Tadashi G. Takaoka56c9a742018-09-14 14:06:55 +090018 mockito-target-minus-junit4 \
19 platform-test-annotations \
Tadashi G. Takaoka56c9a742018-09-14 14:06:55 +090020
21LOCAL_JAVA_LIBRARIES := \
22 android.test.mock \
23 android.test.base \
24 android.test.runner \
25
26LOCAL_PACKAGE_NAME := WmTests
27LOCAL_PRIVATE_PLATFORM_APIS := true
28LOCAL_COMPATIBILITY_SUITE := device-tests
29
30LOCAL_CERTIFICATE := platform
31
32LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
33
34LOCAL_JACK_FLAGS := --multi-dex native
35LOCAL_DX_FLAGS := --multi-dex
36
37LOCAL_PROGUARD_ENABLED := disabled
38
39include $(BUILD_PACKAGE)
40
41include $(call all-makefiles-under, $(LOCAL_PATH))