diff options
author | Refael Ackermann <refack@gmail.com> | 2018-10-16 18:25:44 -0400 |
---|---|---|
committer | Refael Ackermann <refack@gmail.com> | 2018-10-31 12:12:07 -0400 |
commit | e9dc1ebb13d0f62817820fe8a288ed8eb4dad7ff (patch) | |
tree | 31af5281d92d48c0345d30cb42d0b251652cc891 /common.gypi | |
parent | 56881b0d952312320ee6a27e40bd553152e11688 (diff) | |
download | android-node-v8-e9dc1ebb13d0f62817820fe8a288ed8eb4dad7ff.tar.gz android-node-v8-e9dc1ebb13d0f62817820fe8a288ed8eb4dad7ff.tar.bz2 android-node-v8-e9dc1ebb13d0f62817820fe8a288ed8eb4dad7ff.zip |
build: configure default v8_optimized_debug
Under the assumption that debugging is more often focused on node core
source. This setting compiles V8 with only partial optimizations,
DCHECKS, and debug symbols, so it is still very much debuggable,
but it is much faster.
It does disable SLOW_DCHECKS, but at the advice of the V8 team, those
are more important for deep V8 debugging.
Override is configurable with `./configure --v8-non-optimized-debug`.
PR-URL: https://github.com/nodejs/node/pull/23704
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
Diffstat (limited to 'common.gypi')
-rw-r--r-- | common.gypi | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/common.gypi b/common.gypi index bacd496538..d9a0ac6727 100644 --- a/common.gypi +++ b/common.gypi @@ -28,9 +28,6 @@ 'openssl_fips%': '', - # Default to -O0 for debug builds. - 'v8_optimized_debug%': 0, - # Reset this number to 0 on major V8 upgrades. # Increment by one for each non-official patch applied to deps/v8. 'v8_embedder_string': '-node.7', |