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 UI-related build flags. It should theoretically be in the | 5 # This file contains UI-related build flags. It should theoretically be in the |
6 # src/ui directory and only things that depend on the ui module should get the | 6 # src/ui directory and only things that depend on the ui module should get the |
7 # definitions. | 7 # definitions. |
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. | 10 # e.g. base, so they need to be global. |
11 # | 11 # |
12 # See also build/config/ui.gni | 12 # See also build/config/ui.gni |
13 | 13 |
| 14 import("//build/config/chrome_build.gni") |
14 if (is_android) { | 15 if (is_android) { |
15 import("//build/config/android/config.gni") | 16 import("//build/config/android/config.gni") |
16 } | 17 } |
17 | 18 |
18 declare_args() { | 19 declare_args() { |
19 # Multicast DNS. | 20 # Multicast DNS. |
20 enable_mdns = is_win || is_linux | 21 enable_mdns = is_win || is_linux |
21 | 22 |
22 enable_plugins = !is_android && !is_ios | 23 enable_plugins = !is_android && !is_ios |
23 | 24 |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 # TODO(GYP) also require !embedded to enable. | 183 # TODO(GYP) also require !embedded to enable. |
183 use_gconf = is_linux && !is_chromeos | 184 use_gconf = is_linux && !is_chromeos |
184 | 185 |
185 # Hangout services is an extension that adds extra features to Hangouts. | 186 # Hangout services is an extension that adds extra features to Hangouts. |
186 # For official GYP builds, this flag is set, it will likely need to be | 187 # For official GYP builds, this flag is set, it will likely need to be |
187 # parameterized in the future for a similar use. | 188 # parameterized in the future for a similar use. |
188 enable_hangout_services_extension = false | 189 enable_hangout_services_extension = false |
189 | 190 |
190 # Whether to back up data before sync. | 191 # Whether to back up data before sync. |
191 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) | 192 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) |
OLD | NEW |