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

Unified Diff: content/public/child/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/browser/BUILD.gn ('k') | content/public/common/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/child/BUILD.gn
diff --git a/content/public/child/BUILD.gn b/content/public/child/BUILD.gn
index 9a7c49e5d9c9d1c45b50cb3422506df4d756a17d..1d2077da65f529eb244e134d2c37d69bef853cbd 100644
--- a/content/public/child/BUILD.gn
+++ b/content/public/child/BUILD.gn
@@ -4,7 +4,19 @@
import("//content/child/child.gni")
-source_set("child") {
+# See //content/BUILD.gn for how this works.
+group("child") {
+ if (is_component_build) {
+ deps = [ "//content" ]
+ } else {
+ deps = [ ":child_sources" ]
+ }
+ forward_dependent_configs_from = deps
+}
+
+source_set("child_sources") {
+ visibility = [ "//content/*" ]
+
sources = rebase_path(content_child_gypi_values.public_child_sources,
".", "//content")
@@ -14,6 +26,6 @@ source_set("child") {
deps = [
"//content/child",
- "//content/public/common",
+ "//content/public/common:common_sources",
]
}
« no previous file with comments | « content/public/browser/BUILD.gn ('k') | content/public/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698