refine 64only makefile; enable c2 for 64only builds

This commit is contained in:
Ziyang Zhou
2022-08-14 11:52:12 +08:00
parent 7e9daa196f
commit 45721b6f00
4 changed files with 6 additions and 2 deletions

3
redroid_64only.mk Normal file
View File

@@ -0,0 +1,3 @@
REDROID_DISABLE_OMX := true
TARGET_VENDOR_PROP += device/redroid/redroid_64only.prop

1
redroid_64only.prop Normal file
View File

@@ -0,0 +1 @@
ro.boot.use_redroid_c2=1

View File

@@ -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)

View File

@@ -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)