blob: da70406055d6b5ee4cb4685f5002343b5b553c7b [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: [
Tri Vof48a2a72022-09-29 16:14:53 -070017 "android.hardware.keymaster-V3",
Seth Moore41e97f02022-11-04 17:39:05 +000018 "android.hardware.security.rkp-V3",
David Zeuthen81603152020-02-11 22:04:24 -050019 ],
20 stability: "vintf",
Alex Buynytskyyec1198d2023-04-04 19:52:27 +000021 frozen: true,
David Zeuthen81603152020-02-11 22:04:24 -050022 backend: {
23 java: {
24 platform_apis: true,
25 },
26 ndk: {
Seth Moore1bf823c2022-01-25 23:04:37 +000027 apps_enabled: false,
David Zeuthen81603152020-02-11 22:04:24 -050028 },
29 },
Jiyong Park703e9792022-03-22 14:18:48 +090030 versions_with_info: [
31 {
32 version: "1",
33 imports: [
34 "android.hardware.keymaster-V3",
Seth Moore41e97f02022-11-04 17:39:05 +000035 "android.hardware.security.rkp-V1",
Jiyong Park703e9792022-03-22 14:18:48 +090036 ],
37 },
38 {
39 version: "2",
40 imports: [
41 "android.hardware.keymaster-V3",
Seth Moore41e97f02022-11-04 17:39:05 +000042 "android.hardware.security.rkp-V1",
Jiyong Park703e9792022-03-22 14:18:48 +090043 ],
44 },
45 {
46 version: "3",
47 imports: [
48 "android.hardware.keymaster-V3",
Seth Moore41e97f02022-11-04 17:39:05 +000049 "android.hardware.security.rkp-V1",
Jiyong Park703e9792022-03-22 14:18:48 +090050 ],
51 },
52 {
53 version: "4",
54 imports: [
55 "android.hardware.keymaster-V3",
Seth Moore41e97f02022-11-04 17:39:05 +000056 "android.hardware.security.rkp-V3",
Jiyong Park703e9792022-03-22 14:18:48 +090057 ],
58 },
Alex Buynytskyyec1198d2023-04-04 19:52:27 +000059 {
60 version: "5",
61 imports: [
62 "android.hardware.keymaster-V3",
63 "android.hardware.security.rkp-V3",
64 ],
65 },
Jiyong Park703e9792022-03-22 14:18:48 +090066
David Zeuthen28edb102020-04-28 18:54:55 -040067 ],
Jiyong Park703e9792022-03-22 14:18:48 +090068
David Zeuthen81603152020-02-11 22:04:24 -050069}
Tri Vo25df1032022-09-06 17:19:57 -070070
71// cc_defaults that includes the latest Identity AIDL library.
72// Modules that depend on Identity directly can include this cc_defaults to
73// avoid managing dependency versions explicitly.
74cc_defaults {
75 name: "identity_use_latest_hal_aidl_ndk_static",
76 static_libs: [
David Zeuthenf3e06002022-10-04 13:17:14 -040077 "android.hardware.identity-V5-ndk",
Tri Vo25df1032022-09-06 17:19:57 -070078 ],
79}
80
81cc_defaults {
82 name: "identity_use_latest_hal_aidl_ndk_shared",
83 shared_libs: [
David Zeuthenf3e06002022-10-04 13:17:14 -040084 "android.hardware.identity-V5-ndk",
Tri Vo25df1032022-09-06 17:19:57 -070085 ],
86}
87
88cc_defaults {
89 name: "identity_use_latest_hal_aidl_cpp_static",
90 static_libs: [
David Zeuthenf3e06002022-10-04 13:17:14 -040091 "android.hardware.identity-V5-cpp",
Tri Vo25df1032022-09-06 17:19:57 -070092 ],
93}