| 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 # Enable basic printing support and UI. | 113 # Enable basic printing support and UI. |
| 114 enable_basic_printing = !is_chromeos && !is_chromecast && !is_ios | 114 enable_basic_printing = !is_chromeos && !is_chromecast && !is_ios |
| 115 | 115 |
| 116 # Enable printing with print preview. It does not imply | 116 # Enable printing with print preview. It does not imply |
| 117 # enable_basic_printing. It's possible to build Chrome with preview only. | 117 # enable_basic_printing. It's possible to build Chrome with preview only. |
| 118 enable_print_preview = !is_android && !is_chromecast && !is_ios | 118 enable_print_preview = !is_android && !is_chromecast && !is_ios |
| 119 } | 119 } |
| 120 | 120 |
| 121 # Additional dependent variables ----------------------------------------------- | 121 # Additional dependent variables ----------------------------------------------- |
| 122 | 122 |
| 123 # Set the version of CLD. | |
| 124 # 1: (DEPRECATED! See http://crbug.com/528305 for info) Use only CLD1. | |
| 125 # 2: Use only CLD2. | |
| 126 cld_version = 2 | |
| 127 | |
| 128 # Enable the spell checker. | 123 # Enable the spell checker. |
| 129 enable_spellcheck = !is_ios | 124 enable_spellcheck = !is_ios |
| 130 | 125 |
| 131 # Use the operating system's spellchecker rather than hunspell. | 126 # Use the operating system's spellchecker rather than hunspell. |
| 132 use_browser_spellchecker = is_android || is_mac | 127 use_browser_spellchecker = is_android || is_mac |
| 133 | 128 |
| 134 # Enables the use of CDMs in pepper plugins. | 129 # Enables the use of CDMs in pepper plugins. |
| 135 enable_pepper_cdms = | 130 enable_pepper_cdms = |
| 136 enable_plugins && (is_linux || is_mac || is_win) && !is_chromecast | 131 enable_plugins && (is_linux || is_mac || is_win) && !is_chromecast |
| 137 | 132 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 enable_chromevox_next = false | 165 enable_chromevox_next = false |
| 171 | 166 |
| 172 # Use brlapi from brltty for braille display support. | 167 # Use brlapi from brltty for braille display support. |
| 173 use_brlapi = is_chromeos | 168 use_brlapi = is_chromeos |
| 174 | 169 |
| 175 # Enable WebVR support by default on Android | 170 # Enable WebVR support by default on Android |
| 176 # Still requires command line flag to access API | 171 # Still requires command line flag to access API |
| 177 enable_webvr = is_android | 172 enable_webvr = is_android |
| 178 | 173 |
| 179 enable_configuration_policy = !is_ios | 174 enable_configuration_policy = !is_ios |
| OLD | NEW |