Unverified Commit 73eab91c authored by Daniel Bevenius's avatar Daniel Bevenius Committed by Gibson Fahnestock
Browse files

build: fix cctest compilation

Currently the cctest target compiles sources files even though they are
compiled for the node target. This is my fault as when I worked on the
task of getting the cctest to use the object files from the node target
I missed a few sources that were being included from node.gypi. This
also effects the build time as these sources are compiled twice.

This commit moves the conditions in question into the node target in
node.gyp. With this commit there should be no object files in
out/Release/obj.target/cctest/src/ (the path will vary depending on the
operating system being used).

Refs: https://github.com/nodejs/node/pull/16887
PR-URL: https://github.com/nodejs/node/pull/16887
Backport-PR-URL: https://github.com/nodejs/node/pull/17174


Reviewed-By: default avatarBen Noordhuis <info@bnoordhuis.nl>
parent 673e2637
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment