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. |
(...skipping 11 matching lines...) Expand all Loading... |
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 | 26 |
27 # If debug_devtools is set to true, JavaScript files for DevTools are stored | 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 | 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 | 29 # resources.pak. It is still possible to load JS files from disk by passing |
30 # --debug-devtools cmdline switch. | 30 # --debug-devtools cmdline switch. |
31 debug_devtools = false | 31 debug_devtools = false |
| 32 |
| 33 # Enables WebRTC. |
| 34 #enable_webrtc = !is_ios TODO(GYP) use this condition when WebRTC works in |
| 35 # the GN build. |
| 36 enable_webrtc = false |
32 } | 37 } |
33 | 38 |
34 # Additional dependent variables ----------------------------------------------- | 39 # Additional dependent variables ----------------------------------------------- |
35 | 40 |
36 # Set the version of CLD. | 41 # Set the version of CLD. |
37 # 0: Don't specify the version. This option is for the Finch testing. | 42 # 0: Don't specify the version. This option is for the Finch testing. |
38 # 1: Use only CLD1. | 43 # 1: Use only CLD1. |
39 # 2: Use only CLD2. | 44 # 2: Use only CLD2. |
40 if (is_android || is_ios) { | 45 if (is_android || is_ios) { |
41 cld_version = 1 | 46 cld_version = 1 |
(...skipping 19 matching lines...) Expand all Loading... |
61 printing_mode = 1 | 66 printing_mode = 1 |
62 } | 67 } |
63 | 68 |
64 # The seccomp-bpf sandbox is only supported on three architectures | 69 # The seccomp-bpf sandbox is only supported on three architectures |
65 # currently. | 70 # currently. |
66 # Do not disable seccomp_bpf anywhere without talking to | 71 # Do not disable seccomp_bpf anywhere without talking to |
67 # security@chromium.org! | 72 # security@chromium.org! |
68 use_seccomp_bpf = (is_linux || is_android) && | 73 use_seccomp_bpf = (is_linux || is_android) && |
69 (cpu_arch == "x86" || cpu_arch == "x64" || cpu_arch == "arm") | 74 (cpu_arch == "x86" || cpu_arch == "x64" || cpu_arch == "arm") |
70 | 75 |
71 enable_webrtc = !is_ios | |
72 | |
73 # Enable notifications everywhere except Android/iOS. | 76 # Enable notifications everywhere except Android/iOS. |
74 # Android is http://crbug.com/115320 | 77 # Android is http://crbug.com/115320 |
75 enable_notifications = !is_android && !is_ios | 78 enable_notifications = !is_android && !is_ios |
76 | 79 |
77 # TODO(brettw) this should be moved to net and only dependents get this define. | 80 # TODO(brettw) this should be moved to net and only dependents get this define. |
78 disable_ftp_support = is_ios | 81 disable_ftp_support = is_ios |
79 | 82 |
80 enable_web_speech = (!is_android && !is_ios) | 83 enable_web_speech = (!is_android && !is_ios) |
81 | 84 |
82 use_dbus = is_linux | 85 use_dbus = is_linux |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 enable_google_now = !is_ios && !is_android | 155 enable_google_now = !is_ios && !is_android |
153 | 156 |
154 enable_one_click_signin = is_win || is_mac || (is_linux && !is_chromeos) | 157 enable_one_click_signin = is_win || is_mac || (is_linux && !is_chromeos) |
155 | 158 |
156 # Chrome OS: whether to also build the upcoming version of | 159 # Chrome OS: whether to also build the upcoming version of |
157 # ChromeVox, which can then be enabled via a command-line switch. | 160 # ChromeVox, which can then be enabled via a command-line switch. |
158 enable_chromevox_next = false | 161 enable_chromevox_next = false |
159 | 162 |
160 # Use brlapi from brltty for braille display support. | 163 # Use brlapi from brltty for braille display support. |
161 use_brlapi = is_chromeos | 164 use_brlapi = is_chromeos |
OLD | NEW |