From 0e0e546194dc2d066b0257d2b20753e632e493f9 Mon Sep 17 00:00:00 2001 From: Nolen Johnson Date: Tue, 6 Dec 2022 01:25:27 -0500 Subject: [PATCH] g12: Build necessary ndk_platform shims needed by blobs * Really not sure how this works on stock, libs just aren't there. Change-Id: I9720bc74b1f0a5d441fec6ba2569b460ec1b2b79 --- g12.mk | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/g12.mk b/g12.mk index 98e8055..39d4249 100644 --- a/g12.mk +++ b/g12.mk @@ -82,6 +82,9 @@ PRODUCT_PACKAGES += \ ## Keymaster PRODUCT_PACKAGES += \ + android.hardware.security.keymint-V1-ndk_platform.vendor \ + android.hardware.security.secureclock-V1-ndk_platform.vendor \ + android.hardware.security.sharedsecret-V1-ndk_platform.vendor \ lib_android_keymaster_keymint_utils.vendor \ libkeymint.vendor \ libkeymaster_messages.vendor \ @@ -97,6 +100,10 @@ PRODUCT_PACKAGES += \ android.hardware.keymaster@4.1-service endif +## OEM Lock +PRODUCT_PACKAGES += \ + android.hardware.oemlock@1.0.vendor + ## Partitions PRODUCT_USE_DYNAMIC_PARTITIONS := true @@ -116,6 +123,10 @@ PRODUCT_COPY_FILES += \ ## Platform TARGET_AMLOGIC_SOC ?= g12a +## Power +PRODUCT_PACKAGES += \ + android.hardware.power-V2-ndk_platform.vendor + ## Shipping API PRODUCT_SHIPPING_API_LEVEL := 29 -- 2.20.1