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 19prebuilt_apex { 20 name: "com.android.apex.cts.shim.v1_prebuilt", 21 overrides: [ 22 "CtsShimPrebuilt", 23 "CtsShimPrivPrebuilt", 24 ], 25 arch: { 26 arm: { 27 src: "prebuilts/arm/com.android.apex.cts.shim.v1.apex", 28 }, 29 arm64: { 30 src: "prebuilts/arm/com.android.apex.cts.shim.v1.apex", 31 }, 32 riscv64: { 33 src: "prebuilts/riscv64/com.android.apex.cts.shim.v1.apex", 34 }, 35 x86: { 36 src: "prebuilts/x86/com.android.apex.cts.shim.v1.apex", 37 }, 38 x86_64: { 39 src: "prebuilts/x86/com.android.apex.cts.shim.v1.apex", 40 }, 41 }, 42 filename: "com.android.apex.cts.shim.apex", 43 installable: true, 44 // Declare the apps included in the prebuilt apex so that they can be 45 // signed using apkcerts.txt 46 apps: [ 47 "CtsShim", 48 "CtsShimPriv", 49 ], 50} 51 52prebuilt_apex { 53 name: "com.android.apex.cts.shim.v2_prebuilt", 54 arch: { 55 arm: { 56 src: "prebuilts/arm/com.android.apex.cts.shim.v2.apex", 57 }, 58 arm64: { 59 src: "prebuilts/arm/com.android.apex.cts.shim.v2.apex", 60 }, 61 riscv64: { 62 src: "prebuilts/riscv64/com.android.apex.cts.shim.v2.apex", 63 }, 64 x86: { 65 src: "prebuilts/x86/com.android.apex.cts.shim.v2.apex", 66 }, 67 x86_64: { 68 src: "prebuilts/x86/com.android.apex.cts.shim.v2.apex", 69 }, 70 }, 71 filename: "com.android.apex.cts.shim.v2.apex", 72 installable: false, 73 // Declare the apps included in the prebuilt apex so that they can be 74 // signed using apkcerts.txt 75 apps: [ 76 "CtsShim", 77 "CtsShimPriv", 78 ], 79} 80 81prebuilt_apex { 82 name: "com.android.apex.cts.shim.v2_wrong_sha_prebuilt", 83 arch: { 84 arm: { 85 src: "prebuilts/arm/com.android.apex.cts.shim.v2_wrong_sha.apex", 86 }, 87 arm64: { 88 src: "prebuilts/arm/com.android.apex.cts.shim.v2_wrong_sha.apex", 89 }, 90 riscv64: { 91 src: "prebuilts/riscv64/com.android.apex.cts.shim.v2_wrong_sha.apex", 92 }, 93 x86: { 94 src: "prebuilts/x86/com.android.apex.cts.shim.v2_wrong_sha.apex", 95 }, 96 x86_64: { 97 src: "prebuilts/x86/com.android.apex.cts.shim.v2_wrong_sha.apex", 98 }, 99 }, 100 filename: "com.android.apex.cts.shim.v2_wrong_sha.apex", 101 installable: false, 102} 103 104prebuilt_apex { 105 name: "com.android.apex.cts.shim.v2_additional_file_prebuilt", 106 arch: { 107 arm: { 108 src: "prebuilts/arm/com.android.apex.cts.shim.v2_additional_file.apex", 109 }, 110 arm64: { 111 src: "prebuilts/arm/com.android.apex.cts.shim.v2_additional_file.apex", 112 }, 113 riscv64: { 114 src: "prebuilts/riscv64/com.android.apex.cts.shim.v2_additional_file.apex", 115 }, 116 x86: { 117 src: "prebuilts/x86/com.android.apex.cts.shim.v2_additional_file.apex", 118 }, 119 x86_64: { 120 src: "prebuilts/x86/com.android.apex.cts.shim.v2_additional_file.apex", 121 }, 122 }, 123 filename: "com.android.apex.cts.shim.v2_additional_file.apex", 124 installable: false, 125} 126 127prebuilt_apex { 128 name: "com.android.apex.cts.shim.v2_additional_folder_prebuilt", 129 arch: { 130 arm: { 131 src: "prebuilts/arm/com.android.apex.cts.shim.v2_additional_folder.apex", 132 }, 133 arm64: { 134 src: "prebuilts/arm/com.android.apex.cts.shim.v2_additional_folder.apex", 135 }, 136 riscv64: { 137 src: "prebuilts/riscv64/com.android.apex.cts.shim.v2_additional_folder.apex", 138 }, 139 x86: { 140 src: "prebuilts/x86/com.android.apex.cts.shim.v2_additional_folder.apex", 141 }, 142 x86_64: { 143 src: "prebuilts/x86/com.android.apex.cts.shim.v2_additional_folder.apex", 144 }, 145 }, 146 filename: "com.android.apex.cts.shim.v2_additional_folder.apex", 147 installable: false, 148} 149 150prebuilt_apex { 151 name: "com.android.apex.cts.shim.v2_with_pre_install_hook_prebuilt", 152 arch: { 153 arm: { 154 src: "prebuilts/arm/com.android.apex.cts.shim.v2_with_pre_install_hook.apex", 155 }, 156 arm64: { 157 src: "prebuilts/arm/com.android.apex.cts.shim.v2_with_pre_install_hook.apex", 158 }, 159 riscv64: { 160 src: "prebuilts/riscv64/com.android.apex.cts.shim.v2_with_pre_install_hook.apex", 161 }, 162 x86: { 163 src: "prebuilts/x86/com.android.apex.cts.shim.v2_with_pre_install_hook.apex", 164 }, 165 x86_64: { 166 src: "prebuilts/x86/com.android.apex.cts.shim.v2_with_pre_install_hook.apex", 167 }, 168 }, 169 filename: "com.android.apex.cts.shim.v2_with_pre_install_hook.apex", 170 installable: false, 171} 172 173prebuilt_apex { 174 name: "com.android.apex.cts.shim.v2_with_post_install_hook_prebuilt", 175 arch: { 176 arm: { 177 src: "prebuilts/arm/com.android.apex.cts.shim.v2_with_post_install_hook.apex", 178 }, 179 arm64: { 180 src: "prebuilts/arm/com.android.apex.cts.shim.v2_with_post_install_hook.apex", 181 }, 182 riscv64: { 183 src: "prebuilts/riscv64/com.android.apex.cts.shim.v2_with_post_install_hook.apex", 184 }, 185 x86: { 186 src: "prebuilts/x86/com.android.apex.cts.shim.v2_with_post_install_hook.apex", 187 }, 188 x86_64: { 189 src: "prebuilts/x86/com.android.apex.cts.shim.v2_with_post_install_hook.apex", 190 }, 191 }, 192 filename: "com.android.apex.cts.shim.v2_with_post_install_hook.apex", 193 installable: false, 194} 195 196prebuilt_apex { 197 name: "com.android.apex.cts.shim.v3_prebuilt", 198 arch: { 199 arm: { 200 src: "prebuilts/arm/com.android.apex.cts.shim.v3.apex", 201 }, 202 arm64: { 203 src: "prebuilts/arm/com.android.apex.cts.shim.v3.apex", 204 }, 205 riscv64: { 206 src: "prebuilts/riscv64/com.android.apex.cts.shim.v3.apex", 207 }, 208 x86: { 209 src: "prebuilts/x86/com.android.apex.cts.shim.v3.apex", 210 }, 211 x86_64: { 212 src: "prebuilts/x86/com.android.apex.cts.shim.v3.apex", 213 }, 214 }, 215 filename: "com.android.apex.cts.shim.v3.apex", 216 installable: false, 217 // Declare the apps included in the prebuilt apex so that they can be 218 // signed using apkcerts.txt 219 apps: [ 220 "CtsShim", 221 "CtsShimPriv", 222 ], 223} 224 225prebuilt_apex { 226 name: "com.android.apex.cts.shim.v2_different_certificate_prebuilt", 227 arch: { 228 arm: { 229 src: "prebuilts/arm/com.android.apex.cts.shim.v2_different_certificate.apex", 230 }, 231 arm64: { 232 src: "prebuilts/arm/com.android.apex.cts.shim.v2_different_certificate.apex", 233 }, 234 riscv64: { 235 src: "prebuilts/riscv64/com.android.apex.cts.shim.v2_different_certificate.apex", 236 }, 237 x86: { 238 src: "prebuilts/x86/com.android.apex.cts.shim.v2_different_certificate.apex", 239 }, 240 x86_64: { 241 src: "prebuilts/x86/com.android.apex.cts.shim.v2_different_certificate.apex", 242 }, 243 }, 244 filename: "com.android.apex.cts.shim.v2_different_certificate.apex", 245 installable: false, 246} 247 248prebuilt_apex { 249 name: "com.android.apex.cts.shim.v2_unsigned_apk_container_prebuilt", 250 arch: { 251 arm: { 252 src: "prebuilts/arm/com.android.apex.cts.shim.v2_unsigned_apk_container.apex", 253 }, 254 arm64: { 255 src: "prebuilts/arm/com.android.apex.cts.shim.v2_unsigned_apk_container.apex", 256 }, 257 riscv64: { 258 src: "prebuilts/riscv64/com.android.apex.cts.shim.v2_unsigned_apk_container.apex", 259 }, 260 x86: { 261 src: "prebuilts/x86/com.android.apex.cts.shim.v2_unsigned_apk_container.apex", 262 }, 263 x86_64: { 264 src: "prebuilts/x86/com.android.apex.cts.shim.v2_unsigned_apk_container.apex", 265 }, 266 }, 267 filename: "com.android.apex.cts.shim.v2_unsigned_apk_container.apex", 268 installable: false, 269} 270 271prebuilt_apex { 272 name: "com.android.apex.cts.shim.v2_rebootless_prebuilt", 273 arch: { 274 arm: { 275 src: "prebuilts/arm/com.android.apex.cts.shim.v2_rebootless.apex", 276 }, 277 arm64: { 278 src: "prebuilts/arm/com.android.apex.cts.shim.v2_rebootless.apex", 279 }, 280 x86: { 281 src: "prebuilts/x86/com.android.apex.cts.shim.v2_rebootless.apex", 282 }, 283 x86_64: { 284 src: "prebuilts/x86/com.android.apex.cts.shim.v2_rebootless.apex", 285 }, 286 }, 287 filename: "com.android.apex.cts.shim.v2_rebootless.apex", 288 installable: false, 289} 290