summaryrefslogtreecommitdiff
path: root/test/addons/repl-domain-abort
diff options
context:
space:
mode:
authorGabriel Schulhof <gabriel.schulhof@intel.com>2017-09-05 23:53:06 +0300
committerGabriel Schulhof <gabriel.schulhof@intel.com>2017-09-10 00:15:49 +0300
commit78286984da50ed7f0ed8914b587da62c552277ce (patch)
tree8c690095a5c947a2b62796b8ff0828d5a62727d3 /test/addons/repl-domain-abort
parenta2b68723a920b9cc70377727ec0e3bbe11fbe548 (diff)
downloadandroid-node-v8-78286984da50ed7f0ed8914b587da62c552277ce.tar.gz
android-node-v8-78286984da50ed7f0ed8914b587da62c552277ce.tar.bz2
android-node-v8-78286984da50ed7f0ed8914b587da62c552277ce.zip
test,doc: make module name match gyp target name
Currently the nm_modname does not match the file name of the resulting module. In fact, the nm_modname is pretty arbitrary. This seeks to introduce some consistency into the nm_modname property by having the name of the module appear in exactly one place: the "target_name" property of the gyp target that builds the module. PR-URL: https://github.com/nodejs/node/pull/15209 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'test/addons/repl-domain-abort')
-rw-r--r--test/addons/repl-domain-abort/binding.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/addons/repl-domain-abort/binding.cc b/test/addons/repl-domain-abort/binding.cc
index b2f2c74348..d6a825dfdd 100644
--- a/test/addons/repl-domain-abort/binding.cc
+++ b/test/addons/repl-domain-abort/binding.cc
@@ -42,4 +42,4 @@ void init(Local<Object> exports) {
NODE_SET_METHOD(exports, "method", Method);
}
-NODE_MODULE(binding, init)
+NODE_MODULE(NODE_GYP_MODULE_NAME, init)