| 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 = is_chrome_branded && (is_win || is_mac || is_ios || is_chromeos) | 171 enable_rlz_support = is_win || is_mac || is_ios || is_chromeos |
| 172 enable_rlz = is_chrome_branded && enable_rlz_support |
| 172 | 173 |
| 173 enable_settings_app = enable_app_list && !is_chromeos | 174 enable_settings_app = enable_app_list && !is_chromeos |
| 174 | 175 |
| 175 enable_service_discovery = enable_mdns || is_mac | 176 enable_service_discovery = enable_mdns || is_mac |
| 176 | 177 |
| 177 enable_wifi_bootstrapping = is_win || is_mac | 178 enable_wifi_bootstrapping = is_win || is_mac |
| 178 | 179 |
| 179 # Image loader extension is enabled on ChromeOS only. | 180 # Image loader extension is enabled on ChromeOS only. |
| 180 enable_image_loader_extension = is_chromeos | 181 enable_image_loader_extension = is_chromeos |
| 181 | 182 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 194 # Hangout services is an extension that adds extra features to Hangouts. | 195 # Hangout services is an extension that adds extra features to Hangouts. |
| 195 # For official GYP builds, this flag is set, it will likely need to be | 196 # For official GYP builds, this flag is set, it will likely need to be |
| 196 # parameterized in the future for a similar use. | 197 # parameterized in the future for a similar use. |
| 197 enable_hangout_services_extension = false | 198 enable_hangout_services_extension = false |
| 198 | 199 |
| 199 # Whether to back up data before sync. | 200 # Whether to back up data before sync. |
| 200 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) | 201 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) |
| 201 | 202 |
| 202 # WebVR support disabled until platform implementations have been added | 203 # WebVR support disabled until platform implementations have been added |
| 203 enable_webvr = false | 204 enable_webvr = false |
| OLD | NEW |