Simplify .gn file (#315)

This commit is contained in:
Ryan Dahl 2020-03-21 19:09:24 -04:00 committed by GitHub
parent 7a15b5e286
commit c9b820894e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

21
.gn
View File

@ -19,33 +19,18 @@ secondary_source = "//v8/"
default_args = {
linux_use_bundled_binutils = false
# TODO(ry) We may want to turn on CFI at some point. Disabling for simplicity
# for now. See http://clang.llvm.org/docs/ControlFlowIntegrity.html
is_cfi = false
use_dummy_lastchange = true
treat_warnings_as_errors = true
# TODO(ry) remove
v8_imminent_deprecation_warnings = false
# https://cs.chromium.org/chromium/src/docs/ccache_mac.md
clang_use_chrome_plugins = false
v8_enable_gdbjit = false
v8_enable_i18n_support = false
v8_enable_shared_ro_heap = false # See #2624
v8_imminent_deprecation_warnings = false
v8_monolithic = false
v8_untrusted_code_mitigations = false
v8_use_external_startup_data = false
v8_use_snapshot = true
v8_postmortem_support = true # for https://github.com/nodejs/llnode/
# We don't want to require downloading the binary executable
# tools/clang/dsymutil.
enable_dsyms = false
# TODO(ry) Remove this so debug builds can link faster. Currently removing
# this breaks cargo build in debug mode in OSX.
is_component_build = false
# Without this the linker produces an invalid executable on some Windows
# systems. It's unclear why that happens.
symbol_level = 1
}