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

Unified Diff: components/spellcheck/spellcheck_build_features.gni

Issue 2495193003: Convert spellcheck to a buildflag header. (Closed)
Patch Set: Fixes Created 4 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
« no previous file with comments | « components/spellcheck/renderer/spellcheck_provider_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/spellcheck/spellcheck_build_features.gni
diff --git a/components/spellcheck/spellcheck_build_features.gni b/components/spellcheck/spellcheck_build_features.gni
new file mode 100644
index 0000000000000000000000000000000000000000..74cad842c2a690454f3e2ef68ef8d70114f51234
--- /dev/null
+++ b/components/spellcheck/spellcheck_build_features.gni
@@ -0,0 +1,9 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# Enable the spell checker.
+enable_spellcheck = !is_ios
groby-ooo-7-16 2016/11/14 20:05:28 I'm somewhat unhappy that we control what componen
brettw 2016/11/14 20:42:53 No, I'm doing the opposite. Our build files are sh
+
+# Use the operating system's spellchecker rather than hunspell.
groby-ooo-7-16 2016/11/14 20:05:28 Note: It might be worth leaving a comment that we
brettw 2016/11/14 20:42:53 Thanks, done.
+use_browser_spellchecker = is_android || is_mac
« no previous file with comments | « components/spellcheck/renderer/spellcheck_provider_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698