OLD | NEW |
---|---|
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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
108 } else if (is_ios) { | 108 } else if (is_ios) { |
109 safe_browsing_mode = 0 | 109 safe_browsing_mode = 0 |
110 } else { | 110 } else { |
111 safe_browsing_mode = 1 | 111 safe_browsing_mode = 1 |
112 } | 112 } |
113 | 113 |
114 # Set to true make a build that disables activation of field trial tests | 114 # Set to true make a build that disables activation of field trial tests |
115 # specified in testing/variations/fieldtrial_testing_config_*.json. | 115 # specified in testing/variations/fieldtrial_testing_config_*.json. |
116 # Note: this setting is ignored if is_chrome_branded. | 116 # Note: this setting is ignored if is_chrome_branded. |
117 fieldtrial_testing_like_official_build = is_chrome_branded | 117 fieldtrial_testing_like_official_build = is_chrome_branded |
118 | |
119 use_cups = (is_desktop_linux || is_mac) && !is_chromecast | |
tfarina
2015/11/04 15:04:31
was this required for the bootstrap fixes? If not,
Paweł Hajdan Jr.
2015/11/04 16:55:54
Yes, this makes bootstrap possible in an environme
| |
118 } | 120 } |
119 | 121 |
120 # Additional dependent variables ----------------------------------------------- | 122 # Additional dependent variables ----------------------------------------------- |
121 | 123 |
122 # Set the version of CLD. | 124 # Set the version of CLD. |
123 # 1: (DEPRECATED! See http://crbug.com/528305 for info) Use only CLD1. | 125 # 1: (DEPRECATED! See http://crbug.com/528305 for info) Use only CLD1. |
124 # 2: Use only CLD2. | 126 # 2: Use only CLD2. |
125 cld_version = 2 | 127 cld_version = 2 |
126 | 128 |
127 # libudev usage. This currently only affects the content layer. | 129 # libudev usage. This currently only affects the content layer. |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
159 disable_ftp_support = is_ios | 161 disable_ftp_support = is_ios |
160 | 162 |
161 enable_web_speech = !is_android && !is_ios | 163 enable_web_speech = !is_android && !is_ios |
162 | 164 |
163 use_dbus = is_linux && !is_chromecast | 165 use_dbus = is_linux && !is_chromecast |
164 | 166 |
165 enable_extensions = !is_android && !is_ios | 167 enable_extensions = !is_android && !is_ios |
166 | 168 |
167 enable_task_manager = !is_ios && !is_android | 169 enable_task_manager = !is_ios && !is_android |
168 | 170 |
169 use_cups = (is_desktop_linux || is_mac) && !is_chromecast | |
170 | |
171 enable_themes = !is_android && !is_ios | 171 enable_themes = !is_android && !is_ios |
172 | 172 |
173 # TODO(scottmg) remove this when we've fixed printing. | 173 # TODO(scottmg) remove this when we've fixed printing. |
174 win_pdf_metafile_for_printing = true | 174 win_pdf_metafile_for_printing = true |
175 | 175 |
176 # Whether we are using the rlz library or not. Platforms like Android send | 176 # Whether we are using the rlz library or not. Platforms like Android send |
177 # rlz codes for searches but do not use the library. | 177 # rlz codes for searches but do not use the library. |
178 enable_rlz_support = is_win || is_mac || is_ios || is_chromeos | 178 enable_rlz_support = is_win || is_mac || is_ios || is_chromeos |
179 enable_rlz = is_chrome_branded && enable_rlz_support | 179 enable_rlz = is_chrome_branded && enable_rlz_support |
180 | 180 |
(...skipping 14 matching lines...) Expand all Loading... | |
195 # Option controlling the use of GConf (the classic GNOME configuration | 195 # Option controlling the use of GConf (the classic GNOME configuration |
196 # system). | 196 # system). |
197 use_gconf = is_linux && !is_chromeos && !is_chromecast | 197 use_gconf = is_linux && !is_chromeos && !is_chromecast |
198 | 198 |
199 # Whether to back up data before sync. | 199 # Whether to back up data before sync. |
200 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) | 200 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) |
201 | 201 |
202 # Enable WebVR support by default on Android | 202 # Enable WebVR support by default on Android |
203 # Still requires command line flag to access API | 203 # Still requires command line flag to access API |
204 enable_webvr = is_android | 204 enable_webvr = is_android |
OLD | NEW |