is_electron_build = true root_extra_deps = [ "//electron" ] # Registry of NMVs --> https://github.com/nodejs/node/blob/main/doc/abi_version_registry.json node_module_version = 123 v8_promise_internal_field_count = 1 v8_embedder_string = "-electron.0" # TODO: this breaks mksnapshot v8_enable_snapshot_native_code_counters = false # we use this api v8_enable_javascript_promise_hooks = true enable_cdm_host_verification = false proprietary_codecs = true ffmpeg_branding = "Chrome" enable_printing = true # Removes DLLs from the build, which are only meant to be used for Chromium development. # See https://github.com/electron/electron/pull/17985 angle_enable_vulkan_validation_layers = false dawn_enable_vulkan_validation_layers = false # Removes dxc dll's that are only used experimentally. # See https://bugs.chromium.org/p/chromium/issues/detail?id=1474897 dawn_use_built_dxc = false # These are disabled because they cause the zip manifest to differ between # testing and release builds. # See https://chromium-review.googlesource.com/c/chromium/src/+/2774898. enable_pseudolocales = false # Make application name configurable at runtime for cookie crypto allow_runtime_configurable_key_storage = true # CET shadow stack is incompatible with v8, until v8 is CET compliant # enabling this flag causes main process crashes where CET is enabled # Ref: https://source.chromium.org/chromium/chromium/src/+/45fba672185aae233e75d6ddc81ea1e0b30db050:v8/BUILD.gn;l=357 enable_cet_shadow_stack = false # For similar reasons, disable CFI, which is not well supported in V8. # Chromium doesn't have any problems with this because they do not run # V8 in the browser process. # Ref: https://source.chromium.org/chromium/chromium/src/+/45fba672185aae233e75d6ddc81ea1e0b30db050:v8/BUILD.gn;l=281 is_cfi = false # TODO: fix this once sysroots have been updated. use_qt = false # Disables the builtins PGO for V8 v8_builtins_profiling_log_file = "" # https://chromium.googlesource.com/chromium/src/+/main/docs/dangling_ptr.md # TODO(vertedinde): hunt down dangling pointers on Linux enable_dangling_raw_ptr_checks = false enable_dangling_raw_ptr_feature_flag = false # This flag speeds up the performance of fork/execve on linux systems. # Ref: https://chromium-review.googlesource.com/c/v8/v8/+/4602858 v8_enable_private_mapping_fork_optimization = true # Expose public V8 symbols for native modules. v8_expose_public_symbols = true