Build: More tombstones in userdebug
For devices using core_minimal, set the number of retained
tombstones in userdebug and eng builds to 50. This will help
with dogfooding.
(cherry picked from commit 47e137f357
)
Bug: 63131375
Test: lunch bullhead_userdebug && m && fastboot flashall && adb getprop tombstoned.max_tombstone_count
Change-Id: I163d40f7a8f73df1af1228309d7a7a95511bdef9
This commit is contained in:
parent
ae67473255
commit
427e49e0da
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue