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

Unified Diff: components/spellcheck/BUILD.gn

Issue 2495193003: Convert spellcheck to a buildflag header. (Closed)
Patch Set: Comment 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 | « chrome/test/base/chrome_render_view_test.cc ('k') | components/spellcheck/browser/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/spellcheck/BUILD.gn
diff --git a/components/spellcheck/BUILD.gn b/components/spellcheck/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..d8d629a98b7f9d9c759b2c5b7378fc5981931ba4
--- /dev/null
+++ b/components/spellcheck/BUILD.gn
@@ -0,0 +1,17 @@
+# 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.
+
+import("//build/buildflag_header.gni")
+import("//components/spellcheck/spellcheck_build_features.gni")
+
+buildflag_header("build_features") {
+ # Name this "build" features to avoid confusion with
+ # components/spellcheck/common/spellcheck_features.h which are runtime
+ # features.
+ header = "spellcheck_build_features.h"
+ flags = [
+ "ENABLE_SPELLCHECK=$enable_spellcheck",
+ "USE_BROWSER_SPELLCHECKER=$use_browser_spellchecker",
+ ]
+}
« no previous file with comments | « chrome/test/base/chrome_render_view_test.cc ('k') | components/spellcheck/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698