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

Commit 20bc556e authored by David Brazdil's avatar David Brazdil Committed by Gerrit Code Review
Browse files

Merge "Enable core platform API warnings on non-user builds"

parents d18be7f8 f5b3fc85
Loading
Loading
Loading
Loading
+6 −2
Original line number Original line Diff line number Diff line
@@ -218,8 +218,7 @@ include build/make/core/pdk_config.mk


#
#
# -----------------------------------------------------------------
# -----------------------------------------------------------------
# Enable dynamic linker and hidden API developer warnings for
# Enable dynamic linker warnings for userdebug, eng and non-REL builds
# userdebug, eng and non-REL builds
ifneq ($(TARGET_BUILD_VARIANT),user)
ifneq ($(TARGET_BUILD_VARIANT),user)
  ADDITIONAL_BUILD_PROPERTIES += ro.bionic.ld.warning=1
  ADDITIONAL_BUILD_PROPERTIES += ro.bionic.ld.warning=1
else
else
@@ -257,6 +256,11 @@ ifneq (,$(PRODUCT_SYSTEM_SERVER_COMPILER_FILTER))
ADDITIONAL_PRODUCT_PROPERTIES += dalvik.vm.systemservercompilerfilter=$(PRODUCT_SYSTEM_SERVER_COMPILER_FILTER)
ADDITIONAL_PRODUCT_PROPERTIES += dalvik.vm.systemservercompilerfilter=$(PRODUCT_SYSTEM_SERVER_COMPILER_FILTER)
endif
endif


# Enable core platform API violation warnings on userdebug and eng builds.
ifneq ($(TARGET_BUILD_VARIANT),user)
ADDITIONAL_BUILD_PROPERTIES += persist.debug.dalvik.vm.core_platform_api_policy=just-warn
endif

# Sets the default value of ro.postinstall.fstab.prefix to /system.
# Sets the default value of ro.postinstall.fstab.prefix to /system.
# Device board config should override the value to /product when needed by:
# Device board config should override the value to /product when needed by:
#
#