xref: /aosp_15_r20/cts/tests/tests/content/emptytestapp/Android.bp (revision b7c941bb3fa97aba169d73cee0bed2de8ac964bf)
1// Copyright (C) 2017 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_team: "trendy_team_framework_android_packages",
17    default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
20android_test_helper_app {
21    name: "CtsContentEmptyTestApp",
22    defaults: ["cts_defaults"],
23    sdk_version: "current",
24    // tag this module as a cts test artifact
25    test_suites: [
26        "mts",
27        "cts",
28        "general-tests",
29    ],
30    min_sdk_version: "29",
31}
32
33android_test_helper_app {
34    name: "CtsContentLongPackageNameTestApp",
35    defaults: ["cts_defaults"],
36    sdk_version: "current",
37    manifest: "AndroidManifestLongPackageName.xml",
38    // tag this module as a cts test artifact
39    test_suites: [
40        "mts",
41        "cts",
42        "general-tests",
43    ],
44    aaptflags: ["--warn-manifest-validation"],
45}
46
47android_test_helper_app {
48    name: "CtsContentLongSharedUserIdTestApp",
49    defaults: ["cts_defaults"],
50    sdk_version: "current",
51    manifest: "AndroidManifestLongSharedUserId.xml",
52    // tag this module as a cts test artifact
53    test_suites: [
54        "mts",
55        "cts",
56        "general-tests",
57    ],
58    aaptflags: ["--warn-manifest-validation"],
59}
60
61android_test_helper_app {
62    name: "CtsContentMaxPackageNameTestApp",
63    defaults: ["cts_defaults"],
64    sdk_version: "current",
65    manifest: "AndroidManifestMaxPackageName.xml",
66    // tag this module as a cts test artifact
67    test_suites: [
68        "mts",
69        "cts",
70        "general-tests",
71    ],
72}
73
74android_test_helper_app {
75    name: "CtsContentMaxSharedUserIdTestApp",
76    defaults: ["cts_defaults"],
77    sdk_version: "current",
78    manifest: "AndroidManifestMaxSharedUserId.xml",
79    // tag this module as a cts test artifact
80    test_suites: [
81        "mts",
82        "cts",
83        "general-tests",
84    ],
85}
86
87android_test_helper_app {
88    name: "CtsContentLongLabelNameTestApp",
89    defaults: ["cts_defaults"],
90    sdk_version: "current",
91    manifest: "AndroidManifestLongLabelName.xml",
92    // tag this module as a cts test artifact
93    test_suites: [
94        "cts",
95        "general-tests",
96    ],
97    min_sdk_version: "29",
98}
99
100android_test_helper_app {
101    name: "CtsContentNoApplicationTestApp",
102    defaults: ["cts_defaults"],
103    sdk_version: "current",
104    manifest: "AndroidManifestEmpty.xml",
105    // tag this module as a cts test artifact
106    test_suites: [
107        "cts",
108        "general-tests",
109    ],
110    // using 22 (< 23) to avoid soong adds application tag with attr extract-native-libs
111    min_sdk_version: "22",
112    // using 29 (< 30) to allow install an app without application tag
113    target_sdk_version: "29",
114}
115
116android_test_helper_app {
117    name: "CtsContentLongUsesPermissionNameTestApp",
118    defaults: ["cts_defaults"],
119    sdk_version: "current",
120    manifest: "AndroidManifestLongUsesPermissionName.xml",
121    // tag this module as a cts test artifact
122    test_suites: [
123        "cts",
124        "general-tests",
125    ],
126}
127
128android_test_helper_app {
129    name: "CtsContentShellTestApp",
130    defaults: ["cts_defaults"],
131    sdk_version: "current",
132    manifest: "AndroidManifestShell.xml",
133    certificate: "platform",
134    // tag this module as a cts test artifact
135    test_suites: [
136        "cts",
137        "general-tests",
138    ],
139}
140
141android_test_helper_app {
142    name: "CtsTargetSdk23TestApp",
143    defaults: ["cts_defaults"],
144    sdk_version: "current",
145    manifest: "AndroidManifestSdk23.xml",
146    // tag this module as a cts test artifact
147    test_suites: [
148        "cts",
149        "general-tests",
150    ],
151}
152
153android_test_helper_app {
154    name: "CtsTargetSdk24TestApp",
155    defaults: ["cts_defaults"],
156    sdk_version: "current",
157    manifest: "AndroidManifestSdk24.xml",
158    // tag this module as a cts test artifact
159    test_suites: [
160        "cts",
161        "general-tests",
162    ],
163}
164
165android_test_helper_app {
166    name: "CtsContentDeclaringLibrary",
167    defaults: ["cts_defaults"],
168    sdk_version: "current",
169    manifest: "AndroidManifestDeclaringLibrary.xml",
170    // tag this module as a cts test artifact
171    test_suites: [
172        "cts",
173        "general-tests",
174    ],
175}
176
177android_test_helper_app {
178    name: "CtsContentDeclaringStaticLibrary",
179    defaults: ["cts_defaults"],
180    sdk_version: "current",
181    manifest: "AndroidManifestDeclaringStaticLibrary.xml",
182    // tag this module as a cts test artifact
183    test_suites: [
184        "cts",
185        "general-tests",
186    ],
187}
188
189android_test_helper_app {
190    name: "CtsContentDeclaringSdkLibrary",
191    defaults: ["cts_defaults"],
192    sdk_version: "current",
193    manifest: "AndroidManifestDeclaringSdkLibrary.xml",
194    // tag this module as a cts test artifact
195    test_suites: [
196        "cts",
197        "general-tests",
198    ],
199}
200