xref: /aosp_15_r20/hardware/interfaces/biometrics/face/aidl/default/apex/Android.bp (revision 4d7e907c777eeecc4c5bd7cf640a754fac206ff7)
1// Copyright (C) 2023 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.
14
15package {
16    default_applicable_licenses: ["Android-Apache-2.0"],
17}
18
19apex {
20    name: "com.android.hardware.biometrics.face.virtual",
21    manifest: "manifest.json",
22    file_contexts: "file_contexts",
23    key: "com.android.hardware.key",
24    certificate: ":com.android.hardware.certificate",
25    updatable: false,
26    system_ext_specific: true,
27
28    binaries: [
29        // hal
30        "android.hardware.biometrics.face-service.example",
31    ],
32    prebuilts: [
33        // init_rc
34        "face-virtual-apex.rc",
35    ],
36
37    overrides: [
38        "android.hardware.biometrics.face-service.example",
39    ],
40}
41
42prebuilt_etc {
43    name: "face-virtual-apex.rc",
44    src: ":face-virtual.rc",
45    installable: false,
46}
47