blob: 34878035051d295d7aeb3dd37aa355a945bf7e06 [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: [
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 ],
Dario Freni2fc64882019-10-25 21:41:57 +010055}
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,
Jiyong Parkb50e6622020-04-21 22:36:31 +090083
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 ],
Dario Freni2fc64882019-10-25 21:41:57 +010092}