diff options
author | Gus Caplan <me@gus.host> | 2018-03-01 21:04:59 -0600 |
---|---|---|
committer | Gus Caplan <me@gus.host> | 2018-03-05 08:35:44 -0600 |
commit | 3ed363cb36a9fb686956c0b8b2953ff08a6f0ee8 (patch) | |
tree | 59dada6206a57a0dc100ba16eee24b4a278a1fc0 /configure | |
parent | 0c25cdf39a40a94fcb829ea91caa217d640054b1 (diff) | |
download | android-node-v8-3ed363cb36a9fb686956c0b8b2953ff08a6f0ee8.tar.gz android-node-v8-3ed363cb36a9fb686956c0b8b2953ff08a6f0ee8.tar.bz2 android-node-v8-3ed363cb36a9fb686956c0b8b2953ff08a6f0ee8.zip |
lib: add internal check macros
PR-URL: https://github.com/nodejs/node/pull/18852
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -434,6 +434,11 @@ intl_optgroup.add_option('--download-path', parser.add_option_group(intl_optgroup) +parser.add_option('--debug-lib', + action='store_true', + dest='node_debug_lib', + help='build lib with DCHECK macros') + http2_optgroup.add_option('--debug-http2', action='store_true', dest='debug_http2', @@ -935,6 +940,8 @@ def configure_node(o): if options.enable_static: o['variables']['node_target_type'] = 'static_library' + o['variables']['node_debug_lib'] = b(options.node_debug_lib) + if options.debug_http2: o['variables']['debug_http2'] = 1 else: |