Enable linker warning toast for userdebug/eng builds am: 7caea14111
am: a7955c286e
Change-Id: Ia2c0ce8428feb6a3e024f9b78ee6c261bd63d637
This commit is contained in:
commit
44ed2bc58e
|
@ -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}
|
||||
|
||||
|
|
Loading…
Reference in New Issue