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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 } else { | 118 } else { |
119 cld_version = 2 | 119 cld_version = 2 |
120 } | 120 } |
121 | 121 |
122 # libudev usage. This currently only affects the content layer. | 122 # libudev usage. This currently only affects the content layer. |
123 use_udev = is_linux | 123 use_udev = is_linux |
124 | 124 |
125 # Enable the spell checker. | 125 # Enable the spell checker. |
126 enable_spellcheck = !is_android | 126 enable_spellcheck = !is_android |
127 | 127 |
| 128 # Use the operating system's spellchecker rather than hunspell. |
| 129 use_platform_spellchecker = is_android || is_mac |
| 130 |
128 enable_pepper_cdms = enable_plugins && (is_linux || is_mac || is_win) | 131 enable_pepper_cdms = enable_plugins && (is_linux || is_mac || is_win) |
129 | 132 |
130 # Enable basic printing support and UI. | 133 # Enable basic printing support and UI. |
131 enable_basic_printing = !is_chromeos | 134 enable_basic_printing = !is_chromeos |
132 | 135 |
133 # Enable printing with print preview. It does not imply | 136 # Enable printing with print preview. It does not imply |
134 # enable_basic_printing. It's possible to build Chrome with preview only. | 137 # enable_basic_printing. It's possible to build Chrome with preview only. |
135 enable_print_preview = !is_android | 138 enable_print_preview = !is_android |
136 | 139 |
137 # The seccomp-bpf sandbox is only supported on three architectures | 140 # The seccomp-bpf sandbox is only supported on three architectures |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 # Hangout services is an extension that adds extra features to Hangouts. | 194 # Hangout services is an extension that adds extra features to Hangouts. |
192 # 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 |
193 # parameterized in the future for a similar use. | 196 # parameterized in the future for a similar use. |
194 enable_hangout_services_extension = false | 197 enable_hangout_services_extension = false |
195 | 198 |
196 # Whether to back up data before sync. | 199 # Whether to back up data before sync. |
197 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) |
198 | 201 |
199 # WebVR support disabled until platform implementations have been added | 202 # WebVR support disabled until platform implementations have been added |
200 enable_webvr = false | 203 enable_webvr = false |
OLD | NEW |