2018-06-09 18:32:04 -04:00
|
|
|
# This file is used by the GN meta build system to find the root of the source
|
|
|
|
# tree and to set startup options. For documentation on the values set in this
|
|
|
|
# file, run "gn help dotfile" at the command line.
|
|
|
|
|
|
|
|
# The location of the build configuration file.
|
2018-06-13 17:18:51 -04:00
|
|
|
buildconfig = "//build/config/BUILDCONFIG.gn"
|
2018-06-09 18:32:04 -04:00
|
|
|
|
|
|
|
# These are the targets to check headers for by default. The files in targets
|
|
|
|
# matching these patterns (see "gn help label_pattern" for format) will have
|
|
|
|
# their includes checked for proper dependencies when you run either
|
|
|
|
# "gn check" or "gn gen --check".
|
|
|
|
check_targets = []
|
|
|
|
|
|
|
|
default_args = {
|
2018-06-19 06:54:24 -04:00
|
|
|
# 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
|
|
|
|
|
2018-10-20 13:20:48 -04:00
|
|
|
# To disable "use_atk" and other features that we don't need.
|
|
|
|
is_desktop_linux = false
|
|
|
|
|
2018-08-07 02:07:42 -04:00
|
|
|
# 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
|
|
|
|
|
2018-12-13 16:19:17 -05:00
|
|
|
# TODO(ry) Remove this so debug builds can link faster. Currently removing
|
|
|
|
# this breaks cargo build in debug mode in OSX.
|
2018-11-30 02:25:59 -05:00
|
|
|
is_component_build = false
|
|
|
|
|
2018-12-18 09:16:49 -05:00
|
|
|
# Enable Jumbo build for a faster build.
|
|
|
|
# https://chromium.googlesource.com/chromium/src/+/master/docs/jumbo.md
|
|
|
|
use_jumbo_build = true
|
|
|
|
|
2019-01-17 12:09:42 -05:00
|
|
|
symbol_level = 1
|
2018-10-25 20:05:59 -04:00
|
|
|
treat_warnings_as_errors = true
|
2018-09-16 23:53:34 -04:00
|
|
|
rust_treat_warnings_as_errors = true
|
2018-06-19 06:54:24 -04:00
|
|
|
|
|
|
|
# https://cs.chromium.org/chromium/src/docs/ccache_mac.md
|
|
|
|
clang_use_chrome_plugins = false
|
|
|
|
|
2018-06-09 18:32:04 -04:00
|
|
|
v8_deprecation_warnings = false
|
|
|
|
v8_enable_gdbjit = false
|
|
|
|
v8_enable_i18n_support = false
|
2018-06-19 06:54:24 -04:00
|
|
|
v8_experimental_extra_library_files = []
|
|
|
|
v8_extra_library_files = []
|
2018-06-09 18:32:04 -04:00
|
|
|
v8_imminent_deprecation_warnings = false
|
2018-11-27 17:21:05 -05:00
|
|
|
v8_monolithic = false
|
2018-06-09 18:32:04 -04:00
|
|
|
v8_untrusted_code_mitigations = false
|
2018-06-18 10:02:08 -04:00
|
|
|
v8_use_external_startup_data = false
|
2018-06-09 18:32:04 -04:00
|
|
|
v8_use_snapshot = true
|
2019-02-13 21:54:01 -05:00
|
|
|
v8_postmortem_support = true # for https://github.com/nodejs/llnode/
|
2018-06-09 18:32:04 -04:00
|
|
|
}
|