1// Copyright 2024 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14package {
15    default_applicable_licenses: ["Android-Apache-2.0"],
16}
17
18// apex_test allows to skips apex_available checks for dependencies.
19// However, real apex should add itself to apex_available for all dependencies.
20apex_test {
21    name: "com.android.virt.accessor_demo",
22    manifest: "manifest.json",
23    file_contexts: "accessor_demo-file_contexts",
24
25    // You probably need your own key
26    key: "com.android.virt.key",
27
28    updatable: false,
29    future_updatable: false,
30    platform_apis: true,
31    system_ext_specific: true,
32
33    binaries: ["accessor_demo"],
34    apps: ["AccessorVmApp"],
35    prebuilts: [
36        "accessor_demo.init.rc",
37        "accessor_demo.xml",
38    ],
39}
40
41prebuilt_etc {
42    name: "accessor_demo.init.rc",
43    src: "accessor_demo.init.rc",
44    installable: false,
45}
46
47prebuilt_etc {
48    name: "accessor_demo.xml",
49    src: "accessor_demo.xml",
50    sub_dir: "vintf",
51    installable: false,
52}
53