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 15package { 16 default_applicable_licenses: ["Android-Apache-2.0"], 17} 18 19android_test_helper_app { 20 name: "CtsAppDataIsolationAppA", 21 defaults: ["cts_support_defaults"], 22 srcs: ["common/src/**/*.java", "AppA/src/**/*.java", "AppA/aidl/**/*.aidl"], 23 sdk_version: "test_current", 24 static_libs: ["androidx.test.rules", "truth-prebuilt", "testng", "ub-uiautomator", "compatibility-device-util-axt"], 25 libs: ["android.test.base"], 26 // tag this module as a cts test artifact 27 test_suites: [ 28 "cts", 29 "general-tests", 30 ], 31 certificate: ":cts-testkey1", 32 dex_preopt: { 33 enabled: false, 34 }, 35 manifest: "AppA/AndroidManifest.xml", 36} 37 38android_test_helper_app { 39 name: "CtsAppDataIsolationAppSharedA", 40 defaults: ["cts_support_defaults"], 41 srcs: ["common/src/**/*.java", "AppA/src/**/*.java", "AppA/aidl/**/*.aidl"], 42 sdk_version: "test_current", 43 static_libs: ["androidx.test.rules", "truth-prebuilt", "testng", "ub-uiautomator", "compatibility-device-util-axt"], 44 libs: ["android.test.base"], 45 // tag this module as a cts test artifact 46 test_suites: [ 47 "cts", 48 "general-tests", 49 ], 50 certificate: ":cts-testkey1", 51 dex_preopt: { 52 enabled: false, 53 }, 54 manifest: "AppA/AndroidManifest_shared.xml", 55} 56 57android_test_helper_app { 58 name: "CtsAppDataIsolationAppDirectBootA", 59 defaults: ["cts_support_defaults"], 60 srcs: ["common/src/**/*.java", "AppA/src/**/*.java", "AppA/aidl/**/*.aidl"], 61 sdk_version: "test_current", 62 static_libs: ["androidx.test.rules", "truth-prebuilt", "testng", "ub-uiautomator", "compatibility-device-util-axt"], 63 libs: ["android.test.base"], 64 // tag this module as a cts test artifact 65 test_suites: [ 66 "cts", 67 "general-tests", 68 ], 69 certificate: ":cts-testkey1", 70 dex_preopt: { 71 enabled: false, 72 }, 73 manifest: "AppA/AndroidManifest_directboot.xml", 74} 75 76android_test_helper_app { 77 name: "CtsAppDataIsolationAppApi29A", 78 defaults: ["cts_support_defaults"], 79 srcs: ["common/src/**/*.java", "AppA/src/**/*.java", "AppA/aidl/**/*.aidl"], 80 sdk_version: "test_current", 81 static_libs: ["androidx.test.rules", "truth-prebuilt", "testng", "ub-uiautomator", "compatibility-device-util-axt"], 82 libs: ["android.test.base"], 83 // tag this module as a cts test artifact 84 test_suites: [ 85 "cts", 86 "general-tests", 87 ], 88 certificate: ":cts-testkey1", 89 dex_preopt: { 90 enabled: false, 91 }, 92 manifest: "AppA/AndroidManifest_api29.xml", 93} 94 95android_test_helper_app { 96 name: "CtsAppDataIsolationAppB", 97 defaults: ["cts_support_defaults"], 98 srcs: ["common/src/**/*.java", "AppB/src/**/*.java"], 99 sdk_version: "test_current", 100 static_libs: ["androidx.test.rules", "truth-prebuilt", "testng", "ub-uiautomator", "compatibility-device-util-axt"], 101 libs: ["android.test.base"], 102 // tag this module as a cts test artifact 103 test_suites: [ 104 "cts", 105 "general-tests", 106 ], 107 certificate: ":cts-testkey1", 108 dex_preopt: { 109 enabled: false, 110 }, 111 manifest: "AppB/AndroidManifest.xml", 112} 113 114android_test_helper_app { 115 name: "CtsAppDataIsolationAppSharedB", 116 defaults: ["cts_support_defaults"], 117 srcs: ["common/src/**/*.java", "AppB/src/**/*.java"], 118 sdk_version: "test_current", 119 static_libs: ["androidx.test.rules", "truth-prebuilt", "testng", "compatibility-device-util-axt"], 120 libs: ["android.test.base"], 121 // tag this module as a cts test artifact 122 test_suites: [ 123 "cts", 124 "general-tests", 125 ], 126 certificate: ":cts-testkey1", 127 dex_preopt: { 128 enabled: false, 129 }, 130 manifest: "AppB/AndroidManifest_shared.xml", 131} 132