summaryrefslogtreecommitdiff
path: root/chromium/components/spellcheck/spellcheck_build_features.gni
blob: 7ecbb70a13424858c33d676febdcd7ccc2cd7585 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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.

declare_args() {
  # Enable the spell checker.
  enable_spellcheck = !is_ios

  # Use the operating system's spellchecker rather than hunspell. This does
  # not affect the "red underline" spellchecker which can consult Google's
  # server-based spellcheck service.
  use_browser_spellchecker = is_android || is_mac
}

# Only Mac has a spellcheck panel.
has_spellcheck_panel = is_mac