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 15// TODO: consider removing _prebuilt suffix from module names and make use of 16// 'prefer: true' 17 18package { 19 default_applicable_licenses: ["Android-Apache-2.0"], 20} 21 22prebuilt_apex { 23 name: "com.android.apex.cts.shim.v1_prebuilt", 24 overrides: ["CtsShimPrebuilt", "CtsShimPrivPrebuilt"], 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 x86: { 33 src: "prebuilts/x86/com.android.apex.cts.shim.v1.apex", 34 }, 35 x86_64: { 36 src: "prebuilts/x86/com.android.apex.cts.shim.v1.apex", 37 }, 38 }, 39 filename: "com.android.apex.cts.shim.apex", 40 prefer: true, 41 installable: true, 42} 43 44prebuilt_apex { 45 name: "com.android.apex.cts.shim.v2_prebuilt", 46 arch: { 47 arm: { 48 src: "prebuilts/arm/com.android.apex.cts.shim.v2.apex", 49 }, 50 arm64: { 51 src: "prebuilts/arm/com.android.apex.cts.shim.v2.apex", 52 }, 53 x86: { 54 src: "prebuilts/x86/com.android.apex.cts.shim.v2.apex", 55 }, 56 x86_64: { 57 src: "prebuilts/x86/com.android.apex.cts.shim.v2.apex", 58 }, 59 }, 60 filename: "com.android.apex.cts.shim.v2.apex", 61 installable: false, 62} 63 64prebuilt_apex { 65 name: "com.android.apex.cts.shim.v2_wrong_sha_prebuilt", 66 arch: { 67 arm: { 68 src: "prebuilts/arm/com.android.apex.cts.shim.v2_wrong_sha.apex", 69 }, 70 arm64: { 71 src: "prebuilts/arm/com.android.apex.cts.shim.v2_wrong_sha.apex", 72 }, 73 x86: { 74 src: "prebuilts/x86/com.android.apex.cts.shim.v2_wrong_sha.apex", 75 }, 76 x86_64: { 77 src: "prebuilts/x86/com.android.apex.cts.shim.v2_wrong_sha.apex", 78 }, 79 }, 80 filename: "com.android.apex.cts.shim.v2_wrong_sha.apex", 81 installable: false, 82} 83 84prebuilt_apex { 85 name: "com.android.apex.cts.shim.v2_additional_file_prebuilt", 86 arch: { 87 arm: { 88 src: "prebuilts/arm/com.android.apex.cts.shim.v2_additional_file.apex", 89 }, 90 arm64: { 91 src: "prebuilts/arm/com.android.apex.cts.shim.v2_additional_file.apex", 92 }, 93 x86: { 94 src: "prebuilts/x86/com.android.apex.cts.shim.v2_additional_file.apex", 95 }, 96 x86_64: { 97 src: "prebuilts/x86/com.android.apex.cts.shim.v2_additional_file.apex", 98 }, 99 }, 100 filename: "com.android.apex.cts.shim.v2_additional_file.apex", 101 installable: false, 102} 103 104prebuilt_apex { 105 name: "com.android.apex.cts.shim.v2_additional_folder_prebuilt", 106 arch: { 107 arm: { 108 src: "prebuilts/arm/com.android.apex.cts.shim.v2_additional_folder.apex", 109 }, 110 arm64: { 111 src: "prebuilts/arm/com.android.apex.cts.shim.v2_additional_folder.apex", 112 }, 113 x86: { 114 src: "prebuilts/x86/com.android.apex.cts.shim.v2_additional_folder.apex", 115 }, 116 x86_64: { 117 src: "prebuilts/x86/com.android.apex.cts.shim.v2_additional_folder.apex", 118 }, 119 }, 120 filename: "com.android.apex.cts.shim.v2_additional_folder.apex", 121 installable: false, 122} 123 124prebuilt_apex { 125 name: "com.android.apex.cts.shim.v2_with_pre_install_hook_prebuilt", 126 arch: { 127 arm: { 128 src: "prebuilts/arm/com.android.apex.cts.shim.v2_with_pre_install_hook.apex", 129 }, 130 arm64: { 131 src: "prebuilts/arm/com.android.apex.cts.shim.v2_with_pre_install_hook.apex", 132 }, 133 x86: { 134 src: "prebuilts/x86/com.android.apex.cts.shim.v2_with_pre_install_hook.apex", 135 }, 136 x86_64: { 137 src: "prebuilts/x86/com.android.apex.cts.shim.v2_with_pre_install_hook.apex", 138 }, 139 }, 140 filename: "com.android.apex.cts.shim.v2_with_pre_install_hook.apex", 141 installable: false, 142} 143 144prebuilt_apex { 145 name: "com.android.apex.cts.shim.v2_with_post_install_hook_prebuilt", 146 arch: { 147 arm: { 148 src: "prebuilts/arm/com.android.apex.cts.shim.v2_with_post_install_hook.apex", 149 }, 150 arm64: { 151 src: "prebuilts/arm/com.android.apex.cts.shim.v2_with_post_install_hook.apex", 152 }, 153 x86: { 154 src: "prebuilts/x86/com.android.apex.cts.shim.v2_with_post_install_hook.apex", 155 }, 156 x86_64: { 157 src: "prebuilts/x86/com.android.apex.cts.shim.v2_with_post_install_hook.apex", 158 }, 159 }, 160 filename: "com.android.apex.cts.shim.v2_with_post_install_hook.apex", 161 installable: false, 162} 163 164prebuilt_apex { 165 name: "com.android.apex.cts.shim.v3_prebuilt", 166 arch: { 167 arm: { 168 src: "prebuilts/arm/com.android.apex.cts.shim.v3.apex", 169 }, 170 arm64: { 171 src: "prebuilts/arm/com.android.apex.cts.shim.v3.apex", 172 }, 173 x86: { 174 src: "prebuilts/x86/com.android.apex.cts.shim.v3.apex", 175 }, 176 x86_64: { 177 src: "prebuilts/x86/com.android.apex.cts.shim.v3.apex", 178 }, 179 }, 180 filename: "com.android.apex.cts.shim.v3.apex", 181 installable: false, 182} 183 184prebuilt_apex { 185 name: "com.android.apex.cts.shim.v2_different_certificate_prebuilt", 186 arch: { 187 arm: { 188 src: "prebuilts/arm/com.android.apex.cts.shim.v2_different_certificate.apex", 189 }, 190 arm64: { 191 src: "prebuilts/arm/com.android.apex.cts.shim.v2_different_certificate.apex", 192 }, 193 x86: { 194 src: "prebuilts/x86/com.android.apex.cts.shim.v2_different_certificate.apex", 195 }, 196 x86_64: { 197 src: "prebuilts/x86/com.android.apex.cts.shim.v2_different_certificate.apex", 198 }, 199 }, 200 filename: "com.android.apex.cts.shim.v2_different_certificate.apex", 201 installable: false, 202} 203 204prebuilt_apex { 205 name: "com.android.apex.cts.shim.v2_unsigned_apk_container_prebuilt", 206 arch: { 207 arm: { 208 src: "prebuilts/arm/com.android.apex.cts.shim.v2_unsigned_apk_container.apex", 209 }, 210 arm64: { 211 src: "prebuilts/arm/com.android.apex.cts.shim.v2_unsigned_apk_container.apex", 212 }, 213 x86: { 214 src: "prebuilts/x86/com.android.apex.cts.shim.v2_unsigned_apk_container.apex", 215 }, 216 x86_64: { 217 src: "prebuilts/x86/com.android.apex.cts.shim.v2_unsigned_apk_container.apex", 218 }, 219 }, 220 filename: "com.android.apex.cts.shim.v2_unsigned_apk_container.apex", 221 installable: false, 222} 223