Files
device_google_redfin/aosp_redfin_64_with_32.mk
Christopher Ferris caa2a07303 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
2022-07-14 13:34:54 -07:00

27 lines
966 B
Makefile

#
# Copyright 2018 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# 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
PRODUCT_MODEL := AOSP on Redfin 64-bit only zygote with 32 bit support