Bazel Windows Support (#929)

This commit is contained in:
Ezekiel Warren
2021-12-20 11:24:56 -08:00
committed by GitHub
parent bb9a6a326f
commit 774b871eca
16 changed files with 110 additions and 33 deletions

View File

@@ -8,5 +8,5 @@ LLVM_ROOT = BINARYEN_ROOT + "/bin"
FROZEN_CACHE = True
system = platform.system()
nodejs_binary = "node.exe" if(system =="Windows") else "bin/node"
nodejs_binary = "bin/nodejs/node.exe" if(system =="Windows") else "bin/node"
NODE_JS = ROOT_DIR + "/external/nodejs_{}_amd64/{}".format(system.lower(), nodejs_binary)