mirror of
https://github.com/denoland/rusty_v8.git
synced 2024-12-26 09:13:46 -05:00
Simplify the .gn file (#36)
This commit is contained in:
parent
52050d419a
commit
f62b338bf6
1 changed files with 1 additions and 26 deletions
27
.gn
27
.gn
|
@ -17,40 +17,16 @@ check_targets = []
|
||||||
secondary_source = "//v8/"
|
secondary_source = "//v8/"
|
||||||
|
|
||||||
default_args = {
|
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
|
linux_use_bundled_binutils = false
|
||||||
|
use_sysroot = false
|
||||||
|
|
||||||
# TODO(ry) We may want to turn on CFI at some point. Disabling for simplicity
|
# 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
|
# for now. See http://clang.llvm.org/docs/ControlFlowIntegrity.html
|
||||||
is_cfi = false
|
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
|
use_dummy_lastchange = true
|
||||||
|
|
||||||
symbol_level = 1
|
|
||||||
treat_warnings_as_errors = true
|
treat_warnings_as_errors = true
|
||||||
|
|
||||||
# https://cs.chromium.org/chromium/src/docs/ccache_mac.md
|
# https://cs.chromium.org/chromium/src/docs/ccache_mac.md
|
||||||
clang_use_chrome_plugins = false
|
clang_use_chrome_plugins = false
|
||||||
|
|
||||||
v8_enable_gdbjit = false
|
v8_enable_gdbjit = false
|
||||||
v8_enable_i18n_support = false
|
v8_enable_i18n_support = false
|
||||||
v8_enable_shared_ro_heap = false # See #2624
|
v8_enable_shared_ro_heap = false # See #2624
|
||||||
|
@ -60,7 +36,6 @@ default_args = {
|
||||||
v8_use_external_startup_data = false
|
v8_use_external_startup_data = false
|
||||||
v8_use_snapshot = true
|
v8_use_snapshot = true
|
||||||
v8_postmortem_support = true # for https://github.com/nodejs/llnode/
|
v8_postmortem_support = true # for https://github.com/nodejs/llnode/
|
||||||
|
|
||||||
# We don't want to require downloading the binary executable
|
# We don't want to require downloading the binary executable
|
||||||
# tools/clang/dsymutil.
|
# tools/clang/dsymutil.
|
||||||
enable_dsyms = false
|
enable_dsyms = false
|
||||||
|
|
Loading…
Reference in a new issue