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 20android_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 apex_available: [ 48 "com.android.apex.cts.shim.v1", 49 "com.android.apex.cts.shim.v2", 50 "com.android.apex.cts.shim.v2_legacy", 51 "com.android.apex.cts.shim.v2_no_hashtree", 52 "com.android.apex.cts.shim.v2_sdk_target_p", 53 "com.android.apex.cts.shim.v3", 54 ], 55} 56 57//########################################################## 58// Variant: System app 59 60android_app_import { 61 name: "CtsShimPrebuilt", 62 63 // Make sure the build system doesn't try to resign the APK 64 dex_preopt: { 65 enabled: false, 66 }, 67 68 arch: { 69 arm: { 70 apk: "apk/arm/CtsShim.apk", 71 }, 72 arm64: { 73 apk: "apk/arm/CtsShim.apk", 74 }, 75 x86: { 76 apk: "apk/x86/CtsShim.apk", 77 }, 78 x86_64: { 79 apk: "apk/x86/CtsShim.apk", 80 }, 81 }, 82 presigned: true, 83 84 apex_available: [ 85 "com.android.apex.cts.shim.v1", 86 "com.android.apex.cts.shim.v2", 87 "com.android.apex.cts.shim.v2_legacy", 88 "com.android.apex.cts.shim.v2_no_hashtree", 89 "com.android.apex.cts.shim.v2_sdk_target_p", 90 "com.android.apex.cts.shim.v3", 91 ], 92} 93