buildflags.gni 929 B

123456789101112131415161718192021222324252627282930313233343536373839
  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_remote_module = true
  10. enable_views_api = true
  11. enable_pdf_viewer = true
  12. enable_tts = true
  13. enable_color_chooser = true
  14. enable_picture_in_picture = true
  15. # Provide a fake location provider for mocking
  16. # the geolocation responses. Disable it if you
  17. # need to test with chromium's location provider.
  18. # Should not be enabled for release build.
  19. enable_fake_location_provider = !is_official_build
  20. # Enable Chrome extensions support.
  21. enable_electron_extensions = true
  22. # Enable Spellchecker support
  23. enable_builtin_spellchecker = true
  24. # Undocumented Windows dark mode API
  25. enable_win_dark_mode_window_ui = false
  26. }