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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 | 63 |
64 # The seccomp-bpf sandbox is only supported on three architectures | 64 # The seccomp-bpf sandbox is only supported on three architectures |
65 # currently. | 65 # currently. |
66 # Do not disable seccomp_bpf anywhere without talking to | 66 # Do not disable seccomp_bpf anywhere without talking to |
67 # security@chromium.org! | 67 # security@chromium.org! |
68 use_seccomp_bpf = (is_linux || is_android) && | 68 use_seccomp_bpf = (is_linux || is_android) && |
69 (cpu_arch == "x86" || cpu_arch == "x64" || cpu_arch == "arm") | 69 (cpu_arch == "x86" || cpu_arch == "x64" || cpu_arch == "arm") |
70 | 70 |
71 enable_webrtc = !is_ios | 71 enable_webrtc = !is_ios |
72 | 72 |
73 # Enable notifications everywhere except Android. | 73 # Enable notifications everywhere except Android/iOS. |
74 # Android is http://crbug.com/115320 | 74 # Android is http://crbug.com/115320 |
75 enable_notifications = !is_android | 75 enable_notifications = !is_android && !is_ios |
76 | 76 |
77 # TODO(brettw) this should be moved to net and only dependents get this define. | 77 # TODO(brettw) this should be moved to net and only dependents get this define. |
78 disable_ftp_support = is_ios | 78 disable_ftp_support = is_ios |
79 | 79 |
80 enable_web_speech = (!is_android && !is_ios) | 80 enable_web_speech = (!is_android && !is_ios) |
81 | 81 |
82 use_dbus = is_linux | 82 use_dbus = is_linux |
83 | 83 |
84 enable_extensions = (!is_android && !is_ios) | 84 enable_extensions = (!is_android && !is_ios) |
85 | 85 |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 enable_google_now = !is_ios && !is_android | 152 enable_google_now = !is_ios && !is_android |
153 | 153 |
154 enable_one_click_signin = is_win || is_mac || (is_linux && !is_chromeos) | 154 enable_one_click_signin = is_win || is_mac || (is_linux && !is_chromeos) |
155 | 155 |
156 # Chrome OS: whether to also build the upcoming version of | 156 # Chrome OS: whether to also build the upcoming version of |
157 # ChromeVox, which can then be enabled via a command-line switch. | 157 # ChromeVox, which can then be enabled via a command-line switch. |
158 enable_chromevox_next = false | 158 enable_chromevox_next = false |
159 | 159 |
160 # Use brlapi from brltty for braille display support. | 160 # Use brlapi from brltty for braille display support. |
161 use_brlapi = is_chromeos | 161 use_brlapi = is_chromeos |
OLD | NEW |