Merge "Add flag to control hidden API warning toasts"

am: 4e6c5218db

Change-Id: I1b297c855efce571a8987d773d2d11f9bf67943a
This commit is contained in:
David Brazdil 2018-01-29 10:27:30 +00:00 committed by android-build-merger
commit 744c286b07
1 changed files with 6 additions and 4 deletions

View File

@ -187,14 +187,16 @@ include build/make/core/pdk_config.mk
#
# -----------------------------------------------------------------
# Enable dynamic linker developer warnings for userdebug, eng
# and non-REL builds
# Enable dynamic linker and hidden API developer warnings for
# userdebug, eng and non-REL builds
ifneq ($(TARGET_BUILD_VARIANT),user)
ADDITIONAL_BUILD_PROPERTIES += ro.bionic.ld.warning=1
ADDITIONAL_BUILD_PROPERTIES += ro.bionic.ld.warning=1 \
ro.art.hiddenapi.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
ADDITIONAL_BUILD_PROPERTIES += ro.bionic.ld.warning=1 \
ro.art.hiddenapi.warning=1
endif
endif