summaryrefslogtreecommitdiffstats
path: root/content/public/plugin/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'content/public/plugin/BUILD.gn')
-rw-r--r--content/public/plugin/BUILD.gn9
1 files changed, 8 insertions, 1 deletions
diff --git a/content/public/plugin/BUILD.gn b/content/public/plugin/BUILD.gn
index e4c4d36..1693b4e 100644
--- a/content/public/plugin/BUILD.gn
+++ b/content/public/plugin/BUILD.gn
@@ -16,6 +16,7 @@ group("plugin") {
}
source_set("plugin_sources") {
+ # External code should depend on via ":plugin" above.
visibility = [ "//content/*" ]
sources = [
@@ -24,7 +25,13 @@ source_set("plugin_sources") {
deps = [
"//base",
- "//content/plugin",
+ "//content/plugin", # Must not be a public dep.
"//content/public/common:common_sources",
]
+
+ allow_circular_includes_from = [
+ # This target is a pair with content/plugin. They always go together and
+ # include headers from each other.
+ "//content/plugin",
+ ]
}