diff options
author | murgatroid99 <mlumish@google.com> | 2017-04-19 13:23:06 -0700 |
---|---|---|
committer | murgatroid99 <mlumish@google.com> | 2017-04-19 13:23:06 -0700 |
commit | 633933ee0b516c31ba533fb9619b3fb39aa0d6bd (patch) | |
tree | e75f5bf84a003a74f6c6549d1d639b938887bd8d | |
parent | 3b73161380a2457ba29ef0200eb73f9ee7e6dce4 (diff) |
Node: Don't depend on cares npm package
-rw-r--r-- | binding.gyp | 3 | ||||
-rw-r--r-- | package.json | 3 | ||||
-rw-r--r-- | templates/binding.gyp.template | 7 | ||||
-rw-r--r-- | templates/package.json.template | 3 |
4 files changed, 2 insertions, 14 deletions
diff --git a/binding.gyp b/binding.gyp index 16334a22a7..d5942a05ce 100644 --- a/binding.gyp +++ b/binding.gyp @@ -569,7 +569,6 @@ }] ], 'targets': [ - { 'cflags': [ '-std=c99', @@ -648,7 +647,6 @@ 'type': 'static_library', 'dependencies': [ 'gpr', - 'node_modules/cares/deps/cares/cares.gyp:cares', ], 'sources': [ 'src/core/lib/surface/init.c', @@ -951,7 +949,6 @@ "dependencies": [ "grpc", "gpr", - "node_modules/cares/deps/cares/cares.gyp:cares", ] }, { diff --git a/package.json b/package.json index d4f7b56b6a..38312731c2 100644 --- a/package.json +++ b/package.json @@ -34,8 +34,7 @@ "lodash": "^4.15.0", "nan": "^2.0.0", "node-pre-gyp": "^0.6.0", - "protobufjs": "^6.7.0", - "cares": "^1.1.5" + "protobufjs": "^6.7.0" }, "devDependencies": { "async": "^2.0.1", diff --git a/templates/binding.gyp.template b/templates/binding.gyp.template index a2e8c58892..062900de14 100644 --- a/templates/binding.gyp.template +++ b/templates/binding.gyp.template @@ -264,13 +264,6 @@ }] ], 'targets': [ - <% - for lib in libs: - if 'grpc' in lib.transitive_deps or lib.name == 'grpc': - lib.deps.append('node_modules/cares/deps/cares/cares.gyp:cares') - for module in node_modules: - module.deps.append('node_modules/cares/deps/cares/cares.gyp:cares') - %> % for module in node_modules: % for lib in libs: % if lib.name in module.transitive_deps and lib.name not in ('boringssl', 'z'): diff --git a/templates/package.json.template b/templates/package.json.template index b69fd28d2a..3bae8fde43 100644 --- a/templates/package.json.template +++ b/templates/package.json.template @@ -36,8 +36,7 @@ "lodash": "^4.15.0", "nan": "^2.0.0", "node-pre-gyp": "^0.6.0", - "protobufjs": "^6.7.0", - "cares": "^1.1.5" + "protobufjs": "^6.7.0" }, "devDependencies": { "async": "^2.0.1", |