blob: 4596f67e320bef17fbe5e64c295055c718784d8a [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
Filip Gruszczynskibef1b5c2015-11-24 18:25:08 -080023
Tadashi G. Takaoka542536c2018-02-12 10:30:20 -080024LOCAL_SRC_FILES := \
25 $(call all-java-files-under, src) \
26 $(call all-named-files-under,Components.java, appDebuggable) \
Tadashi G. Takaokaefe126a2018-02-12 11:25:46 -080027 $(call all-named-files-under,Components.java, appDisplaySize) \
Tadashi G. Takaoka7806c962018-02-12 15:34:29 -080028 $(call all-named-files-under,Components.java, appSecondUid) \
29 $(call all-named-files-under,Components.java, appThirdUid) \
Filip Gruszczynskibef1b5c2015-11-24 18:25:08 -080030
Tadashi G. Takaoka50224e92017-10-30 17:20:50 +090031LOCAL_STATIC_JAVA_LIBRARIES := \
32 android-support-test \
33 cts-amwm-util \
Steven Timotius25a4cf62017-08-29 10:21:28 -070034 cts-display-service-app-util
Filip Gruszczynskibef1b5c2015-11-24 18:25:08 -080035
36LOCAL_CTS_TEST_PACKAGE := android.server
37
Stuart Scott2ff78ae2016-02-18 19:25:52 -080038# Tag this module as a cts test artifact
nickrosef1efbc62017-07-05 12:38:06 -070039LOCAL_COMPATIBILITY_SUITE := cts vts general-tests
Filip Gruszczynskibef1b5c2015-11-24 18:25:08 -080040
Steven Timotius25a4cf62017-08-29 10:21:28 -070041include $(BUILD_CTS_PACKAGE)
Filip Gruszczynskibef1b5c2015-11-24 18:25:08 -080042
43# Build the test APKs using their own makefiles
44include $(call all-makefiles-under,$(LOCAL_PATH))