blob: 52dcb69b64ace612cd928fc16e64604f46db82a8 [file] [log] [blame]
Chenjie Luo15f32be2014-09-25 11:28:03 -07001# Copyright (C) 2008 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15LOCAL_PATH:= $(call my-dir)
16
17include $(CLEAR_VARS)
18
19# don't include this package in any target
20LOCAL_MODULE_TAGS := optional
21# and when built explicitly put it in the data partition
22LOCAL_MODULE_PATH := $(TARGET_OUT_DATA_APPS)
23
Paul Duffinb7a13292017-12-15 07:27:19 +000024LOCAL_JAVA_LIBRARIES := \
Jiyong Park925a7662018-01-24 15:10:49 +090025 android.test.runner.stubs \
Paul Duffinb7a13292017-12-15 07:27:19 +000026 org.apache.http.legacy \
Kodlee Yin982751f2017-12-21 17:48:58 -080027 android.test.base.stubs
Chenjie Luo15f32be2014-09-25 11:28:03 -070028
Wale Ogunwalefc6cee52017-03-10 07:21:31 -080029LOCAL_STATIC_JAVA_LIBRARIES := \
30 compatibility-device-util \
31 ctstestrunner \
32 ctstestserver \
33 mockito-target-minus-junit4 \
34 android-support-test \
Dianne Hackborna19a9102017-12-14 15:37:39 -080035 platform-test-annotations \
Kodlee Yin982751f2017-12-21 17:48:58 -080036 cts-amwm-util \
37 android-support-test
Chenjie Luo15f32be2014-09-25 11:28:03 -070038
Wale Ogunwaleac2aafe2017-02-09 15:31:24 -080039LOCAL_SRC_FILES := \
Tadashi G. Takaoka50224e92017-10-30 17:20:50 +090040 $(call all-java-files-under, src)
Chenjie Luo15f32be2014-09-25 11:28:03 -070041
Stuart Scott2ff78ae2016-02-18 19:25:52 -080042# Tag this module as a cts test artifact
nickrosef1efbc62017-07-05 12:38:06 -070043LOCAL_COMPATIBILITY_SUITE := cts vts general-tests
Chenjie Luo15f32be2014-09-25 11:28:03 -070044
Stuart Scott9bdd69b2015-08-11 13:09:33 -070045LOCAL_PACKAGE_NAME := CtsAppTestCases
46
47LOCAL_INSTRUMENTATION_FOR := CtsAppTestStubs
48
Keun-young Park7a5a5eb2016-03-01 15:22:48 -080049LOCAL_SDK_VERSION := test_current
Christopher Tatea4c711e2018-07-20 16:37:23 -070050LOCAL_MIN_SDK_VERSION := 11
Stuart Scott9bdd69b2015-08-11 13:09:33 -070051
52include $(BUILD_CTS_PACKAGE)
53
Keun-young Park7a5a5eb2016-03-01 15:22:48 -080054include $(call all-makefiles-under,$(LOCAL_PATH))