Index: chrome/chrome_common.gypi |
diff --git a/chrome/chrome_common.gypi b/chrome/chrome_common.gypi |
index fb2ff9a1b3e631009e5f5501e574f7b591b5f15f..774fc6b143555b428c9cc04948ebb24c8fe8863c 100644 |
--- a/chrome/chrome_common.gypi |
+++ b/chrome/chrome_common.gypi |
@@ -439,7 +439,11 @@ |
'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_errors.h', |
+ 'common/translate/translate_helper_metrics.cc', |
+ 'common/translate/translate_helper_metrics.h', |
'common/translate/translate_util.cc', |
'common/translate/translate_util.h', |
'common/tts_messages.h', |
@@ -535,6 +539,7 @@ |
['include', '_ios\\.(cc|mm)$'], |
['include', '(^|/)ios/'], |
['include', '^common/chrome_version_info\\.cc$'], |
+ ['include', '^common/translate'], |
['include', '^common/zip'], |
], |
'include_dirs': [ |
@@ -619,6 +624,11 @@ |
'common/media/webrtc_logging_messages.h', |
] |
}], |
+ ['enable_language_detection==1', { |
+ 'dependencies': [ |
+ '../third_party/cld/cld.gyp:cld', |
+ ], |
+ }], |
], |
'target_conditions': [ |
['OS == "ios"', { |