Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1834)

Side by Side Diff: build/config/features.gni

Issue 1110723002: Split to SafeBrowsingDatabaseManager into Local* and Remote*. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix mismerge Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 126
127 # TODO(brettw) this should be moved to net and only dependents get this define. 127 # TODO(brettw) this should be moved to net and only dependents get this define.
128 disable_ftp_support = is_ios 128 disable_ftp_support = is_ios
129 129
130 enable_web_speech = !is_android && !is_ios 130 enable_web_speech = !is_android && !is_ios
131 131
132 use_dbus = is_linux 132 use_dbus = is_linux
133 133
134 enable_extensions = !is_android && !is_ios 134 enable_extensions = !is_android && !is_ios
135 135
136 # Variable safe_browsing is used to control the build time configuration for 136 # Variable safe_browsing is used to control the build time configuration
137 # safe browsing feature. Safe browsing can be compiled in 3 different levels: 0 137 # for safe browsing feature. Safe browsing can be compiled in 4 different
138 # disables it, 1 enables it fully, and 2 enables only UI and reporting features 138 # levels: 0 disables it, 1 enables it fully, and 2 enables only UI and
139 # without enabling phishing and malware detection. This is useful to integrate 139 # reporting features for use with Data Saver on Mobile, and 3 enables
140 # a third party phishing/malware detection to existing safe browsing logic. 140 # extended mobile protection via an external API. When 3 is fully deployed,
141 # it will replace 2.
141 if (is_android) { 142 if (is_android) {
142 safe_browsing_mode = 2 143 safe_browsing_mode = 2
143 } else if (is_ios) { 144 } else if (is_ios) {
144 safe_browsing_mode = 0 145 safe_browsing_mode = 0
145 } else { 146 } else {
146 safe_browsing_mode = 1 147 safe_browsing_mode = 1
147 } 148 }
148 149
149 enable_task_manager = !is_ios && !is_android 150 enable_task_manager = !is_ios && !is_android
150 151
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 # TODO(GYP) also require !embedded to enable. 183 # TODO(GYP) also require !embedded to enable.
183 use_gconf = is_linux && !is_chromeos 184 use_gconf = is_linux && !is_chromeos
184 185
185 # Hangout services is an extension that adds extra features to Hangouts. 186 # Hangout services is an extension that adds extra features to Hangouts.
186 # For official GYP builds, this flag is set, it will likely need to be 187 # For official GYP builds, this flag is set, it will likely need to be
187 # parameterized in the future for a similar use. 188 # parameterized in the future for a similar use.
188 enable_hangout_services_extension = false 189 enable_hangout_services_extension = false
189 190
190 # Whether to back up data before sync. 191 # Whether to back up data before sync.
191 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) 192 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698