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

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: Declared the preprocessor flag in build/config/features.gni 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') | build/config/features.gni » ('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) {
+ defines += [ "USE_PLATFORM_SPELLCHECKER=1" ]
+ }
if (dont_embed_build_metadata) {
defines += [ "DONT_EMBED_BUILD_METADATA" ]
}
« no previous file with comments | « build/common.gypi ('k') | build/config/features.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698