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

Unified Diff: build/common.gypi

Issue 357003: Move the spellchecker to the renderer.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rename Created 11 years, 1 month 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: build/common.gypi
===================================================================
--- build/common.gypi (revision 31117)
+++ build/common.gypi (working copy)
@@ -43,9 +43,14 @@
# else gets passed through, which probably won't work very well; such
# hosts should pass an explicit target_arch to gyp.
'target_arch%':
- '<!(uname -m | sed -e "s/i.86/ia32/;s/x86_64/x64/;s/arm.*/arm/")'
+ '<!(uname -m | sed -e "s/i.86/ia32/;s/x86_64/x64/;s/arm.*/arm/")',
+
+ # For now, only Linux spellchecks in the renderer.
+ 'spellchecker_in_renderer%': 1,
}, { # OS!="linux"
'target_arch%': 'ia32',
+
+ 'spellchecker_in_renderer%': 0,
}],
],
@@ -79,6 +84,7 @@
'branding%': '<(branding)',
'buildtype%': '<(buildtype)',
'target_arch%': '<(target_arch)',
+ 'spellchecker_in_renderer%': '<(spellchecker_in_renderer)',
'toolkit_views%': '<(toolkit_views)',
'chromeos%': '<(chromeos)',
'inside_chromium_build%': '<(inside_chromium_build)',
@@ -295,6 +301,9 @@
['enable_pepper==1', {
'defines': ['ENABLE_PEPPER=1'],
}],
+ ['spellchecker_in_renderer==1', {
+ 'defines': ['SPELLCHECKER_IN_RENDERER=1']
+ }],
['fastbuild!=0', {
'conditions': [
# Finally, for Windows, we simply turn on profiling.

Powered by Google App Engine
This is Rietveld 408576698