| Index: content/child/BUILD.gn
|
| diff --git a/content/child/BUILD.gn b/content/child/BUILD.gn
|
| index 6420d7a7686ff7d7009ab94ab6ef4fea2ed9bddd..ee79f1810f83643d094a9e98c91b17a0a670d3fa 100644
|
| --- a/content/child/BUILD.gn
|
| +++ b/content/child/BUILD.gn
|
| @@ -7,18 +7,9 @@
|
| import("//content/child/child.gni")
|
|
|
| source_set("child") {
|
| - # Targets external to content should always link to the public API.
|
| - # Internal targets can link to this but only if they're child processes
|
| - # (i.e. not content/browser or content/common) and only if they're inside the
|
| - # content component (i.e. not content/test or content/shell).
|
| - visibility = [
|
| - "//content/gpu/*",
|
| - "//content/plugin/*",
|
| - "//content/ppapi_plugin/*",
|
| - "//content/public/child:child_sources",
|
| - "//content/renderer/*",
|
| - "//content/utility/*",
|
| - ]
|
| + # Only the public target should depend on this. All other targets (even
|
| + # internal content ones) should depend on the public one.
|
| + visibility = [ "//content/public/child:child_sources" ]
|
|
|
| sources = rebase_path(content_child_gypi_values.private_child_sources,
|
| ".",
|
|
|