Index: content/child/BUILD.gn |
diff --git a/content/child/BUILD.gn b/content/child/BUILD.gn |
index 3fd360b72e2275d3b11639fba30aa988dd1ecd6c..1342dc90788f78b387b6fe3e3a2e5bb61a0aef8d 100644 |
--- a/content/child/BUILD.gn |
+++ b/content/child/BUILD.gn |
@@ -8,8 +8,9 @@ import("//build/config/ui.gni") |
import("//content/child/child.gni") |
source_set("child") { |
- # Only targets in the content tree can depend directly on this target. |
- visibility = [ "//content/*" ] |
+ # 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, |
".", "//content") |