Index: components/translate/BUILD.gn |
diff --git a/components/translate/BUILD.gn b/components/translate/BUILD.gn |
index b6134adf725d6887ee21c476ae4dee6eb4351907..0afb521e77d8acf28e1175619528a27b84d8190d 100644 |
--- a/components/translate/BUILD.gn |
+++ b/components/translate/BUILD.gn |
@@ -33,9 +33,16 @@ static_library("translate_core_browser") { |
deps = [ |
":translate_core_common", |
"//base", |
+ "//components/language_usage_metrics", |
"//components/resources:components_resources", |
"//url", |
] |
+ if (!is_android) { |
+ # TODO(brettw) move thise above. This project uses net headers. This is |
+ # excluded for Android since net doesn't work in the GN build at the time |
+ # of this writing. |
+ deps += [ "//net" ] |
+ } |
} |
static_library("translate_core_common") { |