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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 | 161 |
162 use_cups = is_desktop_linux || is_mac | 162 use_cups = is_desktop_linux || is_mac |
163 | 163 |
164 enable_themes = !is_android && !is_ios | 164 enable_themes = !is_android && !is_ios |
165 | 165 |
166 # TODO(scottmg) remove this when we've fixed printing. | 166 # TODO(scottmg) remove this when we've fixed printing. |
167 win_pdf_metafile_for_printing = true | 167 win_pdf_metafile_for_printing = true |
168 | 168 |
169 # Whether we are using the rlz library or not. Platforms like Android send | 169 # Whether we are using the rlz library or not. Platforms like Android send |
170 # rlz codes for searches but do not use the library. | 170 # rlz codes for searches but do not use the library. |
171 enable_rlz_support = is_win || is_mac || is_ios || is_chromeos | 171 enable_rlz = is_chrome_branded && (is_win || is_mac || is_ios || is_chromeos) |
172 enable_rlz = is_chrome_branded && enable_rlz_support | |
173 | 172 |
174 enable_settings_app = enable_app_list && !is_chromeos | 173 enable_settings_app = enable_app_list && !is_chromeos |
175 | 174 |
176 enable_service_discovery = enable_mdns || is_mac | 175 enable_service_discovery = enable_mdns || is_mac |
177 | 176 |
178 enable_wifi_bootstrapping = is_win || is_mac | 177 enable_wifi_bootstrapping = is_win || is_mac |
179 | 178 |
180 # Image loader extension is enabled on ChromeOS only. | 179 # Image loader extension is enabled on ChromeOS only. |
181 enable_image_loader_extension = is_chromeos | 180 enable_image_loader_extension = is_chromeos |
182 | 181 |
(...skipping 12 matching lines...) Expand all Loading... |
195 # Hangout services is an extension that adds extra features to Hangouts. | 194 # 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 | 195 # For official GYP builds, this flag is set, it will likely need to be |
197 # parameterized in the future for a similar use. | 196 # parameterized in the future for a similar use. |
198 enable_hangout_services_extension = false | 197 enable_hangout_services_extension = false |
199 | 198 |
200 # Whether to back up data before sync. | 199 # Whether to back up data before sync. |
201 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) |
202 | 201 |
203 # WebVR support disabled until platform implementations have been added | 202 # WebVR support disabled until platform implementations have been added |
204 enable_webvr = false | 203 enable_webvr = false |
OLD | NEW |