• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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        "cts",
35        "general-tests",
36        "mts-permission",
37    ],
38    platform_apis: true,
39    manifest: "fullbackup/AndroidManifest.xml",
40}
41
42android_test_helper_app {
43    name: "CtsKeyValueBackupApp",
44    defaults: [
45        "cts_support_defaults",
46        "mts-target-sdk-version-current",
47    ],
48    min_sdk_version: "30",
49    // Tag this module as a cts test artifact
50    srcs: [
51        "src/**/*.java",
52    ],
53    static_libs: [
54        "compatibility-device-util-axt",
55        "ctstestrunner-axt",
56    ],
57    test_suites: [
58        "cts",
59        "general-tests",
60        "mts-permission",
61    ],
62    platform_apis: true,
63    manifest: "keyvalue/AndroidManifest.xml",
64}
65
66android_test_helper_app {
67    name: "CtsPermissionBackupApp",
68    defaults: [
69        "cts_support_defaults",
70        "mts-target-sdk-version-current",
71    ],
72    min_sdk_version: "30",
73    // Tag this module as a cts test artifact
74    srcs: [
75        "src/**/*.java",
76    ],
77    static_libs: [
78        "compatibility-device-util-axt",
79        "ctstestrunner-axt",
80    ],
81    test_suites: [
82        "cts",
83        "general-tests",
84        "mts-permission",
85    ],
86    platform_apis: true,
87    manifest: "permission/AndroidManifest.xml",
88}
89
90android_test_helper_app {
91    name: "CtsPermissionBackupApp22",
92    defaults: ["cts_support_defaults"],
93    min_sdk_version: "22",
94    target_sdk_version: "22",
95    srcs: [
96        "src/**/*.java",
97    ],
98    static_libs: [
99        "compatibility-device-util-axt",
100        "ctstestrunner-axt",
101    ],
102    // Tag this module as a cts test artifact
103    test_suites: [
104        "cts",
105        "general-tests",
106        "mts-permission",
107    ],
108    platform_apis: true,
109    manifest: "permission22/AndroidManifest.xml",
110}
111
112android_test_helper_app {
113    name: "CtsAppLocalesBackupApp1",
114    defaults: [
115        "cts_support_defaults",
116        "mts-target-sdk-version-current",
117    ],
118    min_sdk_version: "30",
119    srcs: [
120        "src/**/*.java",
121    ],
122    static_libs: [
123        "compatibility-device-util-axt",
124        "ctstestrunner-axt",
125    ],
126    // Tag this module as a cts test artifact
127    test_suites: [
128        "cts",
129        "general-tests",
130        "mts",
131    ],
132    platform_apis: true,
133    manifest: "AppLocalesBackupApp1/AndroidManifest.xml",
134}
135
136android_test_helper_app {
137    name: "CtsAppLocalesBackupApp2",
138    defaults: [
139        "cts_support_defaults",
140        "mts-target-sdk-version-current",
141    ],
142    min_sdk_version: "30",
143    srcs: [
144        "src/**/*.java",
145    ],
146    static_libs: [
147        "compatibility-device-util-axt",
148        "ctstestrunner-axt",
149    ],
150    // Tag this module as a cts test artifact
151    test_suites: [
152        "cts",
153        "general-tests",
154        "mts",
155    ],
156    platform_apis: true,
157    manifest: "AppLocalesBackupApp2/AndroidManifest.xml",
158}
159