buildflags.gni 1.0 KB

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