mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-02-01 07:50:47 +00:00
Wahoo: Add minidebug-info to system server
Add minidebug-info to the system server jars, in an effort to help diagnose native crashes. Bug: 62823069 Test: m Test: readelf -e $OUT/system/framework/oat/arm64/services.odex | grep gnu_debugdata Change-Id: I3c5ac5791bd869ab596809aa177a1c903617bef8
This commit is contained in:
@@ -579,3 +579,11 @@ PRODUCT_PROPERTY_OVERRIDES += \
|
||||
# Add an extra 10% saturation to display colors
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
persist.sys.sf.color_saturation=1.1
|
||||
|
||||
# Add minidebug info to the system server to support diagnosing native crashes.
|
||||
ifneq (,$(filter user userdebug, $(TARGET_BUILD_VARIANT)))
|
||||
# System server and some of its services.
|
||||
# Note: we cannot use PRODUCT_SYSTEM_SERVER_JARS, as it has not been expanded at this point.
|
||||
$(call add-product-dex-preopt-module-config,services,--generate-mini-debug-info)
|
||||
$(call add-product-dex-preopt-module-config,wifi-service,--generate-mini-debug-info)
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user