• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright (C) 2020 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
15android_test_helper_app {
16    name: "CtsAppDataIsolationAppA",
17    defaults: ["cts_support_defaults"],
18    srcs: ["common/src/**/*.java", "AppA/src/**/*.java", "AppA/aidl/**/*.aidl"],
19    sdk_version: "current",
20    static_libs: ["androidx.test.rules", "truth-prebuilt", "testng", "ub-uiautomator"],
21    libs: ["android.test.base.stubs"],
22    // tag this module as a cts test artifact
23    test_suites: [
24        "cts",
25        "vts10",
26        "general-tests",
27    ],
28    certificate: ":cts-testkey1",
29    dex_preopt: {
30        enabled: false,
31    },
32    manifest: "AppA/AndroidManifest.xml",
33}
34
35android_test_helper_app {
36    name: "CtsAppDataIsolationAppSharedA",
37    defaults: ["cts_support_defaults"],
38    srcs: ["common/src/**/*.java", "AppA/src/**/*.java", "AppA/aidl/**/*.aidl"],
39    sdk_version: "current",
40    static_libs: ["androidx.test.rules", "truth-prebuilt", "testng", "ub-uiautomator"],
41    libs: ["android.test.base.stubs"],
42    // tag this module as a cts test artifact
43    test_suites: [
44        "cts",
45        "vts10",
46        "general-tests",
47    ],
48    certificate: ":cts-testkey1",
49    dex_preopt: {
50        enabled: false,
51    },
52    manifest: "AppA/AndroidManifest_shared.xml",
53}
54
55android_test_helper_app {
56    name: "CtsAppDataIsolationAppDirectBootA",
57    defaults: ["cts_support_defaults"],
58    srcs: ["common/src/**/*.java", "AppA/src/**/*.java", "AppA/aidl/**/*.aidl"],
59    sdk_version: "current",
60    static_libs: ["androidx.test.rules", "truth-prebuilt", "testng", "ub-uiautomator"],
61    libs: ["android.test.base.stubs"],
62    // tag this module as a cts test artifact
63    test_suites: [
64        "cts",
65        "vts10",
66        "general-tests",
67    ],
68    certificate: ":cts-testkey1",
69    dex_preopt: {
70        enabled: false,
71    },
72    manifest: "AppA/AndroidManifest_directboot.xml",
73}
74
75android_test_helper_app {
76    name: "CtsAppDataIsolationAppB",
77    defaults: ["cts_support_defaults"],
78    srcs: ["common/src/**/*.java", "AppB/src/**/*.java"],
79    sdk_version: "current",
80    static_libs: ["androidx.test.rules", "truth-prebuilt", "testng"],
81    libs: ["android.test.base.stubs"],
82    // tag this module as a cts test artifact
83    test_suites: [
84        "cts",
85        "vts10",
86        "general-tests",
87    ],
88    certificate: ":cts-testkey1",
89    dex_preopt: {
90        enabled: false,
91    },
92    manifest: "AppB/AndroidManifest.xml",
93}
94
95android_test_helper_app {
96    name: "CtsAppDataIsolationAppSharedB",
97    defaults: ["cts_support_defaults"],
98    srcs: ["common/src/**/*.java", "AppB/src/**/*.java"],
99    sdk_version: "current",
100    static_libs: ["androidx.test.rules", "truth-prebuilt", "testng"],
101    libs: ["android.test.base.stubs"],
102    // tag this module as a cts test artifact
103    test_suites: [
104        "cts",
105        "vts10",
106        "general-tests",
107    ],
108    certificate: ":cts-testkey1",
109    dex_preopt: {
110        enabled: false,
111    },
112    manifest: "AppB/AndroidManifest_shared.xml",
113}