Dario Freni | fa54812 | 2019-10-25 21:41:57 +0100 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2016 The Android Open Source Project |
| 3 | // |
| 4 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | // you may not use this file except in compliance with the License. |
| 6 | // You may obtain a copy of the License at |
| 7 | // |
| 8 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | // |
| 10 | // Unless required by applicable law or agreed to in writing, software |
| 11 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | // See the License for the specific language governing permissions and |
| 14 | // limitations under the License. |
| 15 | // |
| 16 | |
| 17 | //########################################################## |
| 18 | // Variant: Privileged app |
| 19 | |
| 20 | android_app_import { |
| 21 | name: "CtsShimPrivPrebuilt", |
| 22 | |
| 23 | // this needs to be a privileged application |
| 24 | privileged: true, |
| 25 | |
| 26 | // Make sure the build system doesn't try to resign the APK |
| 27 | dex_preopt: { |
| 28 | enabled: false, |
| 29 | }, |
| 30 | |
| 31 | arch: { |
| 32 | arm: { |
| 33 | apk: "apk/arm/CtsShimPriv.apk", |
| 34 | }, |
| 35 | arm64: { |
| 36 | apk: "apk/arm/CtsShimPriv.apk", |
| 37 | }, |
| 38 | x86: { |
| 39 | apk: "apk/x86/CtsShimPriv.apk", |
| 40 | }, |
| 41 | x86_64: { |
| 42 | apk: "apk/x86/CtsShimPriv.apk", |
| 43 | }, |
| 44 | }, |
| 45 | presigned: true, |
| 46 | } |
| 47 | |
| 48 | //########################################################## |
| 49 | // Variant: System app |
| 50 | |
| 51 | android_app_import { |
| 52 | name: "CtsShimPrebuilt", |
| 53 | |
| 54 | // Make sure the build system doesn't try to resign the APK |
| 55 | dex_preopt: { |
| 56 | enabled: false, |
| 57 | }, |
| 58 | |
| 59 | arch: { |
| 60 | arm: { |
| 61 | apk: "apk/arm/CtsShim.apk", |
| 62 | }, |
| 63 | arm64: { |
| 64 | apk: "apk/arm/CtsShim.apk", |
| 65 | }, |
| 66 | x86: { |
| 67 | apk: "apk/x86/CtsShim.apk", |
| 68 | }, |
| 69 | x86_64: { |
| 70 | apk: "apk/x86/CtsShim.apk", |
| 71 | }, |
| 72 | }, |
| 73 | presigned: true, |
| 74 | } |