spellcheck_build_features.gni 903 B

12345678910111213141516171819202122
  1. # Copyright 2016 The Chromium Authors. All rights reserved.
  2. # Use of this source code is governed by a BSD-style license that can be
  3. # found in the LICENSE file.
  4. # Enable the spell checker.
  5. enable_spellcheck = !is_ios
  6. # Use the operating system's spellchecker rather than hunspell. This does
  7. # not affect the "red underline" spellchecker which can consult Google's
  8. # server-based spellcheck service.
  9. use_browser_spellchecker = is_android || is_mac || is_win
  10. # Use Hunspell. Windows can use both the OS's spellchecker and Hunspell.
  11. # Therefore, include Windows in both build flags.
  12. use_renderer_spellchecker = !use_browser_spellchecker || is_win
  13. # Whether the enhanced spellcheck service is available on the platform. This is
  14. # effectively equal to all desktop platforms.
  15. enable_spelling_service = use_renderer_spellchecker || is_mac
  16. # Only Mac has a spellcheck panel.
  17. has_spellcheck_panel = is_mac