Merge "Enable core platform API warnings on non-user builds" am: 20bc556e2e

am: 8898b076f5

Change-Id: I7ff7da1988d825608f93d8770d0b37072d71832f
This commit is contained in:
David Brazdil 2019-04-15 14:21:22 -07:00 committed by android-build-merger
commit ba61df39f3
1 changed files with 6 additions and 2 deletions

View File

@ -218,8 +218,7 @@ include build/make/core/pdk_config.mk
#
# -----------------------------------------------------------------
# Enable dynamic linker and hidden API developer warnings for
# userdebug, eng and non-REL builds
# 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
@ -257,6 +256,11 @@ ifneq (,$(PRODUCT_SYSTEM_SERVER_COMPILER_FILTER))
ADDITIONAL_PRODUCT_PROPERTIES += dalvik.vm.systemservercompilerfilter=$(PRODUCT_SYSTEM_SERVER_COMPILER_FILTER)
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.
# Device board config should override the value to /product when needed by:
#