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

Commit 55c04ffd authored by Han Wang's avatar Han Wang Committed by Michael Bestas
Browse files

Enable dynamic linker warnings only on eng build

 * Users get confused by these

Change-Id: I9582f465091542e68e230282bb8dcfbb5c2ed3ad
parent 33aa2396
Loading
Loading
Loading
Loading
+2 −7
Original line number Diff line number Diff line
@@ -218,15 +218,10 @@ include build/make/core/pdk_config.mk

#
# -----------------------------------------------------------------
# Enable dynamic linker 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)
# Enable dynamic linker warnings for eng builds
ifeq ($(TARGET_BUILD_VARIANT),eng)
  ADDITIONAL_BUILD_PROPERTIES += ro.bionic.ld.warning=1
endif
endif

ADDITIONAL_BUILD_PROPERTIES += ro.treble.enabled=${PRODUCT_FULL_TREBLE}