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
|
2024-06-05 16:55:45 +00:00
|
|
|
node_module_version = 128
|
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
|
|
|
|
2024-01-25 20:26:21 +00:00
|
|
|
# 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
|
|
|
|
|
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
|
|
|
|
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
|
2024-04-15 22:10:32 +00:00
|
|
|
enable_dangling_raw_ptr_feature_flag = false
|
2023-08-28 14:16:20 +00:00
|
|
|
|
|
|
|
# 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
|
2023-11-29 03:46:27 +00:00
|
|
|
|
|
|
|
# Expose public V8 symbols for native modules.
|
|
|
|
v8_expose_public_symbols = true
|
2024-05-10 15:21:10 +00:00
|
|
|
|
|
|
|
# Disables unsafe-buffers-usage plugin due to incompatibilities with our reclient implementation
|
|
|
|
# Ref: https://chromium-review.googlesource.com/c/chromium/src/+/5426599
|
|
|
|
# Ref: https://github.com/electron/electron/commit/8e20f16ea35eeaeb149ae63bad3703d782665f6a
|
|
|
|
clang_unsafe_buffers_paths = ""
|
|
|
|
|
|
|
|
# Disable snapshotting a page when printing for its content to be analyzed for
|
|
|
|
# sensitive content by enterprise users.
|
|
|
|
enterprise_content_analysis = false
|