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