xref: /aosp_15_r20/system/apex/tests/testdata/apkinapex/com.android.apex.system.test/Android.bp (revision 33f3758387333dbd2962d7edbd98681940d895da)
1*33f37583SAndroid Build Coastguard Worker// Copyright (C) 2021 The Android Open Source Project
2*33f37583SAndroid Build Coastguard Worker//
3*33f37583SAndroid Build Coastguard Worker// Licensed under the Apache License, Version 2.0 (the "License");
4*33f37583SAndroid Build Coastguard Worker// you may not use this file except in compliance with the License.
5*33f37583SAndroid Build Coastguard Worker// You may obtain a copy of the License at
6*33f37583SAndroid Build Coastguard Worker//
7*33f37583SAndroid Build Coastguard Worker//     http://www.apache.org/licenses/LICENSE-2.0
8*33f37583SAndroid Build Coastguard Worker//
9*33f37583SAndroid Build Coastguard Worker// Unless required by applicable law or agreed to in writing, software
10*33f37583SAndroid Build Coastguard Worker// distributed under the License is distributed on an "AS IS" BASIS,
11*33f37583SAndroid Build Coastguard Worker// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12*33f37583SAndroid Build Coastguard Worker// See the License for the specific language governing permissions and
13*33f37583SAndroid Build Coastguard Worker// limitations under the License.
14*33f37583SAndroid Build Coastguard Worker
15*33f37583SAndroid Build Coastguard Workerpackage {
16*33f37583SAndroid Build Coastguard Worker    default_applicable_licenses: ["Android-Apache-2.0"],
17*33f37583SAndroid Build Coastguard Worker}
18*33f37583SAndroid Build Coastguard Worker
19*33f37583SAndroid Build Coastguard Workerapex_key {
20*33f37583SAndroid Build Coastguard Worker    name: "com.android.apex.system.test.key",
21*33f37583SAndroid Build Coastguard Worker    public_key: "com.android.apex.system.test.avbpubkey",
22*33f37583SAndroid Build Coastguard Worker    private_key: "com.android.apex.system.test.pem",
23*33f37583SAndroid Build Coastguard Worker}
24*33f37583SAndroid Build Coastguard Worker
25*33f37583SAndroid Build Coastguard Workerandroid_app_certificate {
26*33f37583SAndroid Build Coastguard Worker    name: "com.android.apex.system.test.certificate",
27*33f37583SAndroid Build Coastguard Worker    certificate: "com.android.apex.system.test",
28*33f37583SAndroid Build Coastguard Worker}
29*33f37583SAndroid Build Coastguard Worker
30*33f37583SAndroid Build Coastguard Workerapex {
31*33f37583SAndroid Build Coastguard Worker    name: "com.android.apex.system.test",
32*33f37583SAndroid Build Coastguard Worker    manifest: "manifest.json",
33*33f37583SAndroid Build Coastguard Worker    file_contexts: ":apex.test-file_contexts", // Default, please edit, see go/android-apex-howto
34*33f37583SAndroid Build Coastguard Worker    key: "com.android.apex.system.test.key",
35*33f37583SAndroid Build Coastguard Worker    updatable: false,
36*33f37583SAndroid Build Coastguard Worker    apps: ["com.android.apex.system.app.test"],
37*33f37583SAndroid Build Coastguard Worker}
38*33f37583SAndroid Build Coastguard Worker
39*33f37583SAndroid Build Coastguard Workerandroid_app {
40*33f37583SAndroid Build Coastguard Worker    name: "com.android.apex.system.app.test",
41*33f37583SAndroid Build Coastguard Worker    manifest: "App_AndroidManifest.xml",
42*33f37583SAndroid Build Coastguard Worker    sdk_version: "31",
43*33f37583SAndroid Build Coastguard Worker    privileged: true,
44*33f37583SAndroid Build Coastguard Worker    apex_available: [
45*33f37583SAndroid Build Coastguard Worker        "com.android.apex.system.test",
46*33f37583SAndroid Build Coastguard Worker    ],
47*33f37583SAndroid Build Coastguard Worker}
48*33f37583SAndroid Build Coastguard Worker
49*33f37583SAndroid Build Coastguard Workerfilegroup {
50*33f37583SAndroid Build Coastguard Worker    name: "com.android.apex.system.app.test.xml",
51*33f37583SAndroid Build Coastguard Worker    srcs: ["com.android.apex.system.app.test.xml"],
52*33f37583SAndroid Build Coastguard Worker}
53