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

Side by Side Diff: build/config/BUILD.gn

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 (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 import("//build/config/allocator.gni") 5 import("//build/config/allocator.gni")
6 import("//build/config/crypto.gni") 6 import("//build/config/crypto.gni")
7 import("//build/config/features.gni") 7 import("//build/config/features.gni")
8 import("//build/config/ui.gni") 8 import("//build/config/ui.gni")
9 import("//build/module_args/v8.gni") 9 import("//build/module_args/v8.gni")
10 10
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 defines += [ "VIDEO_HOLE=1" ] 230 defines += [ "VIDEO_HOLE=1" ]
231 } 231 }
232 if (safe_browsing_mode == 1) { 232 if (safe_browsing_mode == 1) {
233 defines += [ "FULL_SAFE_BROWSING" ] 233 defines += [ "FULL_SAFE_BROWSING" ]
234 defines += [ "SAFE_BROWSING_CSD" ] 234 defines += [ "SAFE_BROWSING_CSD" ]
235 defines += [ "SAFE_BROWSING_DB_LOCAL" ] 235 defines += [ "SAFE_BROWSING_DB_LOCAL" ]
236 defines += [ "SAFE_BROWSING_SERVICE" ] 236 defines += [ "SAFE_BROWSING_SERVICE" ]
237 } else if (safe_browsing_mode == 2) { 237 } else if (safe_browsing_mode == 2) {
238 defines += [ "MOBILE_SAFE_BROWSING" ] 238 defines += [ "MOBILE_SAFE_BROWSING" ]
239 defines += [ "SAFE_BROWSING_SERVICE" ] 239 defines += [ "SAFE_BROWSING_SERVICE" ]
240 } else if (safe_browsing_mode == 3) {
241 defines += [ "MOBILE_SAFE_BROWSING" ]
242 defines += [ "SAFE_BROWSING_DB_REMOTE" ]
243 defines += [ "SAFE_BROWSING_SERVICE" ]
240 } 244 }
241 } 245 }
242 246
243 # Debug/release ---------------------------------------------------------------- 247 # Debug/release ----------------------------------------------------------------
244 248
245 config("debug") { 249 config("debug") {
246 defines = [ 250 defines = [
247 "_DEBUG", 251 "_DEBUG",
248 "DYNAMIC_ANNOTATIONS_ENABLED=1", 252 "DYNAMIC_ANNOTATIONS_ENABLED=1",
249 "WTF_USE_DYNAMIC_ANNOTATIONS=1", 253 "WTF_USE_DYNAMIC_ANNOTATIONS=1",
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 "CoreFoundation.framework", 342 "CoreFoundation.framework",
339 "CoreGraphics.framework", 343 "CoreGraphics.framework",
340 "CoreText.framework", 344 "CoreText.framework",
341 "Foundation.framework", 345 "Foundation.framework",
342 "UIKit.framework", 346 "UIKit.framework",
343 ] 347 ]
344 } else if (is_linux) { 348 } else if (is_linux) {
345 libs = [ "dl" ] 349 libs = [ "dl" ]
346 } 350 }
347 } 351 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698