build: remove cares headers from tarball

The bundled c-ares isn't very suitable for consumption by addons,
isn't kept stable, and isn't exported on windows.

PR-URL: https://github.com/nodejs/node/pull/10283
Refs: https://github.com/nodejs/node-gyp/pull/1055
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
Gibson Fahnestock 2017-03-22 00:15:03 +00:00
parent 7e6e7d34f3
commit a1028d5e3e
No known key found for this signature in database
GPG Key ID: B01FBB92821C587A

View File

@ -159,9 +159,6 @@ def headers(action):
subdir_files('deps/v8/include', 'include/node/', action)
if 'false' == variables.get('node_shared_cares'):
subdir_files('deps/cares/include', 'include/node/', action)
if 'false' == variables.get('node_shared_libuv'):
subdir_files('deps/uv/include', 'include/node/', action)