Merge "Make implicit 32-bit apps on 64-bit target an error"

am: 3163453d0a

Change-Id: Icfcf1f7995f0b285966564091851bce7483aae5e
This commit is contained in:
Anton Hansson
2019-05-15 03:59:03 -07:00
committed by android-build-merger

View File

@@ -181,7 +181,7 @@ endif
# Sanity check to warn about likely cryptic errors later in the build.
ifeq ($(TARGET_IS_64_BIT),true)
ifeq (,$(filter true false,$(TARGET_SUPPORTS_64_BIT_APPS)))
$(warning Building a 32-bit-app-only product on a 64-bit device. \
$(error Building a 32-bit-app-only product on a 64-bit device. \
If this is intentional, set TARGET_SUPPORTS_64_BIT_APPS := false)
endif
endif