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

Side by Side Diff: build/config/features.gni

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, 4 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 unified diff | Download patch
« no previous file with comments | « build/config/BUILD.gn ('k') | chrome/browser/chrome_browser_main.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # This file contains Chrome-feature-related build flags (see ui.gni for 5 # This file contains Chrome-feature-related build flags (see ui.gni for
6 # UI-related ones). These should theoretically be moved to the build files of 6 # UI-related ones). These should theoretically be moved to the build files of
7 # the features themselves. 7 # the features themselves.
8 # 8 #
9 # However, today we have many "bad" dependencies on some of these flags from, 9 # However, today we have many "bad" dependencies on some of these flags from,
10 # e.g. base, so they need to be global to match the GYP configuration. Also, 10 # e.g. base, so they need to be global to match the GYP configuration. Also,
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 # reporting features for use with Data Saver on Mobile, and 3 enables 98 # reporting features for use with Data Saver on Mobile, and 3 enables
99 # extended mobile protection via an external API. When 3 is fully deployed, 99 # extended mobile protection via an external API. When 3 is fully deployed,
100 # it will replace 2. 100 # it will replace 2.
101 if (is_android) { 101 if (is_android) {
102 safe_browsing_mode = 2 102 safe_browsing_mode = 2
103 } else if (is_ios) { 103 } else if (is_ios) {
104 safe_browsing_mode = 0 104 safe_browsing_mode = 0
105 } else { 105 } else {
106 safe_browsing_mode = 1 106 safe_browsing_mode = 1
107 } 107 }
108
109 # Set to true make a build that disables activation of field trial tests
110 # specified in testing/variations/fieldtrial_testing_config_*.json.
111 # Note: this setting is ignored if is_chrome_branded.
112 fieldtrial_testing_like_official_build = is_chrome_branded
108 } 113 }
109 114
110 # Additional dependent variables ----------------------------------------------- 115 # Additional dependent variables -----------------------------------------------
111 116
112 # Set the version of CLD. 117 # Set the version of CLD.
113 # 0: Don't specify the version. This option is for the Finch testing. 118 # 0: Don't specify the version. This option is for the Finch testing.
114 # 1: Use only CLD1. 119 # 1: Use only CLD1.
115 # 2: Use only CLD2. 120 # 2: Use only CLD2.
116 if (is_android) { 121 if (is_android) {
117 cld_version = 1 122 cld_version = 1
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 # Hangout services is an extension that adds extra features to Hangouts. 200 # Hangout services is an extension that adds extra features to Hangouts.
196 # For official GYP builds, this flag is set, it will likely need to be 201 # For official GYP builds, this flag is set, it will likely need to be
197 # parameterized in the future for a similar use. 202 # parameterized in the future for a similar use.
198 enable_hangout_services_extension = false 203 enable_hangout_services_extension = false
199 204
200 # Whether to back up data before sync. 205 # Whether to back up data before sync.
201 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) 206 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos)
202 207
203 # WebVR support disabled until platform implementations have been added 208 # WebVR support disabled until platform implementations have been added
204 enable_webvr = false 209 enable_webvr = false
OLDNEW
« no previous file with comments | « build/config/BUILD.gn ('k') | chrome/browser/chrome_browser_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698