Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(221)

Unified Diff: content/public/plugin/BUILD.gn

Issue 554393009: Make chrome GN build work in component mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: undo gyp changes Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/common/BUILD.gn ('k') | content/public/renderer/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
]
}
« no previous file with comments | « content/public/common/BUILD.gn ('k') | content/public/renderer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698