all.gn 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. is_electron_build = true
  2. root_extra_deps = [ "//electron" ]
  3. # Registry of NMVs --> https://github.com/nodejs/node/blob/master/doc/abi_version_registry.json
  4. node_module_version = 109
  5. v8_promise_internal_field_count = 1
  6. v8_embedder_string = "-electron.0"
  7. # TODO: this breaks mksnapshot
  8. v8_enable_snapshot_native_code_counters = false
  9. # TODO(codebytere): remove when Node.js handles https://chromium-review.googlesource.com/c/v8/v8/+/3211575
  10. v8_scriptormodule_legacy_lifetime = true
  11. # we use this api
  12. v8_enable_javascript_promise_hooks = true
  13. enable_cdm_host_verification = false
  14. proprietary_codecs = true
  15. ffmpeg_branding = "Chrome"
  16. enable_basic_printing = true
  17. # Removes DLLs from the build, which are only meant to be used for Chromium development.
  18. # See https://github.com/electron/electron/pull/17985
  19. angle_enable_vulkan_validation_layers = false
  20. dawn_enable_vulkan_validation_layers = false
  21. # These are disabled because they cause the zip manifest to differ between
  22. # testing and release builds.
  23. # See https://chromium-review.googlesource.com/c/chromium/src/+/2774898.
  24. enable_pseudolocales = false
  25. # Make application name configurable at runtime for cookie crypto
  26. allow_runtime_configurable_key_storage = true
  27. # CET shadow stack is incompatible with v8, until v8 is CET compliant
  28. # enabling this flag causes main process crashes where CET is enabled
  29. # Ref: https://source.chromium.org/chromium/chromium/src/+/45fba672185aae233e75d6ddc81ea1e0b30db050:v8/BUILD.gn;l=357
  30. enable_cet_shadow_stack = false
  31. # For similar reasons, disable CFI, which is not well supported in V8.
  32. # Chromium doesn't have any problems with this because they do not run
  33. # V8 in the browser process.
  34. # Ref: https://source.chromium.org/chromium/chromium/src/+/45fba672185aae233e75d6ddc81ea1e0b30db050:v8/BUILD.gn;l=281
  35. is_cfi = false