Commit 3999fb07 authored by machenbach's avatar machenbach Committed by Commit bot

[gn] Fix no-inline config for V8

This restores the original gyp behavior. Blocks:
https://codereview.chromium.org/2334003005

BUG=chromium:474921
NOTRY=true

Review-Url: https://codereview.chromium.org/2344493002
Cr-Commit-Position: refs/heads/master@{#39414}
parent 3ff20190
......@@ -62,6 +62,9 @@ declare_args() {
# tools/gen-postmortem-metadata.py for details.
v8_postmortem_support = false
# Switches off inlining in V8.
v8_no_inline = false
# Similar to vfp but on MIPS.
v8_can_use_fpu_instructions = true
......@@ -357,6 +360,13 @@ config("toolchain") {
} else if (dcheck_always_on) {
defines += [ "DEBUG" ]
}
if (v8_no_inline) {
cflags += [
"-fno-inline-functions",
"-fno-inline",
]
}
}
###############################################################################
......
......@@ -595,9 +595,9 @@
'gyp_defines': 'test_isolation_mode=prepare',
},
# TODO(machenbach): Remove the symbolized config after the bots are gone.
# TODO(machenbach): Remove the symbolized config after the bots are gone.
'symbolized': {
'gn_args': 'symbolized=true',
'gn_args': 'v8_no_inline=true',
'gyp_defines':
'release_extra_cflags="-fno-inline-functions -fno-inline"',
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment