| 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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 enable_notifications = !is_ios | 166 enable_notifications = !is_ios |
| 167 | 167 |
| 168 enable_web_speech = !is_android && !is_ios | 168 enable_web_speech = !is_android && !is_ios |
| 169 | 169 |
| 170 use_dbus = is_linux && !is_chromecast && !is_headless | 170 use_dbus = is_linux && !is_chromecast && !is_headless |
| 171 | 171 |
| 172 enable_task_manager = !is_ios && !is_android | 172 enable_task_manager = !is_ios && !is_android |
| 173 | 173 |
| 174 enable_themes = !is_android && !is_ios | 174 enable_themes = !is_android && !is_ios |
| 175 | 175 |
| 176 # TODO(scottmg) remove this when we've fixed printing. | |
| 177 win_pdf_metafile_for_printing = true | |
| 178 | |
| 179 # 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 |
| 180 # rlz codes for searches but do not use the library. | 177 # rlz codes for searches but do not use the library. |
| 181 enable_rlz_support = is_win || is_mac || is_ios || is_chromeos | 178 enable_rlz_support = is_win || is_mac || is_ios || is_chromeos |
| 182 enable_rlz = is_chrome_branded && enable_rlz_support | 179 enable_rlz = is_chrome_branded && enable_rlz_support |
| 183 | 180 |
| 184 enable_settings_app = enable_app_list && !is_chromeos | 181 enable_settings_app = enable_app_list && !is_chromeos |
| 185 | 182 |
| 186 enable_service_discovery = enable_mdns || is_mac | 183 enable_service_discovery = enable_mdns || is_mac |
| 187 | 184 |
| 188 # Image loader extension is enabled on ChromeOS only. | 185 # Image loader extension is enabled on ChromeOS only. |
| 189 enable_image_loader_extension = is_chromeos | 186 enable_image_loader_extension = is_chromeos |
| 190 | 187 |
| 191 # Chrome OS: whether to also build the upcoming version of | 188 # Chrome OS: whether to also build the upcoming version of |
| 192 # ChromeVox, which can then be enabled via a command-line switch. | 189 # ChromeVox, which can then be enabled via a command-line switch. |
| 193 enable_chromevox_next = false | 190 enable_chromevox_next = false |
| 194 | 191 |
| 195 # Use brlapi from brltty for braille display support. | 192 # Use brlapi from brltty for braille display support. |
| 196 use_brlapi = is_chromeos | 193 use_brlapi = is_chromeos |
| 197 | 194 |
| 198 # Option controlling the use of GConf (the classic GNOME configuration | 195 # Option controlling the use of GConf (the classic GNOME configuration |
| 199 # system). | 196 # system). |
| 200 use_gconf = is_linux && !is_chromeos && !is_chromecast && !is_headless | 197 use_gconf = is_linux && !is_chromeos && !is_chromecast && !is_headless |
| 201 | 198 |
| 202 # Enable WebVR support by default on Android | 199 # Enable WebVR support by default on Android |
| 203 # Still requires command line flag to access API | 200 # Still requires command line flag to access API |
| 204 enable_webvr = is_android | 201 enable_webvr = is_android |
| 205 | 202 |
| 206 use_gio = is_desktop_linux && !is_headless | 203 use_gio = is_desktop_linux && !is_headless |
| OLD | NEW |