Enable linker warning toast for userdebug/eng builds

am: 7caea14111

Change-Id: I292da7d7d6b9f85a4108e8150a5e032fd5833e0a
This commit is contained in:
Dimitry Ivanov 2017-06-23 00:35:35 +00:00 committed by android-build-merger
commit a7955c286e
1 changed files with 7 additions and 2 deletions

View File

@ -187,11 +187,16 @@ include build/core/pdk_config.mk
#
# -----------------------------------------------------------------
# Enable dynamic linker developer warnings for all builds except
# final release.
# Enable dynamic linker developer warnings for userdebug, eng
# and non-REL builds
ifneq ($(TARGET_BUILD_VARIANT),user)
ADDITIONAL_BUILD_PROPERTIES += ro.bionic.ld.warning=1
else
# Enable it for user builds as long as they are not final.
ifneq ($(PLATFORM_VERSION_CODENAME),REL)
ADDITIONAL_BUILD_PROPERTIES += ro.bionic.ld.warning=1
endif
endif
ADDITIONAL_BUILD_PROPERTIES += ro.treble.enabled=${PRODUCT_FULL_TREBLE}