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: [ |
| 17 | "android.hardware.keymaster", |
Seth Moore | 1bf823c | 2022-01-25 23:04:37 +0000 | [diff] [blame] | 18 | "android.hardware.security.keymint", |
David Zeuthen | 8160315 | 2020-02-11 22:04:24 -0500 | [diff] [blame] | 19 | ], |
| 20 | stability: "vintf", |
| 21 | backend: { |
| 22 | java: { |
| 23 | platform_apis: true, |
| 24 | }, |
| 25 | ndk: { |
Seth Moore | 1bf823c | 2022-01-25 23:04:37 +0000 | [diff] [blame] | 26 | apps_enabled: false, |
David Zeuthen | 8160315 | 2020-02-11 22:04:24 -0500 | [diff] [blame] | 27 | }, |
| 28 | }, |
Jiyong Park | 703e979 | 2022-03-22 14:18:48 +0900 | [diff] [blame] | 29 | 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 Zeuthen | 28edb10 | 2020-04-28 18:54:55 -0400 | [diff] [blame] | 59 | ], |
Jiyong Park | 703e979 | 2022-03-22 14:18:48 +0900 | [diff] [blame] | 60 | |
David Zeuthen | 8160315 | 2020-02-11 22:04:24 -0500 | [diff] [blame] | 61 | } |
Tri Vo | 25df103 | 2022-09-06 17:19:57 -0700 | [diff] [blame] | 62 | |
| 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. |
| 66 | cc_defaults { |
| 67 | name: "identity_use_latest_hal_aidl_ndk_static", |
| 68 | static_libs: [ |
| 69 | "android.hardware.identity-V4-ndk", |
| 70 | ], |
| 71 | } |
| 72 | |
| 73 | cc_defaults { |
| 74 | name: "identity_use_latest_hal_aidl_ndk_shared", |
| 75 | shared_libs: [ |
| 76 | "android.hardware.identity-V4-ndk", |
| 77 | ], |
| 78 | } |
| 79 | |
| 80 | cc_defaults { |
| 81 | name: "identity_use_latest_hal_aidl_cpp_static", |
| 82 | static_libs: [ |
| 83 | "android.hardware.identity-V4-cpp", |
| 84 | ], |
| 85 | } |