blob: b832fe1b3648ca7b3027aaa8a3fec6f8894c4324 [file] [log] [blame]
Filip Gruszczynskibef1b5c2015-11-24 18:25:08 -08001# Copyright (C) 2015 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
Steven Timotius25a4cf62017-08-29 10:21:28 -070019LOCAL_MODULE_TAGS := tests optional
Filip Gruszczynskibef1b5c2015-11-24 18:25:08 -080020
21# Must match the package name in CtsTestCaseList.mk
Steven Timotius25a4cf62017-08-29 10:21:28 -070022LOCAL_PACKAGE_NAME := CtsActivityManagerDeviceTestCases
Anton Hansson6a116ec2018-02-22 14:33:32 +000023LOCAL_PRIVATE_PLATFORM_APIS := true
Filip Gruszczynskibef1b5c2015-11-24 18:25:08 -080024
Tadashi G. Takaoka542536c2018-02-12 10:30:20 -080025LOCAL_SRC_FILES := \
26 $(call all-java-files-under, src) \
Tadashi G. Takaokaa56739d2018-02-12 16:47:40 -080027 $(call all-named-files-under,Components.java, app) \
28 $(call all-named-files-under,Components.java, app27) \
Tadashi G. Takaoka542536c2018-02-12 10:30:20 -080029 $(call all-named-files-under,Components.java, appDebuggable) \
Tadashi G. Takaoka64213cd2018-02-22 17:43:19 +090030 $(call all-named-files-under,Components.java, appDeprecatedSdk) \
Tadashi G. Takaokaefe126a2018-02-12 11:25:46 -080031 $(call all-named-files-under,Components.java, appDisplaySize) \
Tadashi G. Takaoka92833ec2018-02-22 18:25:38 +090032 $(call all-named-files-under,Components.java, appPrereleaseSdk) \
Tadashi G. Takaoka7806c962018-02-12 15:34:29 -080033 $(call all-named-files-under,Components.java, appSecondUid) \
34 $(call all-named-files-under,Components.java, appThirdUid) \
Tadashi G. Takaoka52526652018-02-12 15:50:17 -080035 $(call all-named-files-under,Components.java, translucentapp) \
36 $(call all-named-files-under,Components.java, translucentappsdk26) \
Filip Gruszczynskibef1b5c2015-11-24 18:25:08 -080037
Tadashi G. Takaoka50224e92017-10-30 17:20:50 +090038LOCAL_STATIC_JAVA_LIBRARIES := \
Brett Chabot01466272019-03-06 15:52:42 -080039 androidx.test.rules hamcrest-library \
Tadashi G. Takaoka573cfa42018-03-06 12:51:21 +090040 cts-amwm-util
Filip Gruszczynskibef1b5c2015-11-24 18:25:08 -080041
42LOCAL_CTS_TEST_PACKAGE := android.server
43
Stuart Scott2ff78ae2016-02-18 19:25:52 -080044# Tag this module as a cts test artifact
nickrosef1efbc62017-07-05 12:38:06 -070045LOCAL_COMPATIBILITY_SUITE := cts vts general-tests
Filip Gruszczynskibef1b5c2015-11-24 18:25:08 -080046
Steven Timotius25a4cf62017-08-29 10:21:28 -070047include $(BUILD_CTS_PACKAGE)
Filip Gruszczynskibef1b5c2015-11-24 18:25:08 -080048
49# Build the test APKs using their own makefiles
50include $(call all-makefiles-under,$(LOCAL_PATH))