summaryrefslogtreecommitdiff
path: root/aosp_redfin_64_with_32.mk
diff options
context:
space:
mode:
Diffstat (limited to 'aosp_redfin_64_with_32.mk')
-rw-r--r--aosp_redfin_64_with_32.mk26
1 files changed, 26 insertions, 0 deletions
diff --git a/aosp_redfin_64_with_32.mk b/aosp_redfin_64_with_32.mk
new file mode 100644
index 0000000..bfb2c91
--- /dev/null
+++ b/aosp_redfin_64_with_32.mk
@@ -0,0 +1,26 @@
+#
+# 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