diff options
author | Brett Wilson <brettw@chromium.org> | 2014-09-11 09:58:56 -0700 |
---|---|---|
committer | Brett Wilson <brettw@chromium.org> | 2014-09-11 17:13:07 +0000 |
commit | 8f132304db80d9de8d0df51a568dda65ddec93ef (patch) | |
tree | 496ef8910ec3b471e05d2d2395a501533e2b7507 /content/plugin | |
parent | 36e91cd9ac1516a202ab09cc5ea98781c84db0d8 (diff) | |
download | chromium_src-8f132304db80d9de8d0df51a568dda65ddec93ef.zip chromium_src-8f132304db80d9de8d0df51a568dda65ddec93ef.tar.gz chromium_src-8f132304db80d9de8d0df51a568dda65ddec93ef.tar.bz2 |
Make chrome GN build work in component mode.
This also fixes a resources regression (added extensions resources) that caused chrome not to run.
R=jamesr@chromium.org
Review URL: https://codereview.chromium.org/554393009
Cr-Commit-Position: refs/heads/master@{#294406}
Diffstat (limited to 'content/plugin')
-rw-r--r-- | content/plugin/BUILD.gn | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/content/plugin/BUILD.gn b/content/plugin/BUILD.gn index 90d266e..03171de 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", |