mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
build: fix cctest target for --without-report
Conditionally build `test/cctest/test_report_util.cc` only when configured to include the diagnostic report feature. PR-URL: https://github.com/nodejs/node/pull/28238 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
parent
b97b003c35
commit
c72506c828
4
node.gyp
4
node.gyp
@ -1096,7 +1096,6 @@
|
||||
'test/cctest/test_linked_binding.cc',
|
||||
'test/cctest/test_per_process.cc',
|
||||
'test/cctest/test_platform.cc',
|
||||
'test/cctest/test_report_util.cc',
|
||||
'test/cctest/test_traced_value.cc',
|
||||
'test/cctest/test_util.cc',
|
||||
'test/cctest/test_url.cc',
|
||||
@ -1134,6 +1133,9 @@
|
||||
},
|
||||
}],
|
||||
[ 'node_report=="true"', {
|
||||
'sources': [
|
||||
'test/cctest/test_report_util.cc',
|
||||
],
|
||||
'defines': [
|
||||
'NODE_REPORT',
|
||||
'NODE_ARCH="<(target_arch)"',
|
||||
|
Loading…
Reference in New Issue
Block a user