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

Unified Diff: components/translate/BUILD.gn

Issue 264463002: GN build improvements. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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
« no previous file with comments | « no previous file | crypto/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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") {
« no previous file with comments | « no previous file | crypto/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698