summaryrefslogtreecommitdiffstats
path: root/content/public/browser/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'content/public/browser/BUILD.gn')
-rw-r--r--content/public/browser/BUILD.gn13
1 files changed, 12 insertions, 1 deletions
diff --git a/content/public/browser/BUILD.gn b/content/public/browser/BUILD.gn
index 05cb6f1..378eed5 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") {
+ 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.