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

Unified Diff: build/common.gypi

Issue 1266113002: Add a new gyp flag: fieldtrial_testing_like_official_build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « no previous file | chrome/browser/chrome_browser_main.cc » ('j') | 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 b8decd5d86bbdd30add612e2b307ecf789ea16af..096582a2403b549707a93da7a2f75a2d7b95cd78 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -368,6 +368,11 @@
# Note: this setting is ignored if buildtype=="Official".
'tracing_like_official_build%': 0,
+ # Set to 1 to make a build that disables activation of field trial tests
+ # specified in testing/variations/fieldtrial_testing_config_*.json.
+ # Note: this setting is ignored if buildtype=="Official".
+ 'fieldtrial_testing_like_official_build%': 0,
Alexei Svitkine (slow) 2015/07/31 15:03:10 Is there a .gn change needed too or is this suffic
danduong 2015/07/31 17:14:35 Hmm, the tracing flag didn't have one. I just adde
+
# Disable image loader component extension by default.
'image_loader_extension%': 0,
@@ -1143,6 +1148,7 @@
'win_z7%': '<(win_z7)',
'dcheck_always_on%': '<(dcheck_always_on)',
'tracing_like_official_build%': '<(tracing_like_official_build)',
+ 'fieldtrial_testing_like_official_build%': '<(fieldtrial_testing_like_official_build)',
'arm_version%': '<(arm_version)',
'arm_neon%': '<(arm_neon)',
'arm_neon_optional%': '<(arm_neon_optional)',
@@ -2838,6 +2844,9 @@
['tracing_like_official_build!=0', {
'defines': ['TRACING_IS_OFFICIAL_BUILD=1'],
}], # tracing_like_official_build!=0
+ ['fieldtrial_testing_like_official_build!=0', {
+ 'defines': ['FIELDTRIAL_TESTING_IS_OFFICIAL_BUILD=1'],
+ }], # fieldtrial_testing_like_official_build!=0
['OS=="win"', {
'defines': ['NO_TCMALLOC'],
'conditions': [
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698