LG8n: Build *-v31

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
Shirayuki39 2024-07-17 07:13:34 +08:00
parent 0afdaf3538
commit fefb71b596
2 changed files with 45 additions and 0 deletions

View file

@ -357,6 +357,12 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
PRODUCT_PACKAGES += \
android.hardware.usb-service.transsion
# VNDK
PRODUCT_PACKAGES += \
libutils-v31 \
libhidlbase-v31 \
libbinder-v31
# Vibrator
PRODUCT_PACKAGES += \
android.hardware.vibrator-service.transsion

View file

@ -12,3 +12,42 @@ LOCAL_MODULE_TAGS := optional
LOCAL_CHECK_ELF_FILES := false
LOCAL_VENDOR_MODULE := true
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := libutils-v31
LOCAL_MULTILIB := both
LOCAL_SRC_FILES_arm := v31/arm64/arch-arm-armv8-a/shared/vndk-sp/libutils.so
LOCAL_SRC_FILES_arm64 := v31/arm64/arch-arm64-armv8-a/shared/vndk-sp/libutils.so
LOCAL_MODULE_SUFFIX := .so
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
LOCAL_MODULE_TARGET_ARCH := arm arm64
LOCAL_MODULE_TAGS := optional
LOCAL_CHECK_ELF_FILES := false
LOCAL_VENDOR_MODULE := true
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := libbinder-v31
LOCAL_MULTILIB := both
LOCAL_SRC_FILES_arm := v31/arm64/arch-arm-armv8-a/shared/vndk-core/libbinder.so
LOCAL_SRC_FILES_arm64 := v31/arm64/arch-arm64-armv8-a/shared/vndk-core/libbinder.so
LOCAL_MODULE_SUFFIX := .so
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
LOCAL_MODULE_TARGET_ARCH := arm arm64
LOCAL_MODULE_TAGS := optional
LOCAL_CHECK_ELF_FILES := false
LOCAL_VENDOR_MODULE := true
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := libhidlbase-v31
LOCAL_MULTILIB := both
LOCAL_SRC_FILES_arm := v31/arm64/arch-arm-armv8-a/shared/vndk-sp/libhidlbase.so
LOCAL_SRC_FILES_arm64 := v31/arm64/arch-arm64-armv8-a/shared/vndk-sp/libhidlbase.so
LOCAL_MODULE_SUFFIX := .so
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
LOCAL_MODULE_TARGET_ARCH := arm arm64
LOCAL_MODULE_TAGS := optional
LOCAL_CHECK_ELF_FILES := false
LOCAL_VENDOR_MODULE := true
include $(BUILD_PREBUILT)