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_team: "trendy_team_responsible_apis", 17 default_applicable_licenses: ["Android-Apache-2.0"], 18} 19 20android_test_helper_app { 21 name: "CtsAppDataIsolationAppA", 22 defaults: ["cts_support_defaults"], 23 srcs: [ 24 "common/src/**/*.java", 25 "AppA/src/**/*.java", 26 "AppA/aidl/**/*.aidl", 27 ], 28 sdk_version: "test_current", 29 static_libs: [ 30 "androidx.test.rules", 31 "androidx.test.uiautomator_uiautomator", 32 "truth", 33 "testng", 34 "compatibility-device-util-axt", 35 ], 36 libs: ["android.test.base"], 37 // tag this module as a cts test artifact 38 test_suites: [ 39 "cts", 40 "general-tests", 41 ], 42 certificate: ":cts-testkey1", 43 dex_preopt: { 44 enabled: false, 45 }, 46 manifest: "AppA/AndroidManifest.xml", 47} 48 49android_test_helper_app { 50 name: "CtsAppDataIsolationAppSharedA", 51 defaults: ["cts_support_defaults"], 52 srcs: [ 53 "common/src/**/*.java", 54 "AppA/src/**/*.java", 55 "AppA/aidl/**/*.aidl", 56 ], 57 sdk_version: "test_current", 58 static_libs: [ 59 "androidx.test.rules", 60 "androidx.test.uiautomator_uiautomator", 61 "truth", 62 "testng", 63 "compatibility-device-util-axt", 64 ], 65 libs: ["android.test.base"], 66 // tag this module as a cts test artifact 67 test_suites: [ 68 "cts", 69 "general-tests", 70 ], 71 certificate: ":cts-testkey1", 72 dex_preopt: { 73 enabled: false, 74 }, 75 manifest: "AppA/AndroidManifest_shared.xml", 76} 77 78android_test_helper_app { 79 name: "CtsAppDataIsolationAppDirectBootA", 80 defaults: ["cts_support_defaults"], 81 srcs: [ 82 "common/src/**/*.java", 83 "AppA/src/**/*.java", 84 "AppA/aidl/**/*.aidl", 85 ], 86 sdk_version: "test_current", 87 static_libs: [ 88 "androidx.test.rules", 89 "androidx.test.uiautomator_uiautomator", 90 "truth", 91 "testng", 92 "compatibility-device-util-axt", 93 ], 94 libs: ["android.test.base"], 95 // tag this module as a cts test artifact 96 test_suites: [ 97 "cts", 98 "general-tests", 99 ], 100 certificate: ":cts-testkey1", 101 dex_preopt: { 102 enabled: false, 103 }, 104 manifest: "AppA/AndroidManifest_directboot.xml", 105} 106 107android_test_helper_app { 108 name: "CtsAppDataIsolationAppApi29A", 109 defaults: ["cts_support_defaults"], 110 srcs: [ 111 "common/src/**/*.java", 112 "AppA/src/**/*.java", 113 "AppA/aidl/**/*.aidl", 114 ], 115 sdk_version: "test_current", 116 static_libs: [ 117 "androidx.test.rules", 118 "androidx.test.uiautomator_uiautomator", 119 "truth", 120 "testng", 121 "compatibility-device-util-axt", 122 ], 123 libs: ["android.test.base"], 124 // tag this module as a cts test artifact 125 test_suites: [ 126 "cts", 127 "general-tests", 128 ], 129 certificate: ":cts-testkey1", 130 dex_preopt: { 131 enabled: false, 132 }, 133 manifest: "AppA/AndroidManifest_api29.xml", 134} 135 136android_test_helper_app { 137 name: "CtsAppDataIsolationAppB", 138 defaults: ["cts_support_defaults"], 139 srcs: [ 140 "common/src/**/*.java", 141 "AppB/src/**/*.java", 142 ], 143 sdk_version: "test_current", 144 static_libs: [ 145 "androidx.test.rules", 146 "androidx.test.uiautomator_uiautomator", 147 "truth", 148 "testng", 149 "compatibility-device-util-axt", 150 ], 151 libs: ["android.test.base"], 152 // tag this module as a cts test artifact 153 test_suites: [ 154 "cts", 155 "general-tests", 156 ], 157 certificate: ":cts-testkey1", 158 dex_preopt: { 159 enabled: false, 160 }, 161 manifest: "AppB/AndroidManifest.xml", 162} 163 164android_test_helper_app { 165 name: "CtsAppDataIsolationAppSharedB", 166 defaults: ["cts_support_defaults"], 167 srcs: [ 168 "common/src/**/*.java", 169 "AppB/src/**/*.java", 170 ], 171 sdk_version: "test_current", 172 static_libs: [ 173 "androidx.test.rules", 174 "truth", 175 "testng", 176 "compatibility-device-util-axt", 177 ], 178 libs: ["android.test.base"], 179 // tag this module as a cts test artifact 180 test_suites: [ 181 "cts", 182 "general-tests", 183 ], 184 certificate: ":cts-testkey1", 185 dex_preopt: { 186 enabled: false, 187 }, 188 manifest: "AppB/AndroidManifest_shared.xml", 189} 190