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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 | 127 |
128 # TODO(brettw) this should be moved to net and only dependents get this define. | 128 # TODO(brettw) this should be moved to net and only dependents get this define. |
129 disable_ftp_support = is_ios | 129 disable_ftp_support = is_ios |
130 | 130 |
131 enable_web_speech = !is_android && !is_ios | 131 enable_web_speech = !is_android && !is_ios |
132 | 132 |
133 use_dbus = is_linux | 133 use_dbus = is_linux |
134 | 134 |
135 enable_extensions = !is_android && !is_ios | 135 enable_extensions = !is_android && !is_ios |
136 | 136 |
137 # Variable safe_browsing is used to control the build time configuration for | 137 # Variable safe_browsing is used to control the build time configuration |
138 # safe browsing feature. Safe browsing can be compiled in 3 different levels: 0 | 138 # for safe browsing feature. Safe browsing can be compiled in 4 different |
139 # disables it, 1 enables it fully, and 2 enables only UI and reporting features | 139 # levels: 0 disables it, 1 enables it fully, and 2 enables only UI and |
140 # without enabling phishing and malware detection. This is useful to integrate | 140 # reporting features for use with Data Saver on Mobile, and 3 enables |
141 # a third party phishing/malware detection to existing safe browsing logic. | 141 # extended mobile protection via an external API. When 3 is fully deployed, |
| 142 # it will replace 2. |
142 if (is_android) { | 143 if (is_android) { |
143 safe_browsing_mode = 2 | 144 safe_browsing_mode = 2 |
144 } else if (is_ios) { | 145 } else if (is_ios) { |
145 safe_browsing_mode = 0 | 146 safe_browsing_mode = 0 |
146 } else { | 147 } else { |
147 safe_browsing_mode = 1 | 148 safe_browsing_mode = 1 |
148 } | 149 } |
149 | 150 |
150 enable_task_manager = !is_ios && !is_android | 151 enable_task_manager = !is_ios && !is_android |
151 | 152 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 # TODO(GYP) also require !embedded to enable. | 184 # TODO(GYP) also require !embedded to enable. |
184 use_gconf = is_linux && !is_chromeos | 185 use_gconf = is_linux && !is_chromeos |
185 | 186 |
186 # Hangout services is an extension that adds extra features to Hangouts. | 187 # 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 | 188 # For official GYP builds, this flag is set, it will likely need to be |
188 # parameterized in the future for a similar use. | 189 # parameterized in the future for a similar use. |
189 enable_hangout_services_extension = false | 190 enable_hangout_services_extension = false |
190 | 191 |
191 # Whether to back up data before sync. | 192 # Whether to back up data before sync. |
192 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) | 193 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) |
OLD | NEW |