Index: content/public/browser/BUILD.gn |
diff --git a/content/public/browser/BUILD.gn b/content/public/browser/BUILD.gn |
index 8de9dd8c4ea77fbd4bc5016cf68cc5bc020f794a..643cb8f7436abd68cedfbcfe8d55da4acfe7cd1a 100644 |
--- a/content/public/browser/BUILD.gn |
+++ b/content/public/browser/BUILD.gn |
@@ -25,10 +25,6 @@ source_set("browser_sources") { |
".", |
"//content") |
- if (use_aura) { |
- sources -= [ "context_factory.h" ] |
- } |
- |
configs += [ |
"//build/config:precompiled_headers", |
"//content:content_implementation", |
@@ -43,12 +39,19 @@ source_set("browser_sources") { |
"//skia", |
] |
deps = [ |
+ "//cc", |
"//content/browser", |
"//content/public/common:common_sources", |
+ "//gpu", |
+ "//media", |
"//net", |
+ "//ppapi/c", |
+ "//storage/browser", |
"//ui/accessibility", |
"//ui/base", |
"//ui/events", |
+ "//ui/gl", |
+ "//ui/surface", |
] |
allow_circular_includes_from = [ |
@@ -56,4 +59,13 @@ source_set("browser_sources") { |
# include headers from each other. |
"//content/browser", |
] |
+ |
+ if (is_android) { |
+ deps += [ "//ui/android" ] |
+ } |
+ |
+ if (use_aura) { |
+ sources -= [ "context_factory.h" ] |
+ deps += [ "//ui/aura" ] |
+ } |
} |