Files
hardware_interfaces/secure_element/aidl/default/Android.bp
Jooyung Han 6e2b75d801 Add secure_element HAL APEX
This bundles the default implementation used by the cuttlefish.

Bug: 300011111
Test: VtsHalSecureElementTargetTest
Change-Id: Ib723fcbb6748675f6dae2449aad5a71a54cce594
2023-10-23 14:39:45 +09:00

61 lines
1.4 KiB
Plaintext

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.secure_element-service.example",
relative_install_path: "hw",
vendor: true,
installable: false, // installed in APEX
stl: "c++_static",
shared_libs: [
"libbinder_ndk",
"liblog",
],
static_libs: [
"android.hardware.secure_element-V1-ndk",
"libbase",
],
srcs: [
"main.cpp",
],
}
prebuilt_etc {
name: "secure_element.rc",
src: "secure_element.rc",
installable: false,
}
prebuilt_etc {
name: "secure_element.xml",
src: "secure_element.xml",
sub_dir: "vintf",
installable: false,
}
apex {
name: "com.android.hardware.secure_element",
manifest: "apex_manifest.json",
file_contexts: "apex_file_contexts",
key: "com.android.hardware.key",
certificate: ":com.android.hardware.certificate",
vendor: true,
updatable: false,
binaries: [
"android.hardware.secure_element-service.example",
],
prebuilts: [
"secure_element.rc",
"secure_element.xml",
"android.hardware.se.omapi.ese.prebuilt.xml", // <feature>
],
}