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

Unified Diff: build/config/BUILD.gn

Issue 1210943008: Patch 2: Added a preprocessor flag for platform spellcheck. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@enable_spellcheck_flag
Patch Set: Small comment change Created 5 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 | « build/common.gypi ('k') | chrome/android/java/src/org/chromium/chrome/browser/ChromeSwitches.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/BUILD.gn
diff --git a/build/config/BUILD.gn b/build/config/BUILD.gn
index ba165ed9657a9a5e5314be1b4de67ee35c7cbe4f..287a1e762b52e84c1d114dca794af45e6a353e6c 100644
--- a/build/config/BUILD.gn
+++ b/build/config/BUILD.gn
@@ -80,6 +80,9 @@ config("feature_flags") {
if (enable_spellcheck) {
defines += [ "ENABLE_SPELLCHECK=1" ]
}
+ if (use_platform_spellchecker) {
cjhopman 2015/07/08 22:29:30 is use_platform_spellchecker already declared some
dylanking 2015/07/08 22:37:56 I added it to build/common.gypi in this CL, is the
cjhopman 2015/07/08 22:43:36 Yeah, you need to declare it in a gn file somewher
dylanking 2015/07/08 23:30:21 Done, hopefully correctly!
+ defines += [ "USE_PLATFORM_SPELLCHECKER=1" ]
+ }
if (dont_embed_build_metadata) {
defines += [ "DONT_EMBED_BUILD_METADATA" ]
}
« no previous file with comments | « build/common.gypi ('k') | chrome/android/java/src/org/chromium/chrome/browser/ChromeSwitches.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698