0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-11-22 15:07:00 -05:00

Simplify the .gn file (#36)

This commit is contained in:
Ry Dahl 2019-12-05 04:13:25 -05:00 committed by GitHub
parent 52050d419a
commit f62b338bf6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

27
.gn
View file

@ -17,40 +17,16 @@ check_targets = []
secondary_source = "//v8/"
default_args = {
# Various global chrome args that are unrelated to deno.
proprietary_codecs = false
safe_browsing_mode = 0
toolkit_views = false
use_aura = false
use_dbus = false
use_gio = false
use_glib = false
use_ozone = false
use_udev = false
# To disable "use_atk" and other features that we don't need.
is_desktop_linux = false
linux_use_bundled_binutils = false
use_sysroot = 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
# 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
use_sysroot = false
use_dummy_lastchange = true
symbol_level = 1
treat_warnings_as_errors = true
# 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
@ -60,7 +36,6 @@ default_args = {
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