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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 | 103 |
104 use_dbus = is_linux && !is_chromecast | 104 use_dbus = is_linux && !is_chromecast |
105 | 105 |
106 # Option controlling the use of GConf (the classic GNOME configuration | 106 # Option controlling the use of GConf (the classic GNOME configuration |
107 # system). | 107 # system). |
108 use_gconf = is_linux && !is_chromeos && !is_chromecast | 108 use_gconf = is_linux && !is_chromeos && !is_chromecast |
109 | 109 |
110 use_gio = is_linux && !is_chromeos && !is_chromecast | 110 use_gio = is_linux && !is_chromeos && !is_chromecast |
111 | 111 |
112 # Enable basic printing support and UI. | 112 # Enable basic printing support and UI. |
113 enable_basic_printing = !is_chromeos && !is_chromecast && !is_ios | 113 enable_basic_printing = !is_chromecast && !is_ios |
114 | 114 |
115 # Enable printing with print preview. It does not imply | 115 # Enable printing with print preview. It does not imply |
116 # enable_basic_printing. It's possible to build Chrome with preview only. | 116 # enable_basic_printing. It's possible to build Chrome with preview only. |
117 enable_print_preview = !is_android && !is_chromecast && !is_ios | 117 enable_print_preview = !is_android && !is_chromecast && !is_ios |
118 | 118 |
119 # Whether or not to use external popup menu. | 119 # Whether or not to use external popup menu. |
120 use_external_popup_menu = is_android || is_mac | 120 use_external_popup_menu = is_android || is_mac |
121 } | 121 } |
122 | 122 |
123 # Additional dependent variables ----------------------------------------------- | 123 # Additional dependent variables ----------------------------------------------- |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 use_brlapi = is_chromeos | 170 use_brlapi = is_chromeos |
171 | 171 |
172 # Enable WebVR support by default on Android | 172 # Enable WebVR support by default on Android |
173 # Still requires command line flag to access API | 173 # Still requires command line flag to access API |
174 enable_webvr = is_android | 174 enable_webvr = is_android |
175 | 175 |
176 enable_configuration_policy = !is_ios | 176 enable_configuration_policy = !is_ios |
177 | 177 |
178 enable_mac_keystone = is_mac && is_chrome_branded && is_official_build | 178 enable_mac_keystone = is_mac && is_chrome_branded && is_official_build |
179 enable_mac_crash_collection = is_mac && is_chrome_branded && is_official_build | 179 enable_mac_crash_collection = is_mac && is_chrome_branded && is_official_build |
OLD | NEW |