GeezerVison is showing github.com — build: --without-ssl implies --without-inspector · nodejs/node@ba23506
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: configure +7-1Lines changed: 7 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -894,7 +894,6 @@ def configure_node(o): |
894 | 894 | o['variables']['library_files'] = options.linked_module |
895 | 895 |
|
896 | 896 | o['variables']['asan'] = int(options.enable_asan or 0) |
897 | | - o['variables']['v8_inspector'] = b(not options.without_inspector) |
898 | 897 | o['variables']['debug_devtools'] = 'node' |
899 | 898 |
|
900 | 899 | if options.use_xcode and options.use_ninja: |
@@ -1268,6 +1267,12 @@ def configure_intl(o): |
1268 | 1267 | pprint.pformat(icu_config, indent=2) + '\n') |
1269 | 1268 | return # end of configure_intl |
1270 | 1269 |
|
| 1270 | +def configure_inspector(o): |
| 1271 | + disable_inspector = (options.without_inspector or |
| 1272 | + options.with_intl in (None, 'none') or |
| 1273 | + options.without_ssl) |
| 1274 | + o['variables']['v8_inspector'] = b(not disable_inspector) |
| 1275 | + |
1271 | 1276 | output = { |
1272 | 1277 | 'variables': {}, |
1273 | 1278 | 'include_dirs': [], |
@@ -1298,6 +1303,7 @@ configure_v8(output) |
1298 | 1303 | configure_openssl(output) |
1299 | 1304 | configure_intl(output) |
1300 | 1305 | configure_static(output) |
| 1306 | +configure_inspector(output) |
1301 | 1307 |
|
1302 | 1308 | # variables should be a root level element, |
1303 | 1309 | # move everything else to target_defaults |
|