| package { |
| // See: http://go/android-license-faq |
| // A large-scale-change added 'default_applicable_licenses' to import |
| // all of the 'license_kinds' from "hardware_interfaces_license" |
| // to get the below license kinds: |
| // SPDX-license-identifier-Apache-2.0 |
| default_applicable_licenses: ["hardware_interfaces_license"], |
| } |
| |
| cc_binary { |
| name: "android.hardware.security.keymint-service", |
| relative_install_path: "hw", |
| init_rc: ["android.hardware.security.keymint-service.rc"], |
| vintf_fragments: [ |
| "android.hardware.security.keymint-service.xml", |
| "android.hardware.security.sharedsecret-service.xml", |
| "android.hardware.security.secureclock-service.xml", |
| ], |
| vendor: true, |
| cflags: [ |
| "-Wall", |
| "-Wextra", |
| ], |
| defaults: [ |
| "keymint_use_latest_hal_aidl_ndk_shared", |
| ], |
| shared_libs: [ |
| "android.hardware.security.rkp-V3-ndk", |
| "android.hardware.security.sharedsecret-V1-ndk", |
| "android.hardware.security.secureclock-V1-ndk", |
| "libbase", |
| "libbinder_ndk", |
| "libcppbor_external", |
| "libcrypto", |
| "libkeymaster_portable", |
| "libkeymint", |
| "liblog", |
| "libpuresoftkeymasterdevice", |
| "libutils", |
| ], |
| srcs: [ |
| "service.cpp", |
| ], |
| required: [ |
| "android.hardware.hardware_keystore.xml", |
| ], |
| } |
| |
| prebuilt_etc { |
| name: "android.hardware.hardware_keystore.xml", |
| sub_dir: "permissions", |
| vendor: true, |
| src: "android.hardware.hardware_keystore.xml", |
| } |