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") | |
15 if (is_android) { | 14 if (is_android) { |
16 import("//build/config/android/config.gni") | 15 import("//build/config/android/config.gni") |
17 } | 16 } |
18 | 17 |
19 declare_args() { | 18 declare_args() { |
20 # Multicast DNS. | 19 # Multicast DNS. |
21 enable_mdns = is_win || is_linux | 20 enable_mdns = is_win || is_linux |
22 | 21 |
23 enable_plugins = !is_android && !is_ios | 22 enable_plugins = !is_android && !is_ios |
24 | 23 |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 # TODO(GYP) also require !embedded to enable. | 182 # TODO(GYP) also require !embedded to enable. |
184 use_gconf = is_linux && !is_chromeos | 183 use_gconf = is_linux && !is_chromeos |
185 | 184 |
186 # Hangout services is an extension that adds extra features to Hangouts. | 185 # Hangout services is an extension that adds extra features to Hangouts. |
187 # For official GYP builds, this flag is set, it will likely need to be | 186 # For official GYP builds, this flag is set, it will likely need to be |
188 # parameterized in the future for a similar use. | 187 # parameterized in the future for a similar use. |
189 enable_hangout_services_extension = false | 188 enable_hangout_services_extension = false |
190 | 189 |
191 # Whether to back up data before sync. | 190 # Whether to back up data before sync. |
192 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) | 191 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) |
OLD | NEW |