Dario Freni | 2fc6488 | 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, |
Jiyong Park | b50e662 | 2020-04-21 22:36:31 +0900 | [diff] [blame] | 46 | |
| 47 | apex_available: [ |
Jooyung Han | 3d3f5a1 | 2020-06-22 17:27:53 +0900 | [diff] [blame^] | 48 | "//apex_available:platform", |
Jiyong Park | b50e662 | 2020-04-21 22:36:31 +0900 | [diff] [blame] | 49 | "com.android.apex.cts.shim.v1", |
| 50 | "com.android.apex.cts.shim.v2", |
| 51 | "com.android.apex.cts.shim.v2_legacy", |
| 52 | "com.android.apex.cts.shim.v2_no_hashtree", |
| 53 | "com.android.apex.cts.shim.v2_sdk_target_p", |
| 54 | "com.android.apex.cts.shim.v3", |
| 55 | ], |
Dario Freni | 2fc6488 | 2019-10-25 21:41:57 +0100 | [diff] [blame] | 56 | } |
| 57 | |
| 58 | //########################################################## |
| 59 | // Variant: System app |
| 60 | |
| 61 | android_app_import { |
| 62 | name: "CtsShimPrebuilt", |
| 63 | |
| 64 | // Make sure the build system doesn't try to resign the APK |
| 65 | dex_preopt: { |
| 66 | enabled: false, |
| 67 | }, |
| 68 | |
| 69 | arch: { |
| 70 | arm: { |
| 71 | apk: "apk/arm/CtsShim.apk", |
| 72 | }, |
| 73 | arm64: { |
| 74 | apk: "apk/arm/CtsShim.apk", |
| 75 | }, |
| 76 | x86: { |
| 77 | apk: "apk/x86/CtsShim.apk", |
| 78 | }, |
| 79 | x86_64: { |
| 80 | apk: "apk/x86/CtsShim.apk", |
| 81 | }, |
| 82 | }, |
| 83 | presigned: true, |
Jiyong Park | b50e662 | 2020-04-21 22:36:31 +0900 | [diff] [blame] | 84 | |
| 85 | apex_available: [ |
Jooyung Han | 3d3f5a1 | 2020-06-22 17:27:53 +0900 | [diff] [blame^] | 86 | "//apex_available:platform", |
Jiyong Park | b50e662 | 2020-04-21 22:36:31 +0900 | [diff] [blame] | 87 | "com.android.apex.cts.shim.v1", |
| 88 | "com.android.apex.cts.shim.v2", |
| 89 | "com.android.apex.cts.shim.v2_legacy", |
| 90 | "com.android.apex.cts.shim.v2_no_hashtree", |
| 91 | "com.android.apex.cts.shim.v2_sdk_target_p", |
| 92 | "com.android.apex.cts.shim.v3", |
| 93 | ], |
Dario Freni | 2fc6488 | 2019-10-25 21:41:57 +0100 | [diff] [blame] | 94 | } |