2018-07-25 20:39:37 +00:00
|
|
|
is_electron_build = true
|
|
|
|
root_extra_deps = [ "//electron" ]
|
|
|
|
|
2023-02-12 02:52:54 +00:00
|
|
|
# Registry of NMVs --> https://github.com/nodejs/node/blob/main/doc/abi_version_registry.json
|
2023-04-03 22:26:31 +00:00
|
|
|
node_module_version = 116
|
2019-04-26 09:55:12 +00:00
|
|
|
|
2018-07-25 20:39:37 +00:00
|
|
|
v8_promise_internal_field_count = 1
|
2018-10-12 15:26:35 +00:00
|
|
|
v8_embedder_string = "-electron.0"
|
2018-07-25 20:39:37 +00:00
|
|
|
|
2019-04-20 17:20:37 +00:00
|
|
|
# TODO: this breaks mksnapshot
|
|
|
|
v8_enable_snapshot_native_code_counters = false
|
|
|
|
|
2022-01-10 22:31:39 +00:00
|
|
|
# we use this api
|
|
|
|
v8_enable_javascript_promise_hooks = true
|
|
|
|
|
2018-09-05 21:00:37 +00:00
|
|
|
enable_cdm_host_verification = false
|
2018-07-25 20:39:37 +00:00
|
|
|
proprietary_codecs = true
|
|
|
|
ffmpeg_branding = "Chrome"
|
2018-10-01 22:37:29 +00:00
|
|
|
|
2022-10-27 16:37:04 +00:00
|
|
|
enable_printing = true
|
2022-05-16 20:18:01 +00:00
|
|
|
|
|
|
|
# Removes DLLs from the build, which are only meant to be used for Chromium development.
|
|
|
|
# See https://github.com/electron/electron/pull/17985
|
2019-04-30 13:41:59 +00:00
|
|
|
angle_enable_vulkan_validation_layers = false
|
2019-12-11 00:22:35 +00:00
|
|
|
dawn_enable_vulkan_validation_layers = false
|
2018-10-13 01:57:04 +00:00
|
|
|
|
2021-04-22 00:55:22 +00:00
|
|
|
# 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
|
|
|
|
|
2021-05-26 19:16:55 +00:00
|
|
|
# Make application name configurable at runtime for cookie crypto
|
|
|
|
allow_runtime_configurable_key_storage = true
|
2021-06-16 16:57:58 +00:00
|
|
|
|
2022-04-12 23:23:07 +00:00
|
|
|
# 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
|
2021-06-16 16:57:58 +00:00
|
|
|
enable_cet_shadow_stack = false
|
2022-04-13 04:00:03 +00:00
|
|
|
|
|
|
|
# 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
|
2022-10-03 20:21:00 +00:00
|
|
|
|
|
|
|
# TODO: fix this once sysroots have been updated.
|
|
|
|
use_qt = false
|
2023-03-31 02:03:58 +00:00
|
|
|
|
|
|
|
# https://chromium-review.googlesource.com/c/chromium/src/+/4365718
|
|
|
|
# TODO(codebytere): fix perfetto incompatibility with Node.js.
|
|
|
|
use_perfetto_client_library = false
|
2023-04-12 11:37:48 +00:00
|
|
|
|
2023-05-11 03:53:18 +00:00
|
|
|
# Disables the builtins PGO for V8
|
|
|
|
v8_builtins_profiling_log_file = ""
|
2023-08-04 08:47:29 +00:00
|
|
|
|
|
|
|
# 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
|