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

Unified Diff: chrome/chrome_common.gypi

Issue 18911002: Move language detection to chrome/common/. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase Created 7 years, 5 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 | « build/common.gypi ('k') | chrome/chrome_renderer.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/chrome_common.gypi
diff --git a/chrome/chrome_common.gypi b/chrome/chrome_common.gypi
index b2d6a60e4dae063be4fad3f59076d3df5484ee62..71a5eb5568d4b7853a5907dbeba1c9aa84c249d7 100644
--- a/chrome/chrome_common.gypi
+++ b/chrome/chrome_common.gypi
@@ -441,6 +441,10 @@
'common/time_format.h',
'common/translate/language_detection_details.cc',
'common/translate/language_detection_details.h',
+ 'common/translate/language_detection_util.cc',
+ 'common/translate/language_detection_util.h',
+ 'common/translate/translate_common_metrics.cc',
+ 'common/translate/translate_common_metrics.h',
'common/translate/translate_errors.h',
'common/translate/translate_util.cc',
'common/translate/translate_util.h',
@@ -537,6 +541,7 @@
['include', '_ios\\.(cc|mm)$'],
['include', '(^|/)ios/'],
['include', '^common/chrome_version_info\\.cc$'],
+ ['include', '^common/translate'],
['include', '^common/zip'],
],
'include_dirs': [
@@ -621,6 +626,11 @@
'common/media/webrtc_logging_messages.h',
]
}],
+ ['enable_language_detection==1', {
+ 'dependencies': [
+ '../third_party/cld/cld.gyp:cld',
+ ],
+ }],
],
'target_conditions': [
['OS == "ios"', {
« no previous file with comments | « build/common.gypi ('k') | chrome/chrome_renderer.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698