buildflags.gni 849 B

123456789101112131415161718192021222324252627282930313233343536
  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_view_api = false
  10. enable_pdf_viewer = false
  11. enable_tts = true
  12. enable_color_chooser = true
  13. enable_picture_in_picture = true
  14. enable_media_key_overrides = 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 flash plugin support.
  21. enable_pepper_flash = true
  22. # Enable Chrome extensions support.
  23. enable_electron_extensions = false
  24. }