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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 # libudev usage. This currently only affects the content layer. | 135 # libudev usage. This currently only affects the content layer. |
136 use_udev = is_linux && !is_chromecast | 136 use_udev = is_linux && !is_chromecast |
137 | 137 |
138 # Enable the spell checker. | 138 # Enable the spell checker. |
139 enable_spellcheck = !is_ios | 139 enable_spellcheck = !is_ios |
140 | 140 |
141 # Use the operating system's spellchecker rather than hunspell. | 141 # Use the operating system's spellchecker rather than hunspell. |
142 use_browser_spellchecker = is_android || is_mac | 142 use_browser_spellchecker = is_android || is_mac |
143 | 143 |
144 # Enable basic printing support and UI. | 144 # Enable basic printing support and UI. |
145 enable_basic_printing = !is_chromeos && !is_chromecast | 145 enable_basic_printing = !is_chromeos && !is_chromecast && !is_ios |
146 | 146 |
147 # Enable printing with print preview. It does not imply | 147 # Enable printing with print preview. It does not imply |
148 # enable_basic_printing. It's possible to build Chrome with preview only. | 148 # enable_basic_printing. It's possible to build Chrome with preview only. |
149 enable_print_preview = !is_android && !is_chromecast | 149 enable_print_preview = !is_android && !is_chromecast && !is_ios |
150 | 150 |
151 # Enables the use of CDMs in pepper plugins. | 151 # Enables the use of CDMs in pepper plugins. |
152 enable_pepper_cdms = | 152 enable_pepper_cdms = |
153 enable_plugins && (is_linux || is_mac || is_win) && !is_chromecast | 153 enable_plugins && (is_linux || is_mac || is_win) && !is_chromecast |
154 | 154 |
155 # The seccomp-bpf sandbox is only supported on three architectures | 155 # The seccomp-bpf sandbox is only supported on three architectures |
156 # currently. | 156 # currently. |
157 # Do not disable seccomp_bpf anywhere without talking to | 157 # Do not disable seccomp_bpf anywhere without talking to |
158 # security@chromium.org! | 158 # security@chromium.org! |
159 use_seccomp_bpf = (is_linux || is_android) && | 159 use_seccomp_bpf = (is_linux || is_android) && |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 # Option controlling the use of GConf (the classic GNOME configuration | 205 # Option controlling the use of GConf (the classic GNOME configuration |
206 # system). | 206 # system). |
207 use_gconf = is_linux && !is_chromeos && !is_chromecast | 207 use_gconf = is_linux && !is_chromeos && !is_chromecast |
208 | 208 |
209 # Whether to back up data before sync. | 209 # Whether to back up data before sync. |
210 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) | 210 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) |
211 | 211 |
212 # Enable WebVR support by default on Android | 212 # Enable WebVR support by default on Android |
213 # Still requires command line flag to access API | 213 # Still requires command line flag to access API |
214 enable_webvr = is_android | 214 enable_webvr = is_android |
OLD | NEW |