diff --git a/node.gyp b/node.gyp index 56377d6a0c5e8e..77ef85c784df04 100644 --- a/node.gyp +++ b/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)"',