| Index: content/plugin/BUILD.gn
|
| diff --git a/content/plugin/BUILD.gn b/content/plugin/BUILD.gn
|
| index 90d266efad9191250541bd89db919fbd09f1bba8..03171deaa9094d5d8a176a6381687ad04664d759 100644
|
| --- a/content/plugin/BUILD.gn
|
| +++ b/content/plugin/BUILD.gn
|
| @@ -7,7 +7,10 @@ import("//build/config/features.gni")
|
| # This is the NPAPI plugin process. It isn't used on Linux.
|
| if (enable_plugins && !is_linux) {
|
| source_set("plugin") {
|
| - 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/plugin:plugin_sources" ]
|
| +
|
| sources = [
|
| "plugin_channel.cc",
|
| "plugin_channel.h",
|
|
|