Skip to content

Commit 7b49c89

Browse files
authored
Rename addons_abi to addons_napi (nodejs#166)
1 parent 43dc439 commit 7b49c89

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -263,12 +263,12 @@ test/addons/.buildstamp: config.gypi \
263263
# TODO(bnoordhuis) Force rebuild after gyp update.
264264
build-addons: $(NODE_EXE) test/addons/.buildstamp
265265

266-
ADDONS_ABI_BINDING_GYPS := \
266+
ADDONS_NAPI_BINDING_GYPS := \
267267
$(filter-out test/addons-napi/??_*/binding.gyp, \
268268
$(wildcard test/addons-napi/*/binding.gyp))
269269

270270
# Implicitly depends on $(NODE_EXE), see the build-addons-napi rule for rationale.
271-
test/addons-napi/.buildstamp: $(ADDONS_ABI_BINDING_GYPS) \
271+
test/addons-napi/.buildstamp: $(ADDONS_NAPI_BINDING_GYPS) \
272272
deps/uv/include/*.h deps/v8/include/*.h \
273273
src/node.h src/node_buffer.h src/node_object_wrap.h
274274
# Cannot use $(wildcard test/addons-napi/*/) here, it's evaluated before

vcbuild.bat

+5-5
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ set enable_vtune_arg=
4040
set configure_flags=
4141
set build_addons=
4242
set dll=
43-
set build_addons_abi=
43+
set build_addons_napi=
4444
set test_node_inspect=
4545

4646
:next-arg
@@ -60,10 +60,10 @@ if /i "%1"=="nosnapshot" set nosnapshot=1&goto arg-ok
6060
if /i "%1"=="noetw" set noetw=1&goto arg-ok
6161
if /i "%1"=="noperfctr" set noperfctr=1&goto arg-ok
6262
if /i "%1"=="licensertf" set licensertf=1&goto arg-ok
63-
if /i "%1"=="test" set test_args=%test_args% addons addons-napi doctool known_issues message parallel sequential -J&set cpplint=1&set jslint=1&set build_addons=1&set build_addons_abi=1&goto arg-ok
64-
if /i "%1"=="test-ci" set test_args=%test_args% %test_ci_args% -p tap --logfile test.tap addons addons-napi doctool inspector known_issues message sequential parallel&set cctest_args=%cctest_args% --gtest_output=tap:cctest.tap&set build_addons=1&set build_addons_abi=1&goto arg-ok
63+
if /i "%1"=="test" set test_args=%test_args% addons addons-napi doctool known_issues message parallel sequential -J&set cpplint=1&set jslint=1&set build_addons=1&set build_addons_napi=1&goto arg-ok
64+
if /i "%1"=="test-ci" set test_args=%test_args% %test_ci_args% -p tap --logfile test.tap addons addons-napi doctool inspector known_issues message sequential parallel&set cctest_args=%cctest_args% --gtest_output=tap:cctest.tap&set build_addons=1&set build_addons_napi=1&goto arg-ok
6565
if /i "%1"=="test-addons" set test_args=%test_args% addons&set build_addons=1&goto arg-ok
66-
if /i "%1"=="test-addons-napi" set test_args=%test_args% addons-napi&set build_addons_abi=1&goto arg-ok
66+
if /i "%1"=="test-addons-napi" set test_args=%test_args% addons-napi&set build_addons_napi=1&goto arg-ok
6767
if /i "%1"=="test-simple" set test_args=%test_args% sequential parallel -J&goto arg-ok
6868
if /i "%1"=="test-message" set test_args=%test_args% message&goto arg-ok
6969
if /i "%1"=="test-gc" set test_args=%test_args% gc&set build_testgc_addon=1&goto arg-ok
@@ -337,7 +337,7 @@ for /d %%F in (test\addons\*) do (
337337
)
338338

339339
:build-addons-napi
340-
if not defined build_addons_abi goto run-tests
340+
if not defined build_addons_napi goto run-tests
341341
if not exist "%node_exe%" (
342342
echo Failed to find node.exe
343343
goto run-tests

0 commit comments

Comments
 (0)