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

Unified Diff: components/spellcheck/renderer/BUILD.gn

Issue 2818043002: Make SpellCheckPanel compiled and used only on Mac (Closed)
Patch Set: Created 3 years, 8 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
Index: components/spellcheck/renderer/BUILD.gn
diff --git a/components/spellcheck/renderer/BUILD.gn b/components/spellcheck/renderer/BUILD.gn
index 1c3e482f24d6aebd5812c59a954c67be0a608e00..eb323b2b4dae37c5099da1cf11d3ff581483df88 100644
--- a/components/spellcheck/renderer/BUILD.gn
+++ b/components/spellcheck/renderer/BUILD.gn
@@ -32,6 +32,13 @@ source_set("renderer") {
]
}
+ if (!has_spellcheck_panel) {
+ sources -= [
+ "spellcheck_panel.cc",
+ "spellcheck_panel.h",
+ ]
+ }
+
if (is_android) {
sources -= [
"hunspell_engine.cc",

Powered by Google App Engine
This is Rietveld 408576698