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

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

Issue 462983002: GN: Make content_shell and webkit_unit_tests work in component build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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
Index: content/public/browser/BUILD.gn
diff --git a/content/public/browser/BUILD.gn b/content/public/browser/BUILD.gn
index 05cb6f190961d57c6734773f2c2f09b43db5ad4c..378eed5dfe59f60f581ec66350e7b2495c687e78 100644
--- a/content/public/browser/BUILD.gn
+++ b/content/public/browser/BUILD.gn
@@ -5,7 +5,18 @@
import("//content/browser/browser.gni")
import("//build/config/ui.gni")
-source_set("browser") {
+group("browser") {
jamesr 2014/08/12 04:03:08 without this patch various components were dependi
+ if (is_component_build) {
+ deps = [ "//content" ]
+ } else {
+ deps = [ ":sources" ]
+ }
+ forward_dependent_configs_from = deps
+}
+
+source_set("sources") {
+ visibility = [ "//content", ":browser" ]
+
if (is_ios) {
# iOS doesn't get the normal file list and only takes these whitelisted
# files.

Powered by Google App Engine
This is Rietveld 408576698