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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 # libudev usage. This currently only affects the content layer. | 138 # libudev usage. This currently only affects the content layer. |
139 use_udev = is_linux | 139 use_udev = is_linux |
140 | 140 |
141 # Enable the spell checker. | 141 # Enable the spell checker. |
142 enable_spellcheck = !is_ios | 142 enable_spellcheck = !is_ios |
143 | 143 |
144 # Use the operating system's spellchecker rather than hunspell. | 144 # Use the operating system's spellchecker rather than hunspell. |
145 use_browser_spellchecker = is_android || is_mac | 145 use_browser_spellchecker = is_android || is_mac |
146 | 146 |
147 # Enable basic printing support and UI. | 147 # Enable basic printing support and UI. |
148 enable_basic_printing = !is_chromeos | 148 enable_basic_printing = !is_chromeos && !is_ios |
149 | 149 |
150 # Enable printing with print preview. It does not imply | 150 # Enable printing with print preview. It does not imply |
151 # enable_basic_printing. It's possible to build Chrome with preview only. | 151 # enable_basic_printing. It's possible to build Chrome with preview only. |
152 enable_print_preview = !is_android | 152 enable_print_preview = !is_android && !is_ios |
153 | 153 |
154 # The seccomp-bpf sandbox is only supported on three architectures | 154 # The seccomp-bpf sandbox is only supported on three architectures |
155 # currently. | 155 # currently. |
156 # Do not disable seccomp_bpf anywhere without talking to | 156 # Do not disable seccomp_bpf anywhere without talking to |
157 # security@chromium.org! | 157 # security@chromium.org! |
158 use_seccomp_bpf = (is_linux || is_android) && | 158 use_seccomp_bpf = (is_linux || is_android) && |
159 (current_cpu == "x86" || current_cpu == "x64" || | 159 (current_cpu == "x86" || current_cpu == "x64" || |
160 current_cpu == "arm" || current_cpu == "mipsel") | 160 current_cpu == "arm" || current_cpu == "mipsel") |
161 | 161 |
162 # Enable notifications everywhere except iOS. | 162 # Enable notifications everywhere except iOS. |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 # system). | 205 # system). |
206 # TODO(GYP) also require !embedded to enable. | 206 # TODO(GYP) also require !embedded to enable. |
207 use_gconf = is_linux && !is_chromeos | 207 use_gconf = is_linux && !is_chromeos |
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 |