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 if (is_android) { | 14 if (is_android) { |
15 import("//build/config/android/config.gni") | 15 import("//build/config/android/config.gni") |
16 } | 16 } |
17 | 17 |
18 declare_args() { | 18 declare_args() { |
19 # Multicast DNS. | 19 # Multicast DNS. |
20 enable_mdns = is_win || is_linux | 20 enable_mdns = is_win || is_linux |
21 | 21 |
22 enable_plugins = !is_android || !is_ios | 22 enable_plugins = !is_android || !is_ios |
23 | 23 |
24 # Enables Native Client support. | 24 # Enables Native Client support. |
25 enable_nacl = (!is_ios && !is_android) | 25 enable_nacl = (!is_ios && !is_android) |
26 | |
27 # If debug_devtools is set to true, JavaScript files for DevTools are stored | |
28 # as is and loaded from disk. Otherwise, a concatenated file is stored in | |
29 # resources.pak. It is still possible to load JS files from disk by passing | |
30 # --debug-devtools cmdline switch. | |
31 debug_devtools = false | |
32 } | 26 } |
33 | 27 |
34 # Additional dependent variables ----------------------------------------------- | 28 # Additional dependent variables ----------------------------------------------- |
35 | 29 |
36 # Set the version of CLD. | 30 # Set the version of CLD. |
37 # 0: Don't specify the version. This option is for the Finch testing. | 31 # 0: Don't specify the version. This option is for the Finch testing. |
38 # 1: Use only CLD1. | 32 # 1: Use only CLD1. |
39 # 2: Use only CLD2. | 33 # 2: Use only CLD2. |
40 if (is_android || is_ios) { | 34 if (is_android || is_ios) { |
41 cld_version = 1 | 35 cld_version = 1 |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 enable_autofill_dialog = !is_ios && !(is_android && is_android_webview_build) | 137 enable_autofill_dialog = !is_ios && !(is_android && is_android_webview_build) |
144 | 138 |
145 enable_wifi_bootstrapping = is_win || is_mac | 139 enable_wifi_bootstrapping = is_win || is_mac |
146 | 140 |
147 # Image loader extension is enabled on ChromeOS only. | 141 # Image loader extension is enabled on ChromeOS only. |
148 enable_image_loader_extension = is_chromeos | 142 enable_image_loader_extension = is_chromeos |
149 | 143 |
150 enable_remoting = !is_ios && !is_android | 144 enable_remoting = !is_ios && !is_android |
151 | 145 |
152 enable_google_now = !is_ios && !is_android | 146 enable_google_now = !is_ios && !is_android |
153 | |
154 enable_one_click_signin = is_win || is_mac || (is_linux && !is_chromeos) | |
155 | |
156 # Chrome OS: whether to also build the upcoming version of | |
157 # ChromeVox, which can then be enabled via a command-line switch. | |
158 enable_chromevox_next = false | |
OLD | NEW |