Creates a flag to enable/disable spellchecker.

Add a flag to remove spell-checking inside form fields on Chrome.
Disable the flag for android -- we cannot interact with the spellchecker,
so it doesn't make sense to have it.

This saves us ~300K memory on startup.

BUG=264837

Review URL: https://chromiumcodereview.appspot.com/20794002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@214621 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
mariakhomenko@chromium.org 2013-07-31 07:48:53 +00:00
Родитель a0616ee2e9
Коммит 5470af9bf3
1 изменённых файлов: 8 добавлений и 0 удалений

Просмотреть файл

@ -340,6 +340,9 @@
# Enable printing support and UI.
'enable_printing%': 1,
# Enable spell checker.
'enable_spellcheck%': 1,
# Webrtc compilation is enabled by default. Set to 0 to disable.
'enable_webrtc%': 1,
@ -511,6 +514,7 @@
'enable_extensions%': 0,
'enable_google_now%': 0,
'enable_printing%': 0,
'enable_spellcheck%': 0,
'enable_themes%': 0,
'proprietary_codecs%': 1,
'remoting%': 0,
@ -817,6 +821,7 @@
'test_isolation_fail_on_missing': '<(test_isolation_fail_on_missing)',
'enable_automation%': '<(enable_automation)',
'enable_printing%': '<(enable_printing)',
'enable_spellcheck%': '<(enable_spellcheck)',
'enable_google_now%': '<(enable_google_now)',
'enable_captive_portal_detection%': '<(enable_captive_portal_detection)',
'disable_ftp_support%': '<(disable_ftp_support)',
@ -2240,6 +2245,9 @@
['enable_printing==1', {
'defines': ['ENABLE_PRINTING=1'],
}],
['enable_spellcheck==1', {
'defines': ['ENABLE_SPELLCHECK=1'],
}],
['enable_captive_portal_detection==1', {
'defines': ['ENABLE_CAPTIVE_PORTAL_DETECTION=1'],
}],