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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 } | 121 } |
122 | 122 |
123 # Additional dependent variables ----------------------------------------------- | 123 # Additional dependent variables ----------------------------------------------- |
124 | 124 |
125 # Enable the spell checker. | 125 # Enable the spell checker. |
126 enable_spellcheck = !is_ios | 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_browser_spellchecker = is_android || is_mac | 129 use_browser_spellchecker = is_android || is_mac |
130 | 130 |
| 131 # Use Minikin hyphenation engine. |
| 132 use_minikin_hyphenation = is_android |
| 133 |
131 # Enables the use of CDMs in pepper plugins. | 134 # Enables the use of CDMs in pepper plugins. |
132 enable_pepper_cdms = | 135 enable_pepper_cdms = |
133 enable_plugins && (is_linux || is_mac || is_win) && !is_chromecast | 136 enable_plugins && (is_linux || is_mac || is_win) && !is_chromecast |
134 | 137 |
135 # The seccomp-bpf sandbox is only supported on five architectures | 138 # The seccomp-bpf sandbox is only supported on five architectures |
136 # currently. | 139 # currently. |
137 # Do not disable seccomp_bpf anywhere without talking to | 140 # Do not disable seccomp_bpf anywhere without talking to |
138 # security@chromium.org! | 141 # security@chromium.org! |
139 use_seccomp_bpf = | 142 use_seccomp_bpf = |
140 (is_linux || is_android) && | 143 (is_linux || is_android) && |
(...skipping 29 matching lines...) Expand all Loading... |
170 use_brlapi = is_chromeos | 173 use_brlapi = is_chromeos |
171 | 174 |
172 # Enable WebVR support by default on Android | 175 # Enable WebVR support by default on Android |
173 # Still requires command line flag to access API | 176 # Still requires command line flag to access API |
174 enable_webvr = is_android | 177 enable_webvr = is_android |
175 | 178 |
176 enable_configuration_policy = !is_ios | 179 enable_configuration_policy = !is_ios |
177 | 180 |
178 enable_mac_keystone = is_mac && is_chrome_branded && is_official_build | 181 enable_mac_keystone = is_mac && is_chrome_branded && is_official_build |
179 enable_mac_crash_collection = is_mac && is_chrome_branded && is_official_build | 182 enable_mac_crash_collection = is_mac && is_chrome_branded && is_official_build |
OLD | NEW |