blob: 49608b3856e06b61d9ee8381b7101dd709db4fe7 [file] [log] [blame]
Dario Freni2fc64882019-10-25 21:41:57 +01001//
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,
Jiyong Parkb50e6622020-04-21 22:36:31 +090046
47 apex_available: [
Jooyung Han3d3f5a12020-06-22 17:27:53 +090048 "//apex_available:platform",
Jiyong Parkb50e6622020-04-21 22:36:31 +090049 "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 Freni2fc64882019-10-25 21:41:57 +010056}
57
58//##########################################################
59// Variant: System app
60
61android_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 Parkb50e6622020-04-21 22:36:31 +090084
85 apex_available: [
Jooyung Han3d3f5a12020-06-22 17:27:53 +090086 "//apex_available:platform",
Jiyong Parkb50e6622020-04-21 22:36:31 +090087 "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 Freni2fc64882019-10-25 21:41:57 +010094}