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",
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",
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",
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",
107    ],
108    platform_apis: true,
109    manifest: "permission22/AndroidManifest.xml"
110}
111