blob: 57451ed53e3615a2eed3cd14849818eeb0f2f906 [file] [log] [blame]
Bob Badourc22b35b2021-02-23 14:26:20 -08001package {
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
David Zeuthen81603152020-02-11 22:04:24 -050010aidl_interface {
11 name: "android.hardware.identity",
12 vendor_available: true,
13 srcs: [
14 "android/hardware/identity/*.aidl",
15 ],
16 imports: [
17 "android.hardware.keymaster",
Seth Moore1bf823c2022-01-25 23:04:37 +000018 "android.hardware.security.keymint",
David Zeuthen81603152020-02-11 22:04:24 -050019 ],
20 stability: "vintf",
21 backend: {
22 java: {
23 platform_apis: true,
24 },
25 ndk: {
Seth Moore1bf823c2022-01-25 23:04:37 +000026 apps_enabled: false,
David Zeuthen81603152020-02-11 22:04:24 -050027 },
28 },
Jiyong Park703e9792022-03-22 14:18:48 +090029 versions_with_info: [
30 {
31 version: "1",
32 imports: [
33 "android.hardware.keymaster-V3",
34 "android.hardware.security.keymint-V1",
35 ],
36 },
37 {
38 version: "2",
39 imports: [
40 "android.hardware.keymaster-V3",
41 "android.hardware.security.keymint-V1",
42 ],
43 },
44 {
45 version: "3",
46 imports: [
47 "android.hardware.keymaster-V3",
48 "android.hardware.security.keymint-V1",
49 ],
50 },
51 {
52 version: "4",
53 imports: [
54 "android.hardware.keymaster-V3",
55 "android.hardware.security.keymint-V2",
56 ],
57 },
58
David Zeuthen28edb102020-04-28 18:54:55 -040059 ],
Jiyong Park703e9792022-03-22 14:18:48 +090060
David Zeuthen81603152020-02-11 22:04:24 -050061}
Tri Vo25df1032022-09-06 17:19:57 -070062
63// cc_defaults that includes the latest Identity AIDL library.
64// Modules that depend on Identity directly can include this cc_defaults to
65// avoid managing dependency versions explicitly.
66cc_defaults {
67 name: "identity_use_latest_hal_aidl_ndk_static",
68 static_libs: [
69 "android.hardware.identity-V4-ndk",
70 ],
71}
72
73cc_defaults {
74 name: "identity_use_latest_hal_aidl_ndk_shared",
75 shared_libs: [
76 "android.hardware.identity-V4-ndk",
77 ],
78}
79
80cc_defaults {
81 name: "identity_use_latest_hal_aidl_cpp_static",
82 static_libs: [
83 "android.hardware.identity-V4-cpp",
84 ],
85}