Index: content/public/plugin/BUILD.gn |
diff --git a/content/public/plugin/BUILD.gn b/content/public/plugin/BUILD.gn |
index 587043e356d384a9317a86fd8c3ac98b68d4e576..ab9fb2dabded3f7ae1a933e12131fb4af74dacc1 100644 |
--- a/content/public/plugin/BUILD.gn |
+++ b/content/public/plugin/BUILD.gn |
@@ -2,7 +2,19 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
-source_set("plugin") { |
+# See //content/BUILD.gn for how this works. |
+group("plugin") { |
+ if (is_component_build) { |
+ deps = [ "//content" ] |
+ } else { |
+ deps = [ ":plugin_sources" ] |
+ } |
+ forward_dependent_configs_from = deps |
+} |
+ |
+source_set("plugin_sources") { |
+ visibility = [ "//content/*" ] |
+ |
sources = [ |
"content_plugin_client.h", |
] |
@@ -10,6 +22,6 @@ source_set("plugin") { |
deps = [ |
"//base", |
"//content/plugin", |
- "//content/public/common", |
+ "//content/public/common:common_sources", |
] |
} |