Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a7955c28 authored by Dimitry Ivanov's avatar Dimitry Ivanov Committed by android-build-merger
Browse files

Enable linker warning toast for userdebug/eng builds

am: 7caea141

Change-Id: I292da7d7d6b9f85a4108e8150a5e032fd5833e0a
parents 09cdaf1c 7caea141
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -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}