Enable dalvik.vm.lockprof.threshold on eng builds in addition to userdebug
Bug: 17572009 Change-Id: I0cfc1aa2dd93a8dac21d23d813801c74ed37079a
This commit is contained in:
@@ -329,9 +329,6 @@ ifneq (,$(user_variant))
|
|||||||
ifeq ($(user_variant),userdebug)
|
ifeq ($(user_variant),userdebug)
|
||||||
# Pick up some extra useful tools
|
# Pick up some extra useful tools
|
||||||
tags_to_install += debug
|
tags_to_install += debug
|
||||||
|
|
||||||
# Enable Dalvik lock contention logging for userdebug builds.
|
|
||||||
ADDITIONAL_BUILD_PROPERTIES += dalvik.vm.lockprof.threshold=500
|
|
||||||
else
|
else
|
||||||
# Disable debugging in plain user builds.
|
# Disable debugging in plain user builds.
|
||||||
enable_target_debugging :=
|
enable_target_debugging :=
|
||||||
@@ -365,6 +362,8 @@ endif # !user_variant
|
|||||||
ifeq (true,$(strip $(enable_target_debugging)))
|
ifeq (true,$(strip $(enable_target_debugging)))
|
||||||
# Target is more debuggable and adbd is on by default
|
# Target is more debuggable and adbd is on by default
|
||||||
ADDITIONAL_DEFAULT_PROPERTIES += ro.debuggable=1
|
ADDITIONAL_DEFAULT_PROPERTIES += ro.debuggable=1
|
||||||
|
# Enable Dalvik lock contention logging.
|
||||||
|
ADDITIONAL_BUILD_PROPERTIES += dalvik.vm.lockprof.threshold=500
|
||||||
# Include the debugging/testing OTA keys in this build.
|
# Include the debugging/testing OTA keys in this build.
|
||||||
INCLUDE_TEST_OTA_KEYS := true
|
INCLUDE_TEST_OTA_KEYS := true
|
||||||
else # !enable_target_debugging
|
else # !enable_target_debugging
|
||||||
|
Reference in New Issue
Block a user