1// Copyright (C) 2016 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
15package {
16    default_applicable_licenses: ["Android-Apache-2.0"],
17}
18
19android_test_helper_app {
20    name: "CtsDeviceAndProfileOwnerApp23",
21    defaults: ["cts_defaults"],
22    platform_apis: true,
23    srcs: ["src/**/*.java"],
24    libs: [
25        "android.test.runner",
26        "android.test.base",
27    ],
28    static_libs: [
29        "compatibility-device-util-axt",
30        "ctstestrunner-axt",
31        "androidx.test.uiautomator_uiautomator",
32        "cts-security-test-support-library",
33        "androidx.legacy_legacy-support-v4",
34        "cts-devicepolicy-suspensionchecker",
35        "devicepolicy-deviceside-common",
36        "ShortcutManagerTestUtils",
37        "MetricsRecorder",
38        "statsdprotolite",
39        "cts-keystore-test-util",
40    ],
41    resource_dirs: ["res"],
42    asset_dirs: ["assets"],
43    // tag this module as a cts test artifact
44    test_suites: [
45        "cts",
46        "general-tests",
47        "mts-permission",
48    ],
49    manifest: "api23/AndroidManifest.xml",
50}
51
52android_test_helper_app {
53    name: "CtsDeviceAndProfileOwnerApp25",
54    defaults: ["cts_defaults"],
55    platform_apis: true,
56    min_sdk_version: "30",
57    target_sdk_version: "25",
58    srcs: ["src/**/*.java"],
59    libs: [
60        "android.test.runner",
61        "android.test.base",
62    ],
63    static_libs: [
64        "compatibility-device-util-axt",
65        "ctstestrunner-axt",
66        "androidx.test.uiautomator_uiautomator",
67        "cts-security-test-support-library",
68        "androidx.legacy_legacy-support-v4",
69        "cts-devicepolicy-suspensionchecker",
70        "devicepolicy-deviceside-common",
71        "ShortcutManagerTestUtils",
72        "MetricsRecorder",
73        "statsdprotolite",
74        "cts-keystore-test-util",
75    ],
76    resource_dirs: ["res"],
77    asset_dirs: ["assets"],
78    // tag this module as a cts test artifact
79    test_suites: [
80        "arcts",
81        "cts",
82        "general-tests",
83        "mts-permission",
84    ],
85    manifest: "api25/AndroidManifest.xml",
86}
87
88android_test_helper_app {
89    name: "CtsDeviceAndProfileOwnerApp30",
90    defaults: ["cts_defaults"],
91    platform_apis: true,
92    srcs: ["src/**/*.java"],
93    libs: [
94        "android.test.runner",
95        "android.test.base",
96    ],
97    static_libs: [
98        "compatibility-device-util-axt",
99        "ctstestrunner-axt",
100        "androidx.test.uiautomator_uiautomator",
101        "cts-security-test-support-library",
102        "androidx.legacy_legacy-support-v4",
103        "cts-devicepolicy-suspensionchecker",
104        "devicepolicy-deviceside-common",
105        "ShortcutManagerTestUtils",
106        "MetricsRecorder",
107        "statsdprotolite",
108        "cts-keystore-test-util",
109    ],
110    resource_dirs: ["res"],
111    asset_dirs: ["assets"],
112    // tag this module as a cts test artifact
113    test_suites: [
114        "arcts",
115        "cts",
116        "general-tests",
117        "mts-permission",
118    ],
119    manifest: "api30/AndroidManifest.xml",
120}
121
122android_test_helper_app {
123    name: "CtsDeviceAndProfileOwnerApp",
124    defaults: [
125        "cts_defaults",
126        "mts-target-sdk-version-current",
127    ],
128    platform_apis: true,
129    min_sdk_version: "30",
130    srcs: ["src/**/*.java"],
131    libs: [
132        "android.test.runner",
133        "android.test.base",
134    ],
135    static_libs: [
136        "compatibility-device-util-axt",
137        "ctstestrunner-axt",
138        "androidx.test.uiautomator_uiautomator",
139        "cts-security-test-support-library",
140        "androidx.legacy_legacy-support-v4",
141        "cts-devicepolicy-suspensionchecker",
142        "devicepolicy-deviceside-common",
143        "ShortcutManagerTestUtils",
144        "MetricsRecorder",
145        "statsdprotolite",
146        "cts-keystore-test-util",
147    ],
148    resource_dirs: ["res"],
149    asset_dirs: ["assets"],
150    // tag this module as a cts test artifact
151    test_suites: [
152        "arcts",
153        "cts",
154        "general-tests",
155        "mts-permission",
156    ],
157    manifest: "latest/AndroidManifest.xml",
158}
159