all.gn 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. is_electron_build = true
  2. root_extra_deps = [ "//electron" ]
  3. # Registry of NMVs --> https://github.com/nodejs/node/blob/main/doc/abi_version_registry.json
  4. node_module_version = 135
  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. # we use this api
  10. v8_enable_javascript_promise_hooks = true
  11. enable_cdm_host_verification = false
  12. ffmpeg_branding = "Chrome"
  13. proprietary_codecs = true
  14. enable_printing = true
  15. # Removes DLLs from the build, which are only meant to be used for Chromium development.
  16. # See https://github.com/electron/electron/pull/17985
  17. angle_enable_vulkan_validation_layers = false
  18. dawn_enable_vulkan_validation_layers = false
  19. # Removes dxc dll's that are only used experimentally.
  20. # See https://bugs.chromium.org/p/chromium/issues/detail?id=1474897
  21. dawn_use_built_dxc = false
  22. # These are disabled because they cause the zip manifest to differ between
  23. # testing and release builds.
  24. # See https://chromium-review.googlesource.com/c/chromium/src/+/2774898.
  25. enable_pseudolocales = false
  26. # Make application name configurable at runtime for cookie crypto
  27. allow_runtime_configurable_key_storage = true
  28. # CET shadow stack is incompatible with v8, until v8 is CET compliant
  29. # enabling this flag causes main process crashes where CET is enabled
  30. # Ref: https://source.chromium.org/chromium/chromium/src/+/45fba672185aae233e75d6ddc81ea1e0b30db050:v8/BUILD.gn;l=357
  31. enable_cet_shadow_stack = false
  32. # For similar reasons, disable CFI, which is not well supported in V8.
  33. # Chromium doesn't have any problems with this because they do not run
  34. # V8 in the browser process.
  35. # Ref: https://source.chromium.org/chromium/chromium/src/+/45fba672185aae233e75d6ddc81ea1e0b30db050:v8/BUILD.gn;l=281
  36. is_cfi = false
  37. # TODO: fix this once sysroots have been updated.
  38. use_qt5 = false
  39. use_qt6 = false
  40. # Disables the builtins PGO for V8
  41. v8_builtins_profiling_log_file = ""
  42. # https://chromium.googlesource.com/chromium/src/+/main/docs/dangling_ptr.md
  43. # TODO(vertedinde): hunt down dangling pointers on Linux
  44. enable_dangling_raw_ptr_checks = false
  45. enable_dangling_raw_ptr_feature_flag = false
  46. # This flag speeds up the performance of fork/execve on linux systems.
  47. # Ref: https://chromium-review.googlesource.com/c/v8/v8/+/4602858
  48. v8_enable_private_mapping_fork_optimization = true
  49. # Expose public V8 symbols for native modules.
  50. v8_expose_public_symbols = true
  51. # Disable snapshotting a page when printing for its content to be analyzed for
  52. # sensitive content by enterprise users.
  53. enterprise_cloud_content_analysis = false
  54. # TODO: remove dependency on legacy ipc
  55. # https://issues.chromium.org/issues/40943039
  56. content_enable_legacy_ipc = true