is_electron_build = true root_extra_deps = [ "//electron" ] # Registry of NMVs --> https://github.com/nodejs/node/blob/master/doc/abi_version_registry.json node_module_version = 107 v8_promise_internal_field_count = 1 v8_embedder_string = "-electron.0" # TODO: this breaks mksnapshot v8_enable_snapshot_native_code_counters = false # TODO(codebytere): remove when Node.js handles https://chromium-review.googlesource.com/c/v8/v8/+/3211575 v8_scriptormodule_legacy_lifetime = true # we use this api v8_enable_javascript_promise_hooks = true enable_cdm_host_verification = false proprietary_codecs = true ffmpeg_branding = "Chrome" enable_basic_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 # 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 v8_enable_sandboxed_pointers = false