build: build benchmark addons like test addons

Build the addons for benchmarks in the same way that the addons for
tests are built.

PR-URL: https://github.com/nodejs/node/pull/29995
Fixes: https://github.com/nodejs/build/issues/1961
Refs: 53ca0b9ae1 (commitcomment-35494896)
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
This commit is contained in:
Richard Lau
2019-10-16 13:47:02 -04:00
parent 1e5ed9a5db
commit c8df5cf74a
2 changed files with 15 additions and 22 deletions

1
benchmark/napi/ref/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
build/