From f62b338bf6580d12a9a43fa9a1a471a042117168 Mon Sep 17 00:00:00 2001 From: Ry Dahl Date: Thu, 5 Dec 2019 04:13:25 -0500 Subject: [PATCH] Simplify the .gn file (#36) --- .gn | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/.gn b/.gn index 253b03f3..f39a221c 100644 --- a/.gn +++ b/.gn @@ -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