xref: /aosp_15_r20/cts/tests/tests/packageinstaller/test-apps/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: "CtsEmptyTestApp",
22    defaults: ["cts_defaults"],
23    sdk_version: "current",
24    min_sdk_version: "26",
25    // tag this module as a cts test artifact
26    test_suites: [
27        "arcts",
28        "cts",
29        "general-tests",
30        "sts",
31    ],
32    // Generate a locale split.
33    package_splits: ["pl"],
34}
35
36android_test_helper_app {
37    name: "CtsEmptyTestAppV2",
38    resource_dirs: ["res_v2"],
39    manifest: "AndroidManifest_v2.xml",
40    defaults: ["cts_defaults"],
41    sdk_version: "current",
42    min_sdk_version: "23",
43    // tag this module as a cts test artifact
44    test_suites: [
45        "arcts",
46        "cts",
47        "general-tests",
48        "sts",
49    ],
50}
51
52android_test_helper_app {
53    name: "CtsEmptyTestApp_FullScreenIntent",
54    defaults: ["cts_defaults"],
55    manifest: "AndroidManifest_FullScreenIntent.xml",
56    sdk_version: "current",
57    // tag this module as a cts test artifact
58    test_suites: [
59        "cts",
60        "general-tests",
61    ],
62}
63
64android_test_helper_app {
65    name: "CtsEmptyTestApp_AppMetadataInApk",
66    resource_dirs: [
67        "res",
68        "app_metadata_res",
69    ],
70    defaults: ["cts_defaults"],
71    manifest: "AndroidManifest_AslInApk.xml",
72    sdk_version: "current",
73    // tag this module as a cts test artifact
74    test_suites: [
75        "cts",
76        "general-tests",
77    ],
78}
79
80android_test_helper_app {
81    name: "CtsEmptyTestApp_AppMetadataInApk_ExceedSizeLimit",
82    resource_dirs: [
83        "res",
84        "bad_app_metadata_res",
85    ],
86    defaults: ["cts_defaults"],
87    manifest: "AndroidManifest_AslInApk_ExceedSizeLimit.xml",
88    sdk_version: "current",
89    // tag this module as a cts test artifact
90    test_suites: [
91        "cts",
92        "general-tests",
93    ],
94}
95
96android_test_helper_app {
97    name: "CtsEmptyTestApp_RejectedByVerifier",
98    defaults: ["cts_defaults"],
99    target_sdk_version: "18",
100    manifest: "AndroidManifest_RejectedByVerifier.xml",
101    // tag this module as a cts test artifact
102    test_suites: [
103        "arcts",
104        "cts",
105        "general-tests",
106        "sts",
107    ],
108}
109