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 import("//build/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
6 import("//chrome/common/features.gni") | 6 import("//chrome/common/features.gni") |
7 import("//chrome/version.gni") | 7 import("//chrome/version.gni") |
8 import("//mojo/public/tools/bindings/mojom.gni") | 8 import("//mojo/public/tools/bindings/mojom.gni") |
9 import("//tools/grit/grit_rule.gni") | 9 import("//tools/grit/grit_rule.gni") |
10 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") | 10 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") |
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 if (enable_plugins && enable_extensions) { | 273 if (enable_plugins && enable_extensions) { |
274 sources += [ | 274 sources += [ |
275 "pepper_permission_util.cc", | 275 "pepper_permission_util.cc", |
276 "pepper_permission_util.h", | 276 "pepper_permission_util.h", |
277 ] | 277 ] |
278 } | 278 } |
279 if (!enable_webrtc) { | 279 if (!enable_webrtc) { |
280 sources -= [ "media/webrtc_logging_messages.h" ] | 280 sources -= [ "media/webrtc_logging_messages.h" ] |
281 } | 281 } |
282 | 282 |
283 if (safe_browsing_mode == 1) { | 283 if (safe_browsing_mode != 0) { |
284 sources += rebase_path(gypi_values.chrome_common_full_safe_browsing_sources, | 284 sources += |
285 ".", | 285 rebase_path(gypi_values.chrome_common_shared_safe_browsing_sources, |
286 "//chrome") | 286 ".", |
| 287 "//chrome") |
| 288 |
| 289 if (safe_browsing_mode == 1) { |
| 290 sources += |
| 291 rebase_path(gypi_values.chrome_common_full_safe_browsing_sources, |
| 292 ".", |
| 293 "//chrome") |
| 294 } |
287 } | 295 } |
288 | 296 |
289 if (enable_ipc_fuzzer) { | 297 if (enable_ipc_fuzzer) { |
290 configs += [ "//tools/ipc_fuzzer:ipc_fuzzer_config" ] | 298 configs += [ "//tools/ipc_fuzzer:ipc_fuzzer_config" ] |
291 sources += [ | 299 sources += [ |
292 "external_ipc_dumper.cc", | 300 "external_ipc_dumper.cc", |
293 "external_ipc_dumper.h", | 301 "external_ipc_dumper.h", |
294 ] | 302 ] |
295 } | 303 } |
296 } | 304 } |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
431 mojom("mojo_bindings") { | 439 mojom("mojo_bindings") { |
432 sources = [ | 440 sources = [ |
433 "image_decoder.mojom", | 441 "image_decoder.mojom", |
434 "resource_usage_reporter.mojom", | 442 "resource_usage_reporter.mojom", |
435 ] | 443 ] |
436 | 444 |
437 public_deps = [ | 445 public_deps = [ |
438 "//skia/public/interfaces", | 446 "//skia/public/interfaces", |
439 ] | 447 ] |
440 } | 448 } |
OLD | NEW |