Filip Gruszczynski | bef1b5c | 2015-11-24 18:25:08 -0800 | [diff] [blame] | 1 | # 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 | |
| 15 | LOCAL_PATH := $(call my-dir) |
| 16 | |
| 17 | include $(CLEAR_VARS) |
| 18 | |
Steven Timotius | 25a4cf6 | 2017-08-29 10:21:28 -0700 | [diff] [blame] | 19 | LOCAL_MODULE_TAGS := tests optional |
Filip Gruszczynski | bef1b5c | 2015-11-24 18:25:08 -0800 | [diff] [blame] | 20 | |
| 21 | # Must match the package name in CtsTestCaseList.mk |
Steven Timotius | 25a4cf6 | 2017-08-29 10:21:28 -0700 | [diff] [blame] | 22 | LOCAL_PACKAGE_NAME := CtsActivityManagerDeviceTestCases |
Filip Gruszczynski | bef1b5c | 2015-11-24 18:25:08 -0800 | [diff] [blame] | 23 | |
Tadashi G. Takaoka | 542536c | 2018-02-12 10:30:20 -0800 | [diff] [blame] | 24 | LOCAL_SRC_FILES := \ |
| 25 | $(call all-java-files-under, src) \ |
Tadashi G. Takaoka | a56739d | 2018-02-12 16:47:40 -0800 | [diff] [blame] | 26 | $(call all-named-files-under,Components.java, app) \ |
| 27 | $(call all-named-files-under,Components.java, app27) \ |
Tadashi G. Takaoka | 542536c | 2018-02-12 10:30:20 -0800 | [diff] [blame] | 28 | $(call all-named-files-under,Components.java, appDebuggable) \ |
Tadashi G. Takaoka | efe126a | 2018-02-12 11:25:46 -0800 | [diff] [blame] | 29 | $(call all-named-files-under,Components.java, appDisplaySize) \ |
Tadashi G. Takaoka | 7806c96 | 2018-02-12 15:34:29 -0800 | [diff] [blame] | 30 | $(call all-named-files-under,Components.java, appSecondUid) \ |
| 31 | $(call all-named-files-under,Components.java, appThirdUid) \ |
Tadashi G. Takaoka | 5252665 | 2018-02-12 15:50:17 -0800 | [diff] [blame] | 32 | $(call all-named-files-under,Components.java, translucentapp) \ |
| 33 | $(call all-named-files-under,Components.java, translucentappsdk26) \ |
Filip Gruszczynski | bef1b5c | 2015-11-24 18:25:08 -0800 | [diff] [blame] | 34 | |
Tadashi G. Takaoka | 50224e9 | 2017-10-30 17:20:50 +0900 | [diff] [blame] | 35 | LOCAL_STATIC_JAVA_LIBRARIES := \ |
| 36 | android-support-test \ |
| 37 | cts-amwm-util \ |
Steven Timotius | 25a4cf6 | 2017-08-29 10:21:28 -0700 | [diff] [blame] | 38 | cts-display-service-app-util |
Filip Gruszczynski | bef1b5c | 2015-11-24 18:25:08 -0800 | [diff] [blame] | 39 | |
| 40 | LOCAL_CTS_TEST_PACKAGE := android.server |
| 41 | |
Stuart Scott | 2ff78ae | 2016-02-18 19:25:52 -0800 | [diff] [blame] | 42 | # Tag this module as a cts test artifact |
nickrose | f1efbc6 | 2017-07-05 12:38:06 -0700 | [diff] [blame] | 43 | LOCAL_COMPATIBILITY_SUITE := cts vts general-tests |
Filip Gruszczynski | bef1b5c | 2015-11-24 18:25:08 -0800 | [diff] [blame] | 44 | |
Steven Timotius | 25a4cf6 | 2017-08-29 10:21:28 -0700 | [diff] [blame] | 45 | include $(BUILD_CTS_PACKAGE) |
Filip Gruszczynski | bef1b5c | 2015-11-24 18:25:08 -0800 | [diff] [blame] | 46 | |
| 47 | # Build the test APKs using their own makefiles |
| 48 | include $(call all-makefiles-under,$(LOCAL_PATH)) |