buildflags.gni 1008 B

123456789101112131415161718192021222324252627282930
  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_pdf_viewer = true
  6. # Provide a fake location provider for mocking
  7. # the geolocation responses. Disable it if you
  8. # need to test with chromium's location provider.
  9. # Should not be enabled for release build.
  10. enable_fake_location_provider = !is_official_build
  11. # Enable Chrome extensions support.
  12. enable_electron_extensions = true
  13. # Enable Spellchecker support
  14. enable_builtin_spellchecker = true
  15. # The version of Electron.
  16. # Packagers and vendor builders should set this in gn args to avoid running
  17. # the script that reads git tag.
  18. override_electron_version = ""
  19. # Define an extra item that will show in process.versions, the value must
  20. # be in the format of "key:value".
  21. # Packagers and vendor builders can set this in gn args to attach extra info
  22. # about the build in the binary.
  23. electron_vendor_version = ""
  24. }