make it possible to disable internal tracing in unofficial builds
Add a tracing_like_official_build gyp setting, which works similarly to the logging_like_official_build setting. Review URL: https://chromiumcodereview.appspot.com/18333010 git-svn-id: http://src.chromium.org/svn/trunk/src/build@210650 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
Родитель
d3ea847751
Коммит
d7c3c4810c
|
@ -207,6 +207,10 @@
|
|||
# Note: this setting is ignored if buildtype=="Official".
|
||||
'logging_like_official_build%': 0,
|
||||
|
||||
# Set to 1 to make a build that disables unshipped tracing events.
|
||||
# Note: this setting is ignored if buildtype=="Official".
|
||||
'tracing_like_official_build%': 0,
|
||||
|
||||
# Disable file manager component extension by default.
|
||||
'file_manager_extension%': 0,
|
||||
|
||||
|
@ -762,6 +766,7 @@
|
|||
'fastbuild%': '<(fastbuild)',
|
||||
'dcheck_always_on%': '<(dcheck_always_on)',
|
||||
'logging_like_official_build%': '<(logging_like_official_build)',
|
||||
'tracing_like_official_build%': '<(tracing_like_official_build)',
|
||||
'python_ver%': '<(python_ver)',
|
||||
'arm_version%': '<(arm_version)',
|
||||
'armv7%': '<(armv7)',
|
||||
|
@ -2055,6 +2060,9 @@
|
|||
['logging_like_official_build!=0', {
|
||||
'defines': ['LOGGING_IS_OFFICIAL_BUILD=1'],
|
||||
}], # logging_like_official_build!=0
|
||||
['tracing_like_official_build!=0', {
|
||||
'defines': ['TRACING_IS_OFFICIAL_BUILD=1'],
|
||||
}], # tracing_like_official_build!=0
|
||||
['win_use_allocator_shim==0', {
|
||||
'conditions': [
|
||||
['OS=="win"', {
|
||||
|
|
Загрузка…
Ссылка в новой задаче