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

Unified Diff: build/common.gypi

Issue 20794002: Creates a flag to enable/disable spellchecker. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Try again Created 7 years, 5 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
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index d67c5f1c0161218552903a322c0a7fede2474683..fda02e72c3ae64687f7f0e5369c7c417ec996da9 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -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)',
@@ -2229,6 +2234,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'],
}],
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698