Index: chrome/chrome_browser.gypi |
diff --git a/chrome/chrome_browser.gypi b/chrome/chrome_browser.gypi |
index 1e766bc613da6cfde7e4bd06d6a4e9b34b46d0fd..251f94b1eabc8b62e61e47a734e5d2d96faf3703 100644 |
--- a/chrome/chrome_browser.gypi |
+++ b/chrome/chrome_browser.gypi |
@@ -2162,7 +2162,6 @@ |
'../ppapi/ppapi_internal.gyp:ppapi_ipc', # For PpapiMsg_LoadPlugin |
'../printing/printing.gyp:printing', |
'../third_party/adobe/flash/flash_player.gyp:flapper_version_h', |
- '../third_party/cld/cld.gyp:cld', |
'../third_party/expat/expat.gyp:expat', |
'../third_party/hunspell/hunspell.gyp:hunspell', |
'../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', |
@@ -2564,6 +2563,16 @@ |
['exclude', '^browser/automation/'], |
], |
}], |
+ ['enable_language_detection==0', { |
+ 'sources!': [ |
+ 'browser/language_usage_metrics.cc', |
+ 'browser/language_usage_metrics.h', |
+ ], |
+ }, { # enable_language_detection==1 |
+ 'dependencies': [ |
+ '../third_party/cld/cld.gyp:cld', |
+ ], |
+ }], |
['enable_printing!=1', { |
'sources/': [ |
['exclude', '^browser/ui/webui/print_preview/'], |