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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 if (is_android) { | 116 if (is_android) { |
117 cld_version = 1 | 117 cld_version = 1 |
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_ios |
127 | 127 |
128 # Use the operating system's spellchecker rather than hunspell. | 128 # Use the operating system's spellchecker rather than hunspell. |
129 use_platform_spellchecker = is_android || is_mac | 129 use_platform_spellchecker = is_android || is_mac |
130 | 130 |
131 enable_pepper_cdms = enable_plugins && (is_linux || is_mac || is_win) | 131 enable_pepper_cdms = enable_plugins && (is_linux || is_mac || is_win) |
132 | 132 |
133 # Enable basic printing support and UI. | 133 # Enable basic printing support and UI. |
134 enable_basic_printing = !is_chromeos | 134 enable_basic_printing = !is_chromeos |
135 | 135 |
136 # Enable printing with print preview. It does not imply | 136 # Enable printing with print preview. It does not imply |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 # Hangout services is an extension that adds extra features to Hangouts. | 194 # 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 | 195 # For official GYP builds, this flag is set, it will likely need to be |
196 # parameterized in the future for a similar use. | 196 # parameterized in the future for a similar use. |
197 enable_hangout_services_extension = false | 197 enable_hangout_services_extension = false |
198 | 198 |
199 # Whether to back up data before sync. | 199 # Whether to back up data before sync. |
200 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) |
201 | 201 |
202 # WebVR support disabled until platform implementations have been added | 202 # WebVR support disabled until platform implementations have been added |
203 enable_webvr = false | 203 enable_webvr = false |
OLD | NEW |