Bob Badour | c22b35b | 2021-02-23 14:26:20 -0800 | [diff] [blame] | 1 | package { |
| 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 Zeuthen | 8160315 | 2020-02-11 22:04:24 -0500 | [diff] [blame] | 10 | aidl_interface { |
| 11 | name: "android.hardware.identity", |
| 12 | vendor_available: true, |
| 13 | srcs: [ |
| 14 | "android/hardware/identity/*.aidl", |
| 15 | ], |
| 16 | imports: [ |
Tri Vo | f48a2a7 | 2022-09-29 16:14:53 -0700 | [diff] [blame] | 17 | "android.hardware.keymaster-V3", |
Seth Moore | 41e97f0 | 2022-11-04 17:39:05 +0000 | [diff] [blame] | 18 | "android.hardware.security.rkp-V3", |
David Zeuthen | 8160315 | 2020-02-11 22:04:24 -0500 | [diff] [blame] | 19 | ], |
| 20 | stability: "vintf", |
Alex Buynytskyy | ec1198d | 2023-04-04 19:52:27 +0000 | [diff] [blame] | 21 | frozen: true, |
David Zeuthen | 8160315 | 2020-02-11 22:04:24 -0500 | [diff] [blame] | 22 | backend: { |
| 23 | java: { |
| 24 | platform_apis: true, |
| 25 | }, |
| 26 | ndk: { |
Seth Moore | 1bf823c | 2022-01-25 23:04:37 +0000 | [diff] [blame] | 27 | apps_enabled: false, |
David Zeuthen | 8160315 | 2020-02-11 22:04:24 -0500 | [diff] [blame] | 28 | }, |
| 29 | }, |
Jiyong Park | 703e979 | 2022-03-22 14:18:48 +0900 | [diff] [blame] | 30 | versions_with_info: [ |
| 31 | { |
| 32 | version: "1", |
| 33 | imports: [ |
| 34 | "android.hardware.keymaster-V3", |
Seth Moore | 41e97f0 | 2022-11-04 17:39:05 +0000 | [diff] [blame] | 35 | "android.hardware.security.rkp-V1", |
Jiyong Park | 703e979 | 2022-03-22 14:18:48 +0900 | [diff] [blame] | 36 | ], |
| 37 | }, |
| 38 | { |
| 39 | version: "2", |
| 40 | imports: [ |
| 41 | "android.hardware.keymaster-V3", |
Seth Moore | 41e97f0 | 2022-11-04 17:39:05 +0000 | [diff] [blame] | 42 | "android.hardware.security.rkp-V1", |
Jiyong Park | 703e979 | 2022-03-22 14:18:48 +0900 | [diff] [blame] | 43 | ], |
| 44 | }, |
| 45 | { |
| 46 | version: "3", |
| 47 | imports: [ |
| 48 | "android.hardware.keymaster-V3", |
Seth Moore | 41e97f0 | 2022-11-04 17:39:05 +0000 | [diff] [blame] | 49 | "android.hardware.security.rkp-V1", |
Jiyong Park | 703e979 | 2022-03-22 14:18:48 +0900 | [diff] [blame] | 50 | ], |
| 51 | }, |
| 52 | { |
| 53 | version: "4", |
| 54 | imports: [ |
| 55 | "android.hardware.keymaster-V3", |
Seth Moore | 41e97f0 | 2022-11-04 17:39:05 +0000 | [diff] [blame] | 56 | "android.hardware.security.rkp-V3", |
Jiyong Park | 703e979 | 2022-03-22 14:18:48 +0900 | [diff] [blame] | 57 | ], |
| 58 | }, |
Alex Buynytskyy | ec1198d | 2023-04-04 19:52:27 +0000 | [diff] [blame] | 59 | { |
| 60 | version: "5", |
| 61 | imports: [ |
| 62 | "android.hardware.keymaster-V3", |
| 63 | "android.hardware.security.rkp-V3", |
| 64 | ], |
| 65 | }, |
Jiyong Park | 703e979 | 2022-03-22 14:18:48 +0900 | [diff] [blame] | 66 | |
David Zeuthen | 28edb10 | 2020-04-28 18:54:55 -0400 | [diff] [blame] | 67 | ], |
Jiyong Park | 703e979 | 2022-03-22 14:18:48 +0900 | [diff] [blame] | 68 | |
David Zeuthen | 8160315 | 2020-02-11 22:04:24 -0500 | [diff] [blame] | 69 | } |
Tri Vo | 25df103 | 2022-09-06 17:19:57 -0700 | [diff] [blame] | 70 | |
| 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. |
| 74 | cc_defaults { |
| 75 | name: "identity_use_latest_hal_aidl_ndk_static", |
| 76 | static_libs: [ |
David Zeuthen | f3e0600 | 2022-10-04 13:17:14 -0400 | [diff] [blame] | 77 | "android.hardware.identity-V5-ndk", |
Tri Vo | 25df103 | 2022-09-06 17:19:57 -0700 | [diff] [blame] | 78 | ], |
| 79 | } |
| 80 | |
| 81 | cc_defaults { |
| 82 | name: "identity_use_latest_hal_aidl_ndk_shared", |
| 83 | shared_libs: [ |
David Zeuthen | f3e0600 | 2022-10-04 13:17:14 -0400 | [diff] [blame] | 84 | "android.hardware.identity-V5-ndk", |
Tri Vo | 25df103 | 2022-09-06 17:19:57 -0700 | [diff] [blame] | 85 | ], |
| 86 | } |
| 87 | |
| 88 | cc_defaults { |
| 89 | name: "identity_use_latest_hal_aidl_cpp_static", |
| 90 | static_libs: [ |
David Zeuthen | f3e0600 | 2022-10-04 13:17:14 -0400 | [diff] [blame] | 91 | "android.hardware.identity-V5-cpp", |
Tri Vo | 25df103 | 2022-09-06 17:19:57 -0700 | [diff] [blame] | 92 | ], |
| 93 | } |