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

Unified Diff: components/translate.gypi

Issue 354093004: Fix crash when using non-static CLD and update translate.gypi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase onto master Created 6 years, 6 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
Index: components/translate.gypi
diff --git a/components/translate.gypi b/components/translate.gypi
index d4bba43d8512df648d1af973e978803c4727c511..8b94c2b0cc07068f25eb9ce851e3c93c5a9ee24e 100644
--- a/components/translate.gypi
+++ b/components/translate.gypi
@@ -190,6 +190,11 @@
'translate/content/renderer/renderer_cld_data_provider.h',
],
'conditions': [
+ ['cld_version==0 or cld_version==2', {
+ 'dependencies': [
+ '<(DEPTH)/third_party/cld_2/cld_2.gyp:cld_2',
+ ],
+ }],
['cld2_data_source=="standalone" or cld2_data_source=="component"', {
'sources': [
'translate/content/renderer/data_file_renderer_cld_data_provider.cc',
« no previous file with comments | « chrome/browser/translate/chrome_translate_client.cc ('k') | components/translate/content/browser/browser_cld_data_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698