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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 | 148 |
149 enable_task_manager = !is_ios && !is_android | 149 enable_task_manager = !is_ios && !is_android |
150 | 150 |
151 enable_themes = !is_android && !is_ios | 151 enable_themes = !is_android && !is_ios |
152 | 152 |
153 # Whether we are using the rlz library or not. Platforms like Android send | 153 # Whether we are using the rlz library or not. Platforms like Android send |
154 # rlz codes for searches but do not use the library. | 154 # rlz codes for searches but do not use the library. |
155 enable_rlz_support = is_win || is_mac || is_ios || is_chromeos | 155 enable_rlz_support = is_win || is_mac || is_ios || is_chromeos |
156 enable_rlz = is_chrome_branded && enable_rlz_support | 156 enable_rlz = is_chrome_branded && enable_rlz_support |
157 | 157 |
158 enable_settings_app = enable_app_list && !is_chromeos | |
159 | |
160 enable_service_discovery = enable_mdns || is_mac | 158 enable_service_discovery = enable_mdns || is_mac |
161 | 159 |
162 # Image loader extension is enabled on ChromeOS only. | 160 # Image loader extension is enabled on ChromeOS only. |
163 enable_image_loader_extension = is_chromeos | 161 enable_image_loader_extension = is_chromeos |
164 | 162 |
165 # Chrome OS: whether to also build the upcoming version of | 163 # Chrome OS: whether to also build the upcoming version of |
166 # ChromeVox, which can then be enabled via a command-line switch. | 164 # ChromeVox, which can then be enabled via a command-line switch. |
167 enable_chromevox_next = false | 165 enable_chromevox_next = false |
168 | 166 |
169 # Use brlapi from brltty for braille display support. | 167 # Use brlapi from brltty for braille display support. |
170 use_brlapi = is_chromeos | 168 use_brlapi = is_chromeos |
171 | 169 |
172 # Enable WebVR support by default on Android | 170 # Enable WebVR support by default on Android |
173 # Still requires command line flag to access API | 171 # Still requires command line flag to access API |
174 enable_webvr = is_android | 172 enable_webvr = is_android |
175 | 173 |
176 enable_configuration_policy = !is_ios | 174 enable_configuration_policy = !is_ios |
177 | 175 |
178 enable_mac_keystone = is_mac && is_chrome_branded && is_official_build | 176 enable_mac_keystone = is_mac && is_chrome_branded && is_official_build |
179 enable_mac_crash_collection = is_mac && is_chrome_branded && is_official_build | 177 enable_mac_crash_collection = is_mac && is_chrome_branded && is_official_build |
OLD | NEW |