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

Side by Side Diff: content/browser/BUILD.gn

Issue 2043933002: Move IPC fuzzer switches and helpers from chrome/common to content/common. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove CONTENT_EXPORT Created 4 years, 6 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 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//content/browser/browser.gni") 7 import("//content/browser/browser.gni")
8 import("//media/media_options.gni") 8 import("//media/media_options.gni")
9 import("//tools/ipc_fuzzer/ipc_fuzzer.gni")
9 10
10 source_set("browser") { 11 source_set("browser") {
11 # Only the public target should depend on this. All other targets (even 12 # Only the public target should depend on this. All other targets (even
12 # internal content ones) should depend on the public one. 13 # internal content ones) should depend on the public one.
13 visibility = [ 14 visibility = [
14 ":for_content_tests", # See top of //content/BUILD.gn for why. 15 ":for_content_tests", # See top of //content/BUILD.gn for why.
15 "//content/public/browser:browser_sources", 16 "//content/public/browser:browser_sources",
16 ] 17 ]
17 18
18 configs += [ 19 configs += [
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after
508 if (!is_mac && !is_android) { 509 if (!is_mac && !is_android) {
509 sources -= [ 510 sources -= [
510 "gpu/gpu_surface_tracker.cc", 511 "gpu/gpu_surface_tracker.cc",
511 "gpu/gpu_surface_tracker.h", 512 "gpu/gpu_surface_tracker.h",
512 ] 513 ]
513 } 514 }
514 515
515 if (enable_webvr) { 516 if (enable_webvr) {
516 deps += [ "//device/vr" ] 517 deps += [ "//device/vr" ]
517 } 518 }
519
520 if (enable_ipc_fuzzer) {
521 configs += [ "//tools/ipc_fuzzer:ipc_fuzzer_config" ]
522 }
518 } 523 }
519 524
520 # See comment at the top of //content/BUILD.gn for how this works. 525 # See comment at the top of //content/BUILD.gn for how this works.
521 group("for_content_tests") { 526 group("for_content_tests") {
522 visibility = [ "//content/test/*" ] 527 visibility = [ "//content/test/*" ]
523 if (!is_component_build) { 528 if (!is_component_build) {
524 public_deps = [ 529 public_deps = [
525 ":browser", 530 ":browser",
526 ] 531 ]
527 } else { 532 } else {
528 public_deps = [ 533 public_deps = [
529 "//third_party/leveldatabase", 534 "//third_party/leveldatabase",
530 ] 535 ]
531 } 536 }
532 } 537 }
OLDNEW
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client.cc ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698