2018-07-25 14:39:37 -06:00
|
|
|
is_electron_build = true
|
|
|
|
root_extra_deps = [ "//electron" ]
|
|
|
|
|
2023-02-11 19:52:54 -07:00
|
|
|
# Registry of NMVs --> https://github.com/nodejs/node/blob/main/doc/abi_version_registry.json
|
2024-06-05 10:55:45 -06:00
|
|
|
node_module_version = 128
|
2019-04-26 03:55:12 -06:00
|
|
|
|
2018-07-25 14:39:37 -06:00
|
|
|
v8_promise_internal_field_count = 1
|
2018-10-12 09:26:35 -06:00
|
|
|
v8_embedder_string = "-electron.0"
|
2018-07-25 14:39:37 -06:00
|
|
|
|
2019-04-20 11:20:37 -06:00
|
|
|
# TODO: this breaks mksnapshot
|
|
|
|
v8_enable_snapshot_native_code_counters = false
|
|
|
|
|
2022-01-10 15:31:39 -07:00
|
|
|
# we use this api
|
|
|
|
v8_enable_javascript_promise_hooks = true
|
|
|
|
|
2018-09-05 15:00:37 -06:00
|
|
|
enable_cdm_host_verification = false
|
2018-07-25 14:39:37 -06:00
|
|
|
proprietary_codecs = true
|
|
|
|
ffmpeg_branding = "Chrome"
|
2018-10-01 16:37:29 -06:00
|
|
|
|
2022-10-27 10:37:04 -06:00
|
|
|
enable_printing = true
|
2022-05-16 14:18:01 -06: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 07:41:59 -06:00
|
|
|
angle_enable_vulkan_validation_layers = false
|
2019-12-10 17:22:35 -07:00
|
|
|
dawn_enable_vulkan_validation_layers = false
|
2018-10-12 19:57:04 -06:00
|
|
|
|
2024-01-25 13:26:21 -07: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-21 18:55:22 -06: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 13:16:55 -06:00
|
|
|
# Make application name configurable at runtime for cookie crypto
|
|
|
|
allow_runtime_configurable_key_storage = true
|
2021-06-16 10:57:58 -06:00
|
|
|
|
2022-04-12 17:23:07 -06: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 10:57:58 -06:00
|
|
|
enable_cet_shadow_stack = false
|
2022-04-12 22:00:03 -06: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 14:21:00 -06:00
|
|
|
|
|
|
|
# TODO: fix this once sysroots have been updated.
|
|
|
|
use_qt = false
|
2023-03-30 20:03:58 -06:00
|
|
|
|
2023-05-10 21:53:18 -06:00
|
|
|
# Disables the builtins PGO for V8
|
|
|
|
v8_builtins_profiling_log_file = ""
|
2023-08-04 02:47:29 -06: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 16:10:32 -06:00
|
|
|
enable_dangling_raw_ptr_feature_flag = false
|
2023-08-28 08:16:20 -06: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-28 20:46:27 -07:00
|
|
|
|
|
|
|
# Expose public V8 symbols for native modules.
|
|
|
|
v8_expose_public_symbols = true
|
2024-05-10 09:21:10 -06: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.
|
2024-06-07 15:18:35 -06:00
|
|
|
enterprise_cloud_content_analysis = false
|