diff options
author | nileshagrawal@chromium.org <nileshagrawal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-05 20:40:31 +0000 |
---|---|---|
committer | nileshagrawal@chromium.org <nileshagrawal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-05 20:40:31 +0000 |
commit | 703369ab08f8b272bde2cccc825e650663eb9111 (patch) | |
tree | 99cea38d9330bfe4d06e691eb5843135eb072e98 /chrome/chrome_browser.gypi | |
parent | b982678318d9d2787601b66cf1aa506ff966ef89 (diff) | |
download | chromium_src-703369ab08f8b272bde2cccc825e650663eb9111.zip chromium_src-703369ab08f8b272bde2cccc825e650663eb9111.tar.gz chromium_src-703369ab08f8b272bde2cccc825e650663eb9111.tar.bz2 |
Android: Remove dependency on language detection library.
Savings: 1.2MB in stripped so (in the .rodata section)
750K in APK size
BUG=155069
Review URL: https://chromiumcodereview.appspot.com/11361051
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166024 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome_browser.gypi')
-rw-r--r-- | chrome/chrome_browser.gypi | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/chrome/chrome_browser.gypi b/chrome/chrome_browser.gypi index 1e766bc..251f94b 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/'], |