buildflags.gni 817 B

12345678910111213141516171819202122232425262728293031323334
  1. # Copyright (c) 2018 GitHub, Inc.
  2. # Use of this source code is governed by the MIT license that can be
  3. # found in the LICENSE file.
  4. declare_args() {
  5. enable_desktop_capturer = true
  6. # Allow running Electron as a node binary.
  7. enable_run_as_node = true
  8. enable_osr = true
  9. enable_views_api = true
  10. enable_pdf_viewer = true
  11. enable_tts = true
  12. enable_color_chooser = true
  13. enable_picture_in_picture = true
  14. # Provide a fake location provider for mocking
  15. # the geolocation responses. Disable it if you
  16. # need to test with chromium's location provider.
  17. # Should not be enabled for release build.
  18. enable_fake_location_provider = !is_official_build
  19. # Enable Chrome extensions support.
  20. enable_electron_extensions = true
  21. # Enable Spellchecker support
  22. enable_builtin_spellchecker = true
  23. }