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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 use_gconf = is_linux && !is_chromeos && !is_chromecast | 107 use_gconf = is_linux && !is_chromeos && !is_chromecast |
108 | 108 |
109 use_gio = is_linux && !is_chromeos && !is_chromecast | 109 use_gio = is_linux && !is_chromeos && !is_chromecast |
110 | 110 |
111 # Enable basic printing support and UI. | 111 # Enable basic printing support and UI. |
112 enable_basic_printing = !is_chromeos && !is_chromecast && !is_ios | 112 enable_basic_printing = !is_chromeos && !is_chromecast && !is_ios |
113 | 113 |
114 # Enable printing with print preview. It does not imply | 114 # Enable printing with print preview. It does not imply |
115 # enable_basic_printing. It's possible to build Chrome with preview only. | 115 # enable_basic_printing. It's possible to build Chrome with preview only. |
116 enable_print_preview = !is_android && !is_chromecast && !is_ios | 116 enable_print_preview = !is_android && !is_chromecast && !is_ios |
| 117 |
| 118 # Whether or not to use external popup menu. |
| 119 use_external_popup_menu = is_android || is_mac |
117 } | 120 } |
118 | 121 |
119 # Additional dependent variables ----------------------------------------------- | 122 # Additional dependent variables ----------------------------------------------- |
120 | 123 |
121 # Enable the spell checker. | 124 # Enable the spell checker. |
122 enable_spellcheck = !is_ios | 125 enable_spellcheck = !is_ios |
123 | 126 |
124 # Use the operating system's spellchecker rather than hunspell. | 127 # Use the operating system's spellchecker rather than hunspell. |
125 use_browser_spellchecker = is_android || is_mac | 128 use_browser_spellchecker = is_android || is_mac |
126 | 129 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 use_brlapi = is_chromeos | 169 use_brlapi = is_chromeos |
167 | 170 |
168 # Enable WebVR support by default on Android | 171 # Enable WebVR support by default on Android |
169 # Still requires command line flag to access API | 172 # Still requires command line flag to access API |
170 enable_webvr = is_android | 173 enable_webvr = is_android |
171 | 174 |
172 enable_configuration_policy = !is_ios | 175 enable_configuration_policy = !is_ios |
173 | 176 |
174 enable_mac_keystone = is_mac && is_chrome_branded && is_official_build | 177 enable_mac_keystone = is_mac && is_chrome_branded && is_official_build |
175 enable_mac_crash_collection = is_mac && is_chrome_branded && is_official_build | 178 enable_mac_crash_collection = is_mac && is_chrome_branded && is_official_build |
OLD | NEW |