Merge "Build: More tombstones in userdebug"

This commit is contained in:
Treehugger Robot 2017-07-07 15:17:03 +00:00 committed by Gerrit Code Review
commit 5378d0a7eb
1 changed files with 6 additions and 0 deletions

View File

@ -136,5 +136,11 @@ PRODUCT_COPY_FILES += \
PRODUCT_COPY_FILES += $(call add-to-product-copy-files-if-exists,\
frameworks/base/compiled-classes-phone:system/etc/compiled-classes)
# On userdebug builds, collect more tombstones by default.
ifneq (,$(filter userdebug eng,$(TARGET_BUILD_VARIANT)))
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
tombstoned.max_tombstone_count=50
endif
$(call inherit-product, $(SRC_TARGET_DIR)/product/runtime_libart.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/base.mk)