peridot: Build AOSP NXP keymint HAL
Change-Id: I08cfb12690068330c0c849503020d3cc5a17cc6b
This commit is contained in:
-257
@@ -39,32 +39,6 @@ cc_prebuilt_library_shared {
|
||||
prefer: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "android.hardware.security.keymintperidot",
|
||||
owner: "xiaomi",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: [
|
||||
"proprietary/vendor/lib64/android.hardware.security.keymintperidot.so",
|
||||
],
|
||||
shared_libs: [
|
||||
"libbinder_ndk",
|
||||
"android.hardware.security.secureclock-V1-ndk",
|
||||
"libc++",
|
||||
"libc",
|
||||
"libm",
|
||||
"libdl",
|
||||
],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "btaudio_offload_if",
|
||||
owner: "xiaomi",
|
||||
@@ -590,38 +564,6 @@ cc_prebuilt_library_shared {
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "ese_weaver",
|
||||
owner: "xiaomi",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: [
|
||||
"proprietary/vendor/lib64/ese_weaver.so",
|
||||
],
|
||||
shared_libs: [
|
||||
"android.se.omapi-V1-ndk",
|
||||
"libcutils",
|
||||
"libjc_keymint_transport_nxp",
|
||||
"libhardware",
|
||||
"libhidlbase",
|
||||
"libutils",
|
||||
"liblog",
|
||||
"libbinder_ndk",
|
||||
"libc++",
|
||||
"libc",
|
||||
"libm",
|
||||
"libdl",
|
||||
],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "android.hardware.bluetooth.audio-impl-qti",
|
||||
owner: "xiaomi",
|
||||
@@ -3985,32 +3927,6 @@ cc_prebuilt_library_shared {
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libcppbor_peridot",
|
||||
owner: "xiaomi",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: [
|
||||
"proprietary/vendor/lib64/libcppbor_peridot.so",
|
||||
],
|
||||
shared_libs: [
|
||||
"libbase",
|
||||
"libcrypto",
|
||||
"libc++",
|
||||
"libc",
|
||||
"libm",
|
||||
"libdl",
|
||||
],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libcustomva_intf",
|
||||
owner: "xiaomi",
|
||||
@@ -5811,82 +5727,6 @@ cc_prebuilt_library_shared {
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libjc_keymint_nxp",
|
||||
owner: "xiaomi",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: [
|
||||
"proprietary/vendor/lib64/libjc_keymint_nxp.so",
|
||||
],
|
||||
shared_libs: [
|
||||
"android.hardware.security.rkp-V3-ndk",
|
||||
"android.hardware.security.secureclock-V1-ndk",
|
||||
"android.hardware.security.sharedsecret-V1-ndk",
|
||||
"lib_android_keymaster_keymint_utils",
|
||||
"libbase",
|
||||
"libbinder",
|
||||
"libcppbor_peridot",
|
||||
"libkeymaster_portable",
|
||||
"libkeymaster_messages",
|
||||
"libsoft_attestation_cert",
|
||||
"liblog",
|
||||
"libcrypto",
|
||||
"libcutils",
|
||||
"libjc_keymint_transport_nxp",
|
||||
"libbinder_ndk",
|
||||
"libmemunreachable",
|
||||
"android.hardware.security.keymintperidot",
|
||||
"libc++",
|
||||
"libc",
|
||||
"libm",
|
||||
"libdl",
|
||||
],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libjc_keymint_transport_nxp",
|
||||
owner: "xiaomi",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: [
|
||||
"proprietary/vendor/lib64/libjc_keymint_transport_nxp.so",
|
||||
],
|
||||
shared_libs: [
|
||||
"android.hardware.secure_element@1.0",
|
||||
"android.hardware.secure_element@1.1",
|
||||
"android.hardware.secure_element@1.2",
|
||||
"android.se.omapi-V1-ndk",
|
||||
"libbase",
|
||||
"liblog",
|
||||
"libcutils",
|
||||
"libutils",
|
||||
"libhardware",
|
||||
"libhidlbase",
|
||||
"libbinder_ndk",
|
||||
"libc++",
|
||||
"libc",
|
||||
"libm",
|
||||
"libdl",
|
||||
],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libjnihelper",
|
||||
owner: "xiaomi",
|
||||
@@ -37676,33 +37516,6 @@ prebuilt_etc_xml {
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
prebuilt_etc_xml {
|
||||
name: "android.hardware.security.keymint3-service.strongbox-nxp.xml",
|
||||
owner: "xiaomi",
|
||||
src: "proprietary/vendor/etc/vintf/manifest/android.hardware.security.keymint3-service.strongbox-nxp.xml",
|
||||
filename_from_src: true,
|
||||
sub_dir: "vintf/manifest",
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
prebuilt_etc_xml {
|
||||
name: "android.hardware.security.sharedsecret3-service.strongbox-nxp.xml",
|
||||
owner: "xiaomi",
|
||||
src: "proprietary/vendor/etc/vintf/manifest/android.hardware.security.sharedsecret3-service.strongbox-nxp.xml",
|
||||
filename_from_src: true,
|
||||
sub_dir: "vintf/manifest",
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
prebuilt_etc_xml {
|
||||
name: "android.hardware.weaver-service.nxp-qti.xml",
|
||||
owner: "xiaomi",
|
||||
src: "proprietary/vendor/etc/vintf/manifest/android.hardware.weaver-service.nxp-qti.xml",
|
||||
filename_from_src: true,
|
||||
sub_dir: "vintf/manifest",
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
prebuilt_etc_xml {
|
||||
name: "atfwd-saidl.xml",
|
||||
owner: "xiaomi",
|
||||
@@ -38866,76 +38679,6 @@ cc_prebuilt_binary {
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_binary {
|
||||
name: "android.hardware.security.keymint-service.strongbox-nxp",
|
||||
owner: "xiaomi",
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: [
|
||||
"proprietary/vendor/bin/hw/android.hardware.security.keymint-service.strongbox-nxp",
|
||||
],
|
||||
shared_libs: [
|
||||
"android.hardware.security.rkp-V3-ndk",
|
||||
"android.hardware.security.sharedsecret-V1-ndk",
|
||||
"lib_android_keymaster_keymint_utils",
|
||||
"android.se.omapi-V1-ndk",
|
||||
"libbase",
|
||||
"libbinder_ndk",
|
||||
"libcppbor_peridot",
|
||||
"libcrypto",
|
||||
"libkeymaster_portable",
|
||||
"libjc_keymint_nxp",
|
||||
"libjc_keymint_transport_nxp",
|
||||
"liblog",
|
||||
"libutils",
|
||||
"libhidlbase",
|
||||
"android.hardware.security.keymintperidot",
|
||||
"libc++",
|
||||
"libc",
|
||||
"libm",
|
||||
"libdl",
|
||||
],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
prefer: true,
|
||||
relative_install_path: "hw",
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_binary {
|
||||
name: "android.hardware.weaver-service.nxp-qti",
|
||||
owner: "xiaomi",
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: [
|
||||
"proprietary/vendor/bin/hw/android.hardware.weaver-service.nxp-qti",
|
||||
],
|
||||
shared_libs: [
|
||||
"android.hardware.weaver-V2-ndk",
|
||||
"libbase",
|
||||
"libbinder_ndk",
|
||||
"liblog",
|
||||
"ese_weaver",
|
||||
"libc++",
|
||||
"libc",
|
||||
"libm",
|
||||
"libdl",
|
||||
],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
prefer: true,
|
||||
relative_install_path: "hw",
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_binary {
|
||||
name: "qconfigservice",
|
||||
owner: "xiaomi",
|
||||
|
||||
@@ -915,8 +915,6 @@ PRODUCT_COPY_FILES += \
|
||||
vendor/xiaomi/peridot/proprietary/vendor/etc/init/android.hardware.gatekeeper-service-qti.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.gatekeeper-service-qti.rc \
|
||||
vendor/xiaomi/peridot/proprietary/vendor/etc/init/android.hardware.secure_element-service.qti.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.secure_element-service.qti.rc \
|
||||
vendor/xiaomi/peridot/proprietary/vendor/etc/init/android.hardware.security.keymint-service-qti.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.security.keymint-service-qti.rc \
|
||||
vendor/xiaomi/peridot/proprietary/vendor/etc/init/android.hardware.security.keymint-service.strongbox-nxp.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.security.keymint-service.strongbox-nxp.rc \
|
||||
vendor/xiaomi/peridot/proprietary/vendor/etc/init/android.hardware.weaver-service.nxp-qti.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.weaver-service.nxp-qti.rc \
|
||||
vendor/xiaomi/peridot/proprietary/vendor/etc/init/cnd.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/cnd.rc \
|
||||
vendor/xiaomi/peridot/proprietary/vendor/etc/init/com.qualcomm.qti.wifidisplayhal@1.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/com.qualcomm.qti.wifidisplayhal@1.0-service.rc \
|
||||
vendor/xiaomi/peridot/proprietary/vendor/etc/init/dataadpl.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/dataadpl.rc \
|
||||
@@ -986,7 +984,6 @@ PRODUCT_COPY_FILES += \
|
||||
vendor/xiaomi/peridot/proprietary/vendor/etc/models/acd/speech.eai:$(TARGET_COPY_OUT_VENDOR)/etc/models/acd/speech.eai \
|
||||
vendor/xiaomi/peridot/proprietary/vendor/etc/models/vui/sm8_gr1UsPdk6XsMfcn220819Enpu4FloateAIv34.uim:$(TARGET_COPY_OUT_VENDOR)/etc/models/vui/sm8_gr1UsPdk6XsMfcn220819Enpu4FloateAIv34.uim \
|
||||
vendor/xiaomi/peridot/proprietary/vendor/etc/models/vui/sm8_gr3UsMFCN230612eAIv34ENPUv4Float.uim:$(TARGET_COPY_OUT_VENDOR)/etc/models/vui/sm8_gr3UsMFCN230612eAIv34ENPUv4Float.uim \
|
||||
vendor/xiaomi/peridot/proprietary/vendor/etc/permissions/android.hardware.hardware_keystore.jc-strongbox-keymint3-nxp.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.hardware_keystore.jc-strongbox-keymint3-nxp.xml \
|
||||
vendor/xiaomi/peridot/proprietary/vendor/etc/permissions/noRil/apq_excluded_telephony_features.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/noRil/apq_excluded_telephony_features.xml \
|
||||
vendor/xiaomi/peridot/proprietary/vendor/etc/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt \
|
||||
vendor/xiaomi/peridot/proprietary/vendor/etc/qcril_database/upgrade/config/0006.0_config.sql:$(TARGET_COPY_OUT_VENDOR)/etc/qcril_database/upgrade/config/0006.0_config.sql \
|
||||
@@ -1064,7 +1061,6 @@ PRODUCT_COPY_FILES += \
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
vendor.qti.diaghal-V1-ndk \
|
||||
android.hardware.security.keymintperidot \
|
||||
btaudio_offload_if \
|
||||
com.qualcomm.qti.dpm.api@1.0 \
|
||||
com.qualcomm.qti.imscmservice@1.0 \
|
||||
@@ -1082,7 +1078,6 @@ PRODUCT_PACKAGES += \
|
||||
libGLESv2_adreno \
|
||||
libq3dtools_adreno \
|
||||
libq3dtools_esx \
|
||||
ese_weaver \
|
||||
android.hardware.bluetooth.audio-impl-qti \
|
||||
android.hardware.bluetooth@1.0-impl-qti \
|
||||
android.hardware.bluetooth@1.1-impl-qti \
|
||||
@@ -1192,7 +1187,6 @@ PRODUCT_PACKAGES += \
|
||||
libcneqmiutils \
|
||||
libconfigdb \
|
||||
libcpion \
|
||||
libcppbor_peridot \
|
||||
libcustomva_intf \
|
||||
libcv_common \
|
||||
libdataitems \
|
||||
@@ -1254,8 +1248,6 @@ PRODUCT_PACKAGES += \
|
||||
libintervmipc \
|
||||
libizat_client_api \
|
||||
libizat_core \
|
||||
libjc_keymint_nxp \
|
||||
libjc_keymint_transport_nxp \
|
||||
libjnihelper \
|
||||
libkaraokepal \
|
||||
libkcl \
|
||||
@@ -2300,9 +2292,6 @@ PRODUCT_PACKAGES += \
|
||||
android.hardware.radio.voice.xml \
|
||||
android.hardware.secure_element.xml \
|
||||
android.hardware.security.keymint-service-qti.xml \
|
||||
android.hardware.security.keymint3-service.strongbox-nxp.xml \
|
||||
android.hardware.security.sharedsecret3-service.strongbox-nxp.xml \
|
||||
android.hardware.weaver-service.nxp-qti.xml \
|
||||
atfwd-saidl.xml \
|
||||
bttpi-saidl.xml \
|
||||
c2_manifest_vendor.xml \
|
||||
@@ -2374,8 +2363,6 @@ PRODUCT_PACKAGES += \
|
||||
android.hardware.gatekeeper-service-qti \
|
||||
android.hardware.secure_element-service.qti \
|
||||
android.hardware.security.keymint-service-qti \
|
||||
android.hardware.security.keymint-service.strongbox-nxp \
|
||||
android.hardware.weaver-service.nxp-qti \
|
||||
qconfigservice \
|
||||
qcrilNrd \
|
||||
vendor.qti.hardware.alarm-service \
|
||||
|
||||
BIN
Binary file not shown.
Binary file not shown.
-5
@@ -1,5 +0,0 @@
|
||||
service vendor.keymint-strongbox /vendor/bin/hw/android.hardware.security.keymint-service.strongbox-nxp
|
||||
class early_hal
|
||||
user vendor_nxp_strongbox
|
||||
group vendor_nxp_strongbox
|
||||
capabilities WAKE_ALARM
|
||||
@@ -1,4 +0,0 @@
|
||||
service vendor.weaver_nxp /vendor/bin/hw/android.hardware.weaver-service.nxp-qti
|
||||
class hal
|
||||
user vendor_nxp_weaver
|
||||
group system drmrpc
|
||||
Vendored
-16
@@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2018 The Android Open Source Project
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<!-- Feature for devices with Keymaster in StrongBox. -->
|
||||
<permissions>
|
||||
<feature name="android.hardware.strongbox_keystore" version="300"/>
|
||||
</permissions>
|
||||
Vendored
-12
@@ -1,12 +0,0 @@
|
||||
<manifest version="1.0" type="device">
|
||||
<hal format="aidl">
|
||||
<name>android.hardware.security.keymint</name>
|
||||
<version>3</version>
|
||||
<fqname>IKeyMintDevice/strongbox</fqname>
|
||||
</hal>
|
||||
<hal format="aidl">
|
||||
<name>android.hardware.security.keymint</name>
|
||||
<version>3</version>
|
||||
<fqname>IRemotelyProvisionedComponent/strongbox</fqname>
|
||||
</hal>
|
||||
</manifest>
|
||||
-6
@@ -1,6 +0,0 @@
|
||||
<manifest version="1.0" type="device">
|
||||
<hal format="aidl">
|
||||
<name>android.hardware.security.sharedsecret</name>
|
||||
<fqname>ISharedSecret/strongbox</fqname>
|
||||
</hal>
|
||||
</manifest>
|
||||
-10
@@ -1,10 +0,0 @@
|
||||
<manifest version="1.0" type="device">
|
||||
<hal format="aidl">
|
||||
<name>android.hardware.weaver</name>
|
||||
<version>2</version>
|
||||
<interface>
|
||||
<name>IWeaver</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
</manifest>
|
||||
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user