Force compile all targets as 64 bit.

When building this image, there are a few executables that are
prefer32. Setting this variable will force all of those targets to be
compiled as 64 bit.

Test: With this option, drmserver/mediaserver are built as 64 bit.
Test: Without this option, drmserver/mediaserver are built as 32 bit.
Change-Id: I520e381950ddb0b7bce52ca38a4fd27e4cf0683c
This commit is contained in:
Christopher Ferris
2022-07-13 23:48:59 -07:00
parent 87cf7941b8
commit caa2a07303

View File

@@ -17,6 +17,9 @@
# Build all of the 32 bit code, but only the vendor partition enables 64 bit.
ZYGOTE_FORCE_64 := true
# Force any prefer32 targets to be compiled as 64 bit.
IGNORE_PREFER32_ON_DEVICE := true
$(call inherit-product, device/google/redfin/aosp_redfin.mk)
PRODUCT_NAME := aosp_redfin_64_with_32