xref: /aosp_15_r20/cts/tests/tests/appenumeration/app/source/Android.bp (revision b7c941bb3fa97aba169d73cee0bed2de8ac964bf)
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
15package {
16    default_team: "trendy_team_framework_android_packages",
17    default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
20java_defaults {
21    name: "CtsAppEnumerationQueriesDefaults",
22    defaults: ["cts_support_defaults"],
23    srcs: ["src/**/*.java"],
24    static_libs: ["CtsAppEnumerationTestLib"],
25    sdk_version: "test_current",
26}
27
28android_test_helper_app {
29    name: "CtsAppEnumerationQueriesNothing",
30    manifest: "AndroidManifest-queriesNothing.xml",
31    defaults: ["CtsAppEnumerationQueriesDefaults"],
32    // Tag this module as a cts test artifact
33    test_suites: [
34        "cts",
35        "general-tests",
36    ],
37}
38
39android_test_helper_app {
40    name: "CtsAppEnumerationQueriesNothingReceivesUri",
41    manifest: "AndroidManifest-queriesNothing-receivesUri.xml",
42    defaults: ["CtsAppEnumerationQueriesDefaults"],
43    // Tag this module as a cts test artifact
44    test_suites: [
45        "cts",
46        "general-tests",
47    ],
48}
49
50android_test_helper_app {
51    name: "CtsAppEnumerationQueriesNothingReceivesPermissionProtectedUri",
52    manifest: "AndroidManifest-queriesNothing-receivesPermissionProtectedUri.xml",
53    defaults: ["CtsAppEnumerationQueriesDefaults"],
54    // Tag this module as a cts test artifact
55    test_suites: [
56        "cts",
57        "general-tests",
58    ],
59}
60
61android_test_helper_app {
62    name: "CtsAppEnumerationQueriesNothingReceivesPersistableUri",
63    manifest: "AndroidManifest-queriesNothing-receivesPersistableUri.xml",
64    defaults: ["CtsAppEnumerationQueriesDefaults"],
65    // Tag this module as a cts test artifact
66    test_suites: [
67        "cts",
68        "general-tests",
69    ],
70}
71
72android_test_helper_app {
73    name: "CtsAppEnumerationQueriesNothingReceivesNonPersistableUri",
74    manifest: "AndroidManifest-queriesNothing-receivesNonPersistableUri.xml",
75    defaults: ["CtsAppEnumerationQueriesDefaults"],
76    // Tag this module as a cts test artifact
77    test_suites: [
78        "cts",
79        "general-tests",
80    ],
81}
82
83android_test_helper_app {
84    name: "CtsAppEnumerationQueriesNothingSeesInstaller",
85    manifest: "AndroidManifest-queriesNothing-seesInstaller.xml",
86    defaults: ["CtsAppEnumerationQueriesDefaults"],
87    // Tag this module as a cts test artifact
88    test_suites: [
89        "cts",
90        "general-tests",
91    ],
92}
93
94android_test_helper_app {
95    name: "CtsAppEnumerationQueriesActivityViaAction",
96    manifest: "AndroidManifest-queriesActivityAction.xml",
97    defaults: ["CtsAppEnumerationQueriesDefaults"],
98    // Tag this module as a cts test artifact
99    test_suites: [
100        "cts",
101        "general-tests",
102    ],
103}
104
105android_test_helper_app {
106    name: "CtsAppEnumerationQueriesServiceViaAction",
107    manifest: "AndroidManifest-queriesServiceAction.xml",
108    defaults: ["CtsAppEnumerationQueriesDefaults"],
109    // Tag this module as a cts test artifact
110    test_suites: [
111        "cts",
112        "general-tests",
113    ],
114}
115
116android_test_helper_app {
117    name: "CtsAppEnumerationQueriesProviderViaAuthority",
118    manifest: "AndroidManifest-queriesProviderAuthority.xml",
119    defaults: ["CtsAppEnumerationQueriesDefaults"],
120    // Tag this module as a cts test artifact
121    test_suites: [
122        "cts",
123        "general-tests",
124    ],
125}
126
127android_test_helper_app {
128    name: "CtsAppEnumerationQueriesProviderViaAction",
129    manifest: "AndroidManifest-queriesProviderAction.xml",
130    defaults: ["CtsAppEnumerationQueriesDefaults"],
131    // Tag this module as a cts test artifact
132    test_suites: [
133        "cts",
134        "general-tests",
135    ],
136}
137
138android_test_helper_app {
139    name: "CtsAppEnumerationQueriesUnexportedActivityViaAction",
140    manifest: "AndroidManifest-queriesUnexportedActivityAction.xml",
141    defaults: ["CtsAppEnumerationQueriesDefaults"],
142    // Tag this module as a cts test artifact
143    test_suites: [
144        "cts",
145        "general-tests",
146    ],
147}
148
149android_test_helper_app {
150    name: "CtsAppEnumerationQueriesUnexportedServiceViaAction",
151    manifest: "AndroidManifest-queriesUnexportedServiceAction.xml",
152    defaults: ["CtsAppEnumerationQueriesDefaults"],
153    // Tag this module as a cts test artifact
154    test_suites: [
155        "cts",
156        "general-tests",
157    ],
158}
159
160android_test_helper_app {
161    name: "CtsAppEnumerationQueriesUnexportedProviderViaAuthority",
162    manifest: "AndroidManifest-queriesUnexportedProviderAuthority.xml",
163    defaults: ["CtsAppEnumerationQueriesDefaults"],
164    // Tag this module as a cts test artifact
165    test_suites: [
166        "cts",
167        "general-tests",
168    ],
169}
170
171android_test_helper_app {
172    name: "CtsAppEnumerationQueriesUnexportedProviderViaAction",
173    manifest: "AndroidManifest-queriesUnexportedProviderAction.xml",
174    defaults: ["CtsAppEnumerationQueriesDefaults"],
175    // Tag this module as a cts test artifact
176    test_suites: [
177        "cts",
178        "general-tests",
179    ],
180}
181
182android_test_helper_app {
183    name: "CtsAppEnumerationQueriesPackage",
184    manifest: "AndroidManifest-queriesPackage.xml",
185    defaults: ["CtsAppEnumerationQueriesDefaults"],
186    // Tag this module as a cts test artifact
187    test_suites: [
188        "cts",
189        "general-tests",
190    ],
191}
192
193android_test_helper_app {
194    name: "CtsAppEnumerationQueriesPackageHasProvider",
195    manifest: "AndroidManifest-queriesPackage-hasProvider.xml",
196    defaults: ["CtsAppEnumerationQueriesDefaults"],
197    // Tag this module as a cts test artifact
198    test_suites: [
199        "cts",
200        "general-tests",
201    ],
202}
203
204android_test_helper_app {
205    name: "CtsAppEnumerationQueriesNothingTargetsQ",
206    manifest: "AndroidManifest-queriesNothing-targetsQ.xml",
207    defaults: ["CtsAppEnumerationQueriesDefaults"],
208    // Tag this module as a cts test artifact
209    test_suites: [
210        "cts",
211        "general-tests",
212    ],
213}
214
215android_test_helper_app {
216    name: "CtsAppEnumerationQueriesNothingHasPermission",
217    manifest: "AndroidManifest-queriesNothing-hasPermission.xml",
218    defaults: ["CtsAppEnumerationQueriesDefaults"],
219    // Tag this module as a cts test artifact
220    test_suites: [
221        "cts",
222        "general-tests",
223    ],
224}
225
226android_test_helper_app {
227    name: "CtsAppEnumerationQueriesNothingUsesLibrary",
228    manifest: "AndroidManifest-queriesNothing-usesLibrary.xml",
229    defaults: ["CtsAppEnumerationQueriesDefaults"],
230    // Tag this module as a cts test artifact
231    test_suites: [
232        "cts",
233        "general-tests",
234    ],
235}
236
237android_test_helper_app {
238    name: "CtsAppEnumerationQueriesNothingUsesOptionalLibrary",
239    manifest: "AndroidManifest-queriesNothing-usesOptionalLibrary.xml",
240    defaults: ["CtsAppEnumerationQueriesDefaults"],
241    // Tag this module as a cts test artifact
242    test_suites: [
243        "cts",
244        "general-tests",
245    ],
246}
247
248android_test_helper_app {
249    name: "CtsAppEnumerationQueriesNothingHasProvider",
250    manifest: "AndroidManifest-queriesNothing-hasProvider.xml",
251    defaults: ["CtsAppEnumerationQueriesDefaults"],
252    // Tag this module as a cts test artifact
253    test_suites: [
254        "cts",
255        "general-tests",
256    ],
257}
258
259android_test_helper_app {
260    name: "CtsAppEnumerationSharedUidSource",
261    manifest: "AndroidManifest-queriesNothing-sharedUser.xml",
262    defaults: ["CtsAppEnumerationQueriesDefaults"],
263    // Tag this module as a cts test artifact
264    test_suites: [
265        "cts",
266        "general-tests",
267    ],
268}
269
270android_test_helper_app {
271    name: "CtsAppEnumerationWildcardActionSource",
272    manifest: "AndroidManifest-queriesWildcardAction.xml",
273    defaults: ["CtsAppEnumerationQueriesDefaults"],
274    // Tag this module as a cts test artifact
275    test_suites: [
276        "cts",
277        "general-tests",
278    ],
279}
280
281android_test_helper_app {
282    name: "CtsAppEnumerationWildcardBrowsableActivitySource",
283    manifest: "AndroidManifest-queriesWildcard-browsableActivity.xml",
284    defaults: ["CtsAppEnumerationQueriesDefaults"],
285    // Tag this module as a cts test artifact
286    test_suites: [
287        "cts",
288        "general-tests",
289    ],
290}
291
292android_test_helper_app {
293    name: "CtsAppEnumerationWildcardContactsActivitySource",
294    manifest: "AndroidManifest-queriesWildcard-contactsActivity.xml",
295    defaults: ["CtsAppEnumerationQueriesDefaults"],
296    // Tag this module as a cts test artifact
297    test_suites: [
298        "cts",
299        "general-tests",
300    ],
301}
302
303android_test_helper_app {
304    name: "CtsAppEnumerationWildcardDocumentEditorActivitySource",
305    manifest: "AndroidManifest-queriesWildcard-documentEditorActivity.xml",
306    defaults: ["CtsAppEnumerationQueriesDefaults"],
307    // Tag this module as a cts test artifact
308    test_suites: [
309        "cts",
310        "general-tests",
311    ],
312}
313
314android_test_helper_app {
315    name: "CtsAppEnumerationWildcardShareActivitySource",
316    manifest: "AndroidManifest-queriesWildcard-shareActivity.xml",
317    defaults: ["CtsAppEnumerationQueriesDefaults"],
318    // Tag this module as a cts test artifact
319    test_suites: [
320        "cts",
321        "general-tests",
322    ],
323}
324
325android_test_helper_app {
326    name: "CtsAppEnumerationWildcardWebActivitySource",
327    manifest: "AndroidManifest-queriesWildcard-webActivity.xml",
328    defaults: ["CtsAppEnumerationQueriesDefaults"],
329    // Tag this module as a cts test artifact
330    test_suites: [
331        "cts",
332        "general-tests",
333    ],
334}
335
336android_test_helper_app {
337    name: "CtsAppEnumerationWildcardBrowserActivitySource",
338    manifest: "AndroidManifest-queriesWildcard-browserActivity.xml",
339    defaults: ["CtsAppEnumerationQueriesDefaults"],
340    // Tag this module as a cts test artifact
341    test_suites: [
342        "cts",
343        "general-tests",
344    ],
345}
346