xref: /aosp_15_r20/hardware/interfaces/biometrics/face/aidl/Android.bp (revision 4d7e907c777eeecc4c5bd7cf640a754fac206ff7)
1package {
2    // See: http://go/android-license-faq
3    // A large-scale-change added 'default_applicable_licenses' to import
4    // all of the 'license_kinds' from "hardware_interfaces_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    default_applicable_licenses: ["hardware_interfaces_license"],
8}
9
10aidl_interface {
11    name: "android.hardware.biometrics.face",
12    vendor_available: true,
13    srcs: [
14        "android/hardware/biometrics/face/*.aidl",
15    ],
16    imports: [
17        "android.hardware.biometrics.common-V4",
18        "android.hardware.common-V2",
19        "android.hardware.keymaster-V4",
20    ],
21    include_dirs: [
22        "frameworks/native/aidl/gui",
23    ],
24    stability: "vintf",
25    backend: {
26        java: {
27            platform_apis: true,
28        },
29        cpp: {
30            enabled: false,
31        },
32        rust: {
33            enabled: false,
34        },
35        ndk: {
36            additional_shared_libraries: [
37                "libnativewindow",
38            ],
39            apex_available: [
40                "//apex_available:platform",
41                "com.android.hardware.biometrics.face.virtual",
42            ],
43        },
44    },
45    versions_with_info: [
46        {
47            version: "1",
48            imports: [
49                "android.hardware.biometrics.common-V1",
50                "android.hardware.common-V2",
51                "android.hardware.keymaster-V3",
52            ],
53        },
54        {
55            version: "2",
56            imports: [
57                "android.hardware.biometrics.common-V2",
58                "android.hardware.common-V2",
59                "android.hardware.keymaster-V3",
60            ],
61        },
62        {
63            version: "3",
64            imports: [
65                "android.hardware.biometrics.common-V3",
66                "android.hardware.common-V2",
67                "android.hardware.keymaster-V4",
68            ],
69        },
70        {
71            version: "4",
72            imports: [
73                "android.hardware.biometrics.common-V4",
74                "android.hardware.common-V2",
75                "android.hardware.keymaster-V4",
76            ],
77        },
78
79    ],
80    frozen: true,
81}
82
83aidl_interface {
84    name: "android.hardware.biometrics.face.virtualhal",
85    srcs: [
86        "android/hardware/biometrics/face/virtualhal/*.aidl",
87    ],
88    imports: [
89        "android.hardware.biometrics.common-V4",
90        "android.hardware.keymaster-V4",
91        "android.hardware.biometrics.face-V4",
92    ],
93    vendor_available: true,
94    unstable: true,
95    backend: {
96        java: {
97            platform_apis: true,
98        },
99        rust: {
100            enabled: false,
101        },
102        cpp: {
103            enabled: false,
104        },
105        ndk: {
106            additional_shared_libraries: [
107                "libnativewindow",
108            ],
109            apex_available: [
110                "com.android.hardware.biometrics.face.virtual",
111                "//apex_available:platform",
112            ],
113        },
114    },
115    frozen: false,
116}
117