1// Copyright (C) 2019 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: "CtsFullBackupApp",
21    defaults: [
22        "cts_support_defaults",
23        "mts-target-sdk-version-current",
24    ],
25    min_sdk_version: "30",
26    srcs: [
27        "src/**/*.java",
28    ],
29    static_libs: [
30        "compatibility-device-util-axt",
31        "ctstestrunner-axt",
32    ],
33    test_suites: [
34        "general-tests",
35        "mts-permission",
36    ],
37    platform_apis: true,
38    manifest: "fullbackup/AndroidManifest.xml",
39}
40
41android_test_helper_app {
42    name: "CtsKeyValueBackupApp",
43    defaults: [
44        "cts_support_defaults",
45        "mts-target-sdk-version-current",
46    ],
47    min_sdk_version: "30",
48    // Tag this module as a cts test artifact
49    srcs: [
50        "src/**/*.java",
51    ],
52    static_libs: [
53        "compatibility-device-util-axt",
54        "ctstestrunner-axt",
55    ],
56    test_suites: [
57        "general-tests",
58        "mts-permission",
59    ],
60    platform_apis: true,
61    manifest: "keyvalue/AndroidManifest.xml",
62}
63
64android_test_helper_app {
65    name: "CtsPermissionBackupApp",
66    defaults: [
67        "cts_support_defaults",
68        "mts-target-sdk-version-current",
69    ],
70    min_sdk_version: "30",
71    // Tag this module as a cts test artifact
72    srcs: [
73        "src/**/*.java",
74    ],
75    static_libs: [
76        "compatibility-device-util-axt",
77        "ctstestrunner-axt",
78    ],
79    test_suites: [
80        "general-tests",
81        "mts-permission",
82    ],
83    platform_apis: true,
84    manifest: "permission/AndroidManifest.xml",
85}
86
87android_test_helper_app {
88    name: "CtsPermissionBackupApp22",
89    defaults: ["cts_support_defaults"],
90    min_sdk_version: "22",
91    target_sdk_version: "22",
92    srcs: [
93        "src/**/*.java",
94    ],
95    static_libs: [
96        "compatibility-device-util-axt",
97        "ctstestrunner-axt",
98    ],
99    // Tag this module as a cts test artifact
100    test_suites: [
101        "general-tests",
102        "mts-permission",
103    ],
104    platform_apis: true,
105    manifest: "permission22/AndroidManifest.xml",
106}
107
108android_test_helper_app {
109    name: "CtsAppLocalesBackupApp1",
110    defaults: [
111        "cts_support_defaults",
112        "mts-target-sdk-version-current",
113    ],
114    min_sdk_version: "30",
115    srcs: [
116        "src/**/*.java",
117    ],
118    static_libs: [
119        "compatibility-device-util-axt",
120        "ctstestrunner-axt",
121    ],
122    // Tag this module as a cts test artifact
123    test_suites: [
124        "general-tests",
125        "mts",
126    ],
127    resource_dirs: ["AppLocalesBackupApp1/res"],
128    platform_apis: true,
129    manifest: "AppLocalesBackupApp1/AndroidManifest.xml",
130}
131
132android_test_helper_app {
133    name: "CtsAppLocalesBackupApp2",
134    defaults: [
135        "cts_support_defaults",
136        "mts-target-sdk-version-current",
137    ],
138    min_sdk_version: "30",
139    srcs: [
140        "src/**/*.java",
141    ],
142    static_libs: [
143        "compatibility-device-util-axt",
144        "ctstestrunner-axt",
145    ],
146    // Tag this module as a cts test artifact
147    test_suites: [
148        "general-tests",
149        "mts",
150    ],
151    resource_dirs: ["AppLocalesBackupApp2/res"],
152    platform_apis: true,
153    manifest: "AppLocalesBackupApp2/AndroidManifest.xml",
154}
155
156android_test_helper_app {
157    name: "CtsBackupRestoreEventLoggerApp",
158    defaults: [
159        "cts_support_defaults",
160        "mts-target-sdk-version-current",
161    ],
162    min_sdk_version: "30",
163    target_sdk_version: "34",
164    srcs: [
165        "src/**/*.java",
166    ],
167    static_libs: [
168        "compatibility-device-util-axt",
169        "ctstestrunner-axt",
170    ],
171    // Tag this module as a cts test artifact
172    test_suites: [
173        "general-tests",
174        "mts",
175    ],
176    platform_apis: true,
177    manifest: "BackupRestoreEventLoggerApp/AndroidManifest.xml",
178}
179