forked from openkylin/platform_build
am 8c444b61: am b97b1e59: Merge "Enable dalvik.vm.lockprof.threshold on eng builds in addition to userdebug"
* commit '8c444b61b3d3fab99f9bd617a8d7705c81e8da7a': Enable dalvik.vm.lockprof.threshold on eng builds in addition to userdebug
This commit is contained in:
commit
4d0595b596
|
@ -325,9 +325,6 @@ ifneq (,$(user_variant))
|
|||
ifeq ($(user_variant),userdebug)
|
||||
# Pick up some extra useful tools
|
||||
tags_to_install += debug
|
||||
|
||||
# Enable Dalvik lock contention logging for userdebug builds.
|
||||
ADDITIONAL_BUILD_PROPERTIES += dalvik.vm.lockprof.threshold=500
|
||||
else
|
||||
# Disable debugging in plain user builds.
|
||||
enable_target_debugging :=
|
||||
|
@ -361,6 +358,8 @@ endif # !user_variant
|
|||
ifeq (true,$(strip $(enable_target_debugging)))
|
||||
# Target is more debuggable and adbd is on by default
|
||||
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_TEST_OTA_KEYS := true
|
||||
else # !enable_target_debugging
|
||||
|
|
Loading…
Reference in New Issue