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 # TODO(GYP) enable this when nacl works in GN. |
| 26 enable_nacl = false |
| 27 #enable_nacl = (!is_ios && !is_android) |
26 | 28 |
27 # If debug_devtools is set to true, JavaScript files for DevTools are stored | 29 # 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 | 30 # 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 | 31 # resources.pak. It is still possible to load JS files from disk by passing |
30 # --debug-devtools cmdline switch. | 32 # --debug-devtools cmdline switch. |
31 debug_devtools = false | 33 debug_devtools = false |
32 | 34 |
33 # Enables WebRTC. | 35 # Enables WebRTC. |
34 #enable_webrtc = !is_ios TODO(GYP) use this condition when WebRTC works in | 36 #enable_webrtc = !is_ios TODO(GYP) use this condition when WebRTC works in |
35 # the GN build. | 37 # the GN build. |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 enable_google_now = !is_ios && !is_android | 157 enable_google_now = !is_ios && !is_android |
156 | 158 |
157 enable_one_click_signin = is_win || is_mac || (is_linux && !is_chromeos) | 159 enable_one_click_signin = is_win || is_mac || (is_linux && !is_chromeos) |
158 | 160 |
159 # Chrome OS: whether to also build the upcoming version of | 161 # Chrome OS: whether to also build the upcoming version of |
160 # ChromeVox, which can then be enabled via a command-line switch. | 162 # ChromeVox, which can then be enabled via a command-line switch. |
161 enable_chromevox_next = false | 163 enable_chromevox_next = false |
162 | 164 |
163 # Use brlapi from brltty for braille display support. | 165 # Use brlapi from brltty for braille display support. |
164 use_brlapi = is_chromeos | 166 use_brlapi = is_chromeos |
OLD | NEW |