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 |
Anton Hansson | 6a116ec | 2018-02-22 14:33:32 +0000 | [diff] [blame] | 23 | LOCAL_PRIVATE_PLATFORM_APIS := true |
Filip Gruszczynski | bef1b5c | 2015-11-24 18:25:08 -0800 | [diff] [blame] | 24 | |
Tadashi G. Takaoka | 542536c | 2018-02-12 10:30:20 -0800 | [diff] [blame] | 25 | LOCAL_SRC_FILES := \ |
| 26 | $(call all-java-files-under, src) \ |
Tadashi G. Takaoka | a56739d | 2018-02-12 16:47:40 -0800 | [diff] [blame] | 27 | $(call all-named-files-under,Components.java, app) \ |
| 28 | $(call all-named-files-under,Components.java, app27) \ |
Tadashi G. Takaoka | 542536c | 2018-02-12 10:30:20 -0800 | [diff] [blame] | 29 | $(call all-named-files-under,Components.java, appDebuggable) \ |
Tadashi G. Takaoka | 64213cd | 2018-02-22 17:43:19 +0900 | [diff] [blame] | 30 | $(call all-named-files-under,Components.java, appDeprecatedSdk) \ |
Tadashi G. Takaoka | efe126a | 2018-02-12 11:25:46 -0800 | [diff] [blame] | 31 | $(call all-named-files-under,Components.java, appDisplaySize) \ |
Tadashi G. Takaoka | 92833ec | 2018-02-22 18:25:38 +0900 | [diff] [blame] | 32 | $(call all-named-files-under,Components.java, appPrereleaseSdk) \ |
Tadashi G. Takaoka | 7806c96 | 2018-02-12 15:34:29 -0800 | [diff] [blame] | 33 | $(call all-named-files-under,Components.java, appSecondUid) \ |
| 34 | $(call all-named-files-under,Components.java, appThirdUid) \ |
Tadashi G. Takaoka | 5252665 | 2018-02-12 15:50:17 -0800 | [diff] [blame] | 35 | $(call all-named-files-under,Components.java, translucentapp) \ |
| 36 | $(call all-named-files-under,Components.java, translucentappsdk26) \ |
Filip Gruszczynski | bef1b5c | 2015-11-24 18:25:08 -0800 | [diff] [blame] | 37 | |
Tadashi G. Takaoka | 50224e9 | 2017-10-30 17:20:50 +0900 | [diff] [blame] | 38 | LOCAL_STATIC_JAVA_LIBRARIES := \ |
Brett Chabot | 0146627 | 2019-03-06 15:52:42 -0800 | [diff] [blame] | 39 | androidx.test.rules hamcrest-library \ |
Tadashi G. Takaoka | 573cfa4 | 2018-03-06 12:51:21 +0900 | [diff] [blame] | 40 | cts-amwm-util |
Filip Gruszczynski | bef1b5c | 2015-11-24 18:25:08 -0800 | [diff] [blame] | 41 | |
| 42 | LOCAL_CTS_TEST_PACKAGE := android.server |
| 43 | |
Stuart Scott | 2ff78ae | 2016-02-18 19:25:52 -0800 | [diff] [blame] | 44 | # Tag this module as a cts test artifact |
nickrose | f1efbc6 | 2017-07-05 12:38:06 -0700 | [diff] [blame] | 45 | LOCAL_COMPATIBILITY_SUITE := cts vts general-tests |
Filip Gruszczynski | bef1b5c | 2015-11-24 18:25:08 -0800 | [diff] [blame] | 46 | |
Steven Timotius | 25a4cf6 | 2017-08-29 10:21:28 -0700 | [diff] [blame] | 47 | include $(BUILD_CTS_PACKAGE) |
Filip Gruszczynski | bef1b5c | 2015-11-24 18:25:08 -0800 | [diff] [blame] | 48 | |
| 49 | # Build the test APKs using their own makefiles |
| 50 | include $(call all-makefiles-under,$(LOCAL_PATH)) |