diff --git a/Makefile b/Makefile index 358b3c05c..ab27176d5 100644 --- a/Makefile +++ b/Makefile @@ -80,6 +80,10 @@ android-all: android-lib-x86 android-lib-x86-64 android-all: android-lib-mips android-lib-mips-64 cd android/java && ./gradlew --parallel-threads=$(JOBS) assemble$(BUILDTYPE) +.PHONY: node +# Builds the Node library +node: ; $(RUN) HTTP=none ASSET=none CACHE=none Makefile/node + .PHONY: test test: ; $(RUN) Makefile/test test-%: ; $(RUN) test-$* diff --git a/platform/node/binding.gyp b/gyp/platform-node.gypi similarity index 75% rename from platform/node/binding.gyp rename to gyp/platform-node.gypi index a5fb58339..9019135e2 100644 --- a/platform/node/binding.gyp +++ b/gyp/platform-node.gypi @@ -1,25 +1,23 @@ { 'targets': [ - { 'target_name': '<(module_name)', + { 'target_name': 'platform-node', 'dependencies': [ - './<(mbgl)/mbgl.gyp:core', - './<(mbgl)/mbgl.gyp:platform-<(platform_lib)', - './<(mbgl)/mbgl.gyp:headless-<(headless_lib)', + 'version', ], 'include_dirs': [ "