| // Copyright (C) 2019 The Android Open Source Project | 
 | // | 
 | // Licensed under the Apache License, Version 2.0 (the "License"); | 
 | // you may not use this file except in compliance with the License. | 
 | // You may obtain a copy of the License at | 
 | // | 
 | //     http://www.apache.org/licenses/LICENSE-2.0 | 
 | // | 
 | // Unless required by applicable law or agreed to in writing, software | 
 | // distributed under the License is distributed on an "AS IS" BASIS, | 
 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 
 | // See the License for the specific language governing permissions and | 
 | // limitations under the License. | 
 |  | 
 | // TODO: consider removing _prebuilt suffix from module names and make use of | 
 | // 'prefer: true' | 
 |  | 
 | package { | 
 |     default_applicable_licenses: ["Android-Apache-2.0"], | 
 | } | 
 |  | 
 | prebuilt_apex { | 
 |   name: "com.android.apex.cts.shim.v1_prebuilt", | 
 |   overrides: ["CtsShimPrebuilt", "CtsShimPrivPrebuilt"], | 
 |   arch: { | 
 |     arm: { | 
 |       src: "prebuilts/arm/com.android.apex.cts.shim.v1.apex", | 
 |     }, | 
 |     arm64: { | 
 |       src: "prebuilts/arm/com.android.apex.cts.shim.v1.apex", | 
 |     }, | 
 |     x86: { | 
 |       src: "prebuilts/x86/com.android.apex.cts.shim.v1.apex", | 
 |     }, | 
 |     x86_64: { | 
 |       src: "prebuilts/x86/com.android.apex.cts.shim.v1.apex", | 
 |     }, | 
 |   }, | 
 |   filename: "com.android.apex.cts.shim.apex", | 
 |   prefer: true, | 
 |   installable: true, | 
 | } | 
 |  | 
 | prebuilt_apex { | 
 |   name: "com.android.apex.cts.shim.v2_prebuilt", | 
 |   arch: { | 
 |     arm: { | 
 |       src: "prebuilts/arm/com.android.apex.cts.shim.v2.apex", | 
 |     }, | 
 |     arm64: { | 
 |       src: "prebuilts/arm/com.android.apex.cts.shim.v2.apex", | 
 |     }, | 
 |     x86: { | 
 |       src: "prebuilts/x86/com.android.apex.cts.shim.v2.apex", | 
 |     }, | 
 |     x86_64: { | 
 |       src: "prebuilts/x86/com.android.apex.cts.shim.v2.apex", | 
 |     }, | 
 |   }, | 
 |   filename: "com.android.apex.cts.shim.v2.apex", | 
 |   installable: false, | 
 | } | 
 |  | 
 | prebuilt_apex { | 
 |   name: "com.android.apex.cts.shim.v2_wrong_sha_prebuilt", | 
 |   arch: { | 
 |     arm: { | 
 |       src: "prebuilts/arm/com.android.apex.cts.shim.v2_wrong_sha.apex", | 
 |     }, | 
 |     arm64: { | 
 |       src: "prebuilts/arm/com.android.apex.cts.shim.v2_wrong_sha.apex", | 
 |     }, | 
 |     x86: { | 
 |       src: "prebuilts/x86/com.android.apex.cts.shim.v2_wrong_sha.apex", | 
 |     }, | 
 |     x86_64: { | 
 |       src: "prebuilts/x86/com.android.apex.cts.shim.v2_wrong_sha.apex", | 
 |     }, | 
 |   }, | 
 |   filename: "com.android.apex.cts.shim.v2_wrong_sha.apex", | 
 |   installable: false, | 
 | } | 
 |  | 
 | prebuilt_apex { | 
 |   name: "com.android.apex.cts.shim.v2_additional_file_prebuilt", | 
 |   arch: { | 
 |     arm: { | 
 |       src: "prebuilts/arm/com.android.apex.cts.shim.v2_additional_file.apex", | 
 |     }, | 
 |     arm64: { | 
 |       src: "prebuilts/arm/com.android.apex.cts.shim.v2_additional_file.apex", | 
 |     }, | 
 |     x86: { | 
 |       src: "prebuilts/x86/com.android.apex.cts.shim.v2_additional_file.apex", | 
 |     }, | 
 |     x86_64: { | 
 |       src: "prebuilts/x86/com.android.apex.cts.shim.v2_additional_file.apex", | 
 |     }, | 
 |   }, | 
 |   filename: "com.android.apex.cts.shim.v2_additional_file.apex", | 
 |   installable: false, | 
 | } | 
 |  | 
 | prebuilt_apex { | 
 |   name: "com.android.apex.cts.shim.v2_additional_folder_prebuilt", | 
 |   arch: { | 
 |     arm: { | 
 |       src: "prebuilts/arm/com.android.apex.cts.shim.v2_additional_folder.apex", | 
 |     }, | 
 |     arm64: { | 
 |       src: "prebuilts/arm/com.android.apex.cts.shim.v2_additional_folder.apex", | 
 |     }, | 
 |     x86: { | 
 |       src: "prebuilts/x86/com.android.apex.cts.shim.v2_additional_folder.apex", | 
 |     }, | 
 |     x86_64: { | 
 |       src: "prebuilts/x86/com.android.apex.cts.shim.v2_additional_folder.apex", | 
 |     }, | 
 |   }, | 
 |   filename: "com.android.apex.cts.shim.v2_additional_folder.apex", | 
 |   installable: false, | 
 | } | 
 |  | 
 | prebuilt_apex { | 
 |   name: "com.android.apex.cts.shim.v2_with_pre_install_hook_prebuilt", | 
 |   arch: { | 
 |     arm: { | 
 |       src: "prebuilts/arm/com.android.apex.cts.shim.v2_with_pre_install_hook.apex", | 
 |     }, | 
 |     arm64: { | 
 |       src: "prebuilts/arm/com.android.apex.cts.shim.v2_with_pre_install_hook.apex", | 
 |     }, | 
 |     x86: { | 
 |       src: "prebuilts/x86/com.android.apex.cts.shim.v2_with_pre_install_hook.apex", | 
 |     }, | 
 |     x86_64: { | 
 |       src: "prebuilts/x86/com.android.apex.cts.shim.v2_with_pre_install_hook.apex", | 
 |     }, | 
 |   }, | 
 |   filename: "com.android.apex.cts.shim.v2_with_pre_install_hook.apex", | 
 |   installable: false, | 
 | } | 
 |  | 
 | prebuilt_apex { | 
 |   name: "com.android.apex.cts.shim.v2_with_post_install_hook_prebuilt", | 
 |   arch: { | 
 |     arm: { | 
 |       src: "prebuilts/arm/com.android.apex.cts.shim.v2_with_post_install_hook.apex", | 
 |     }, | 
 |     arm64: { | 
 |       src: "prebuilts/arm/com.android.apex.cts.shim.v2_with_post_install_hook.apex", | 
 |     }, | 
 |     x86: { | 
 |       src: "prebuilts/x86/com.android.apex.cts.shim.v2_with_post_install_hook.apex", | 
 |     }, | 
 |     x86_64: { | 
 |       src: "prebuilts/x86/com.android.apex.cts.shim.v2_with_post_install_hook.apex", | 
 |     }, | 
 |   }, | 
 |   filename: "com.android.apex.cts.shim.v2_with_post_install_hook.apex", | 
 |   installable: false, | 
 | } | 
 |  | 
 | prebuilt_apex { | 
 |   name: "com.android.apex.cts.shim.v3_prebuilt", | 
 |   arch: { | 
 |     arm: { | 
 |       src: "prebuilts/arm/com.android.apex.cts.shim.v3.apex", | 
 |     }, | 
 |     arm64: { | 
 |       src: "prebuilts/arm/com.android.apex.cts.shim.v3.apex", | 
 |     }, | 
 |     x86: { | 
 |       src: "prebuilts/x86/com.android.apex.cts.shim.v3.apex", | 
 |     }, | 
 |     x86_64: { | 
 |       src: "prebuilts/x86/com.android.apex.cts.shim.v3.apex", | 
 |     }, | 
 |   }, | 
 |   filename: "com.android.apex.cts.shim.v3.apex", | 
 |   installable: false, | 
 | } | 
 |  | 
 | prebuilt_apex { | 
 |   name: "com.android.apex.cts.shim.v2_different_certificate_prebuilt", | 
 |   arch: { | 
 |     arm: { | 
 |       src: "prebuilts/arm/com.android.apex.cts.shim.v2_different_certificate.apex", | 
 |     }, | 
 |     arm64: { | 
 |       src: "prebuilts/arm/com.android.apex.cts.shim.v2_different_certificate.apex", | 
 |     }, | 
 |     x86: { | 
 |       src: "prebuilts/x86/com.android.apex.cts.shim.v2_different_certificate.apex", | 
 |     }, | 
 |     x86_64: { | 
 |       src: "prebuilts/x86/com.android.apex.cts.shim.v2_different_certificate.apex", | 
 |     }, | 
 |   }, | 
 |   filename: "com.android.apex.cts.shim.v2_different_certificate.apex", | 
 |   installable: false, | 
 | } | 
 |  | 
 | prebuilt_apex { | 
 |   name: "com.android.apex.cts.shim.v2_unsigned_apk_container_prebuilt", | 
 |   arch: { | 
 |     arm: { | 
 |       src: "prebuilts/arm/com.android.apex.cts.shim.v2_unsigned_apk_container.apex", | 
 |     }, | 
 |     arm64: { | 
 |       src: "prebuilts/arm/com.android.apex.cts.shim.v2_unsigned_apk_container.apex", | 
 |     }, | 
 |     x86: { | 
 |       src: "prebuilts/x86/com.android.apex.cts.shim.v2_unsigned_apk_container.apex", | 
 |     }, | 
 |     x86_64: { | 
 |       src: "prebuilts/x86/com.android.apex.cts.shim.v2_unsigned_apk_container.apex", | 
 |     }, | 
 |   }, | 
 |   filename: "com.android.apex.cts.shim.v2_unsigned_apk_container.apex", | 
 |   installable: false, | 
 | } |