From 5255a7caa7869b6e16523b3e81c822efb475ae55 Mon Sep 17 00:00:00 2001 From: Ziyang Zhou Date: Sun, 14 Aug 2022 11:52:12 +0800 Subject: [PATCH] refine 64only makefile; enable c2 for 64only builds --- redroid_64only.mk | 3 +++ redroid_64only.prop | 1 + redroid_arm64_only.mk | 2 +- redroid_x86_64_only.mk | 2 +- 4 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 redroid_64only.mk create mode 100644 redroid_64only.prop diff --git a/redroid_64only.mk b/redroid_64only.mk new file mode 100644 index 0000000..71b81f4 --- /dev/null +++ b/redroid_64only.mk @@ -0,0 +1,3 @@ +REDROID_DISABLE_OMX := true + +TARGET_VENDOR_PROP += device/redroid/redroid_64only.prop diff --git a/redroid_64only.prop b/redroid_64only.prop new file mode 100644 index 0000000..a95b8ed --- /dev/null +++ b/redroid_64only.prop @@ -0,0 +1 @@ +ro.boot.use_redroid_c2=1 diff --git a/redroid_arm64_only.mk b/redroid_arm64_only.mk index 444d601..0a82d5d 100644 --- a/redroid_arm64_only.mk +++ b/redroid_arm64_only.mk @@ -15,7 +15,7 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit_only.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base.mk) -REDROID_DISABLE_OMX := true +$(call inherit-product, $(LOCAL_PATH)/redroid_64only.mk) $(call inherit-product, $(LOCAL_PATH)/redroid.mk) $(call inherit-product, $(LOCAL_PATH)/redroid_arm64_only/device.mk) diff --git a/redroid_x86_64_only.mk b/redroid_x86_64_only.mk index ce88975..48b5beb 100644 --- a/redroid_x86_64_only.mk +++ b/redroid_x86_64_only.mk @@ -15,7 +15,7 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit_only.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base.mk) -REDROID_DISABLE_OMX := true +$(call inherit-product, $(LOCAL_PATH)/redroid_64only.mk) $(call inherit-product, $(LOCAL_PATH)/redroid.mk) $(call inherit-product, $(LOCAL_PATH)/redroid_x86_64_only/device.mk)