Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(277)

Unified Diff: build/common.gypi

Issue 18333010: make it possible to disable internal tracing in unofficial builds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/debug/trace_event.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index f4c01f579d2ac9e3f08e41c1766980e826e31399..467dd745b539304700d33eded818579fdac94e9f 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -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"', {
« no previous file with comments | « base/debug/trace_event.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698