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/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//content/renderer/renderer.gni") | 7 import("//content/renderer/renderer.gni") |
8 import("//media/media_options.gni") | 8 import("//media/media_options.gni") |
9 import("//third_party/webrtc/build/webrtc.gni") | 9 import("//third_party/webrtc/build/webrtc.gni") |
| 10 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") |
10 | 11 |
11 source_set("renderer") { | 12 source_set("renderer") { |
12 # Only the public target should depend on this. All other targets (even | 13 # Only the public target should depend on this. All other targets (even |
13 # internal content ones) should depend on the public one. | 14 # internal content ones) should depend on the public one. |
14 visibility = [ | 15 visibility = [ |
15 ":for_content_tests", | 16 ":for_content_tests", |
16 "//content/public/renderer:renderer_sources", | 17 "//content/public/renderer:renderer_sources", |
17 ] | 18 ] |
18 | 19 |
19 sources = rebase_path(content_renderer_gypi_values.private_renderer_sources, | 20 sources = rebase_path(content_renderer_gypi_values.private_renderer_sources, |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 ] | 242 ] |
242 } | 243 } |
243 | 244 |
244 if (use_seccomp_bpf) { | 245 if (use_seccomp_bpf) { |
245 defines += [ "USE_SECCOMP_BPF" ] | 246 defines += [ "USE_SECCOMP_BPF" ] |
246 } | 247 } |
247 | 248 |
248 if (use_ozone) { | 249 if (use_ozone) { |
249 deps += [ "//ui/ozone" ] | 250 deps += [ "//ui/ozone" ] |
250 } | 251 } |
| 252 |
| 253 if (enable_ipc_fuzzer) { |
| 254 configs += [ "//tools/ipc_fuzzer:ipc_fuzzer_config" ] |
| 255 } |
251 } | 256 } |
252 | 257 |
253 # See comment at the top of //content/BUILD.gn for how this works. | 258 # See comment at the top of //content/BUILD.gn for how this works. |
254 group("for_content_tests") { | 259 group("for_content_tests") { |
255 visibility = [ "//content/test/*" ] | 260 visibility = [ "//content/test/*" ] |
256 | 261 |
257 if (enable_mojo_media) { | 262 if (enable_mojo_media) { |
258 # For the defines in mojo_media_config. | 263 # For the defines in mojo_media_config. |
259 public_configs = [ "//media/mojo/services:mojo_media_config" ] | 264 public_configs = [ "//media/mojo/services:mojo_media_config" ] |
260 } | 265 } |
261 | 266 |
262 if (!is_component_build) { | 267 if (!is_component_build) { |
263 public_deps = [ | 268 public_deps = [ |
264 ":renderer", | 269 ":renderer", |
265 ] | 270 ] |
266 } | 271 } |
267 } | 272 } |
OLD | NEW |