Chromium Code Reviews| 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. |