sm8250-common: Ship QTI Gatekeeper HAL

Change-Id: Id3ec1763824fe828b8b43bb3c5ce90901b17fe12
This commit is contained in:
Atakan
2025-08-30 19:46:33 +03:00
parent fbab09e669
commit 2a93073a6f
6 changed files with 69 additions and 29 deletions
+62 -28
View File
@@ -5025,6 +5025,38 @@ cc_prebuilt_library_shared {
soc_specific: true, soc_specific: true,
} }
cc_prebuilt_library_shared {
name: "android.hardware.gatekeeper@1.0-impl-qti",
owner: "samsung",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/hw/android.hardware.gatekeeper@1.0-impl-qti.so",
],
shared_libs: [
"android.hardware.gatekeeper@1.0",
"libhidlbase",
"libutils",
"liblog",
"libcutils",
"libkeymasterdeviceutils",
"libqcbor",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
relative_install_path: "hw",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared { cc_prebuilt_library_shared {
name: "camera.qcom", name: "camera.qcom",
owner: "samsung", owner: "samsung",
@@ -5069,34 +5101,6 @@ cc_prebuilt_library_shared {
soc_specific: true, soc_specific: true,
} }
cc_prebuilt_library_shared {
name: "gatekeeper.mdfpp",
owner: "samsung",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/hw/gatekeeper.mdfpp.so",
],
shared_libs: [
"libQSEEComAPI",
"liblog",
"libcrypto-v33",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
relative_install_path: "hw",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared { cc_prebuilt_library_shared {
name: "vendor.qti.hardware.capabilityconfigstore@1.0-impl", name: "vendor.qti.hardware.capabilityconfigstore@1.0-impl",
owner: "samsung", owner: "samsung",
@@ -10785,6 +10789,36 @@ cc_prebuilt_binary {
soc_specific: true, soc_specific: true,
} }
cc_prebuilt_binary {
name: "android.hardware.gatekeeper@1.0-service-qti",
owner: "samsung",
target: {
android_arm64: {
srcs: [
"proprietary/vendor/bin/hw/android.hardware.gatekeeper@1.0-service-qti",
],
shared_libs: [
"android.hardware.gatekeeper@1.0",
"libhardware",
"libhidlbase",
"libutils",
"liblog",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
strip: {
none: true,
},
prefer: true,
relative_install_path: "hw",
soc_specific: true,
}
cc_prebuilt_binary { cc_prebuilt_binary {
name: "android.hardware.keymaster@4.0-strongbox-service-qti", name: "android.hardware.keymaster@4.0-strongbox-service-qti",
owner: "samsung", owner: "samsung",
Binary file not shown.
@@ -0,0 +1,4 @@
service gatekeeper-1-0 /vendor/bin/hw/android.hardware.gatekeeper@1.0-service-qti
class early_hal
user system
group system 5678
Binary file not shown.
+3 -1
View File
@@ -17,6 +17,7 @@ PRODUCT_COPY_FILES += \
vendor/samsung/sm8250-common/proprietary/vendor/etc/gpfspath_oem_config.xml:$(TARGET_COPY_OUT_VENDOR)/etc/gpfspath_oem_config.xml \ vendor/samsung/sm8250-common/proprietary/vendor/etc/gpfspath_oem_config.xml:$(TARGET_COPY_OUT_VENDOR)/etc/gpfspath_oem_config.xml \
vendor/samsung/sm8250-common/proprietary/vendor/etc/init/android.hardware.bluetooth@1.0-service-qti.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.bluetooth@1.0-service-qti.rc \ vendor/samsung/sm8250-common/proprietary/vendor/etc/init/android.hardware.bluetooth@1.0-service-qti.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.bluetooth@1.0-service-qti.rc \
vendor/samsung/sm8250-common/proprietary/vendor/etc/init/android.hardware.drm@1.3-service.widevine.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.drm@1.3-service.widevine.rc \ vendor/samsung/sm8250-common/proprietary/vendor/etc/init/android.hardware.drm@1.3-service.widevine.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.drm@1.3-service.widevine.rc \
vendor/samsung/sm8250-common/proprietary/vendor/etc/init/android.hardware.gatekeeper@1.0-service-qti.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.gatekeeper@1.0-service-qti.rc \
vendor/samsung/sm8250-common/proprietary/vendor/etc/init/android.hardware.keymaster@4.0-strongbox-service-qti.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.keymaster@4.0-strongbox-service-qti.rc \ vendor/samsung/sm8250-common/proprietary/vendor/etc/init/android.hardware.keymaster@4.0-strongbox-service-qti.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.keymaster@4.0-strongbox-service-qti.rc \
vendor/samsung/sm8250-common/proprietary/vendor/etc/init/android.hardware.neuralnetworks@1.3-service-qti.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.neuralnetworks@1.3-service-qti.rc \ vendor/samsung/sm8250-common/proprietary/vendor/etc/init/android.hardware.neuralnetworks@1.3-service-qti.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.neuralnetworks@1.3-service-qti.rc \
vendor/samsung/sm8250-common/proprietary/vendor/etc/init/dataadpl.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/dataadpl.rc \ vendor/samsung/sm8250-common/proprietary/vendor/etc/init/dataadpl.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/dataadpl.rc \
@@ -229,8 +230,8 @@ PRODUCT_PACKAGES += \
vendor.qti.hardware.audiohalext@1.0 \ vendor.qti.hardware.audiohalext@1.0 \
com.qualcomm.qti.ant@1.0 \ com.qualcomm.qti.ant@1.0 \
android.hardware.bluetooth@1.0-impl-qti \ android.hardware.bluetooth@1.0-impl-qti \
android.hardware.gatekeeper@1.0-impl-qti \
camera.qcom \ camera.qcom \
gatekeeper.mdfpp \
vendor.qti.hardware.capabilityconfigstore@1.0-impl \ vendor.qti.hardware.capabilityconfigstore@1.0-impl \
vendor.qti.hardware.qteeconnector@1.0-impl \ vendor.qti.hardware.qteeconnector@1.0-impl \
libDepthBokehVideo_interface \ libDepthBokehVideo_interface \
@@ -448,6 +449,7 @@ PRODUCT_PACKAGES += \
hvdcp_opti \ hvdcp_opti \
android.hardware.bluetooth@1.0-service-qti \ android.hardware.bluetooth@1.0-service-qti \
android.hardware.drm@1.3-service.widevine \ android.hardware.drm@1.3-service.widevine \
android.hardware.gatekeeper@1.0-service-qti \
android.hardware.keymaster@4.0-strongbox-service-qti \ android.hardware.keymaster@4.0-strongbox-service-qti \
android.hardware.neuralnetworks@1.3-service-qti \ android.hardware.neuralnetworks@1.3-service-qti \
macloader \ macloader \