diff options
author | James M Snell <jasnell@gmail.com> | 2017-07-17 10:15:34 -0700 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2017-08-04 12:55:39 -0700 |
commit | 71a1876f6c3f2a7131c7019d63fea5c8fa740276 (patch) | |
tree | f0d057144429a4219a6c80359676e6c89116c76a /deps/nghttp2/nghttp2.gyp | |
parent | b1909d3a70f9e2ab3d1871848814edbe6130a00e (diff) | |
download | android-node-v8-71a1876f6c3f2a7131c7019d63fea5c8fa740276.tar.gz android-node-v8-71a1876f6c3f2a7131c7019d63fea5c8fa740276.tar.bz2 android-node-v8-71a1876f6c3f2a7131c7019d63fea5c8fa740276.zip |
deps: add nghttp2 dependency
PR-URL: https://github.com/nodejs/node/pull/14239
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Diffstat (limited to 'deps/nghttp2/nghttp2.gyp')
-rw-r--r-- | deps/nghttp2/nghttp2.gyp | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/deps/nghttp2/nghttp2.gyp b/deps/nghttp2/nghttp2.gyp new file mode 100644 index 0000000000..8e35160929 --- /dev/null +++ b/deps/nghttp2/nghttp2.gyp @@ -0,0 +1,59 @@ +{ + 'target_defaults': { + 'defines': [ + '_U_=' + ] + }, + 'targets': [ + { + 'target_name': 'nghttp2', + 'type': 'static_library', + 'include_dirs': ['lib/includes'], + 'conditions': [ + ['OS=="win"', { + 'defines': [ + 'WIN32', + '_WINDOWS', + 'HAVE_CONFIG_H', + 'NGHTTP2_STATICLIB', + ], + 'msvs_settings': { + 'VCCLCompilerTool': { + 'CompileAs': '1' + }, + }, + }], + ['debug_nghttp2 == 1', { + 'defines': [ 'DEBUGBUILD=1' ] + }] + ], + 'direct_dependent_settings': { + 'include_dirs': [ 'lib/includes' ] + }, + 'sources': [ + 'lib/nghttp2_buf.c', + 'lib/nghttp2_callbacks.c', + 'lib/nghttp2_debug.c', + 'lib/nghttp2_frame.c', + 'lib/nghttp2_hd.c', + 'lib/nghttp2_hd_huffman.c', + 'lib/nghttp2_hd_huffman_data.c', + 'lib/nghttp2_helper.c', + 'lib/nghttp2_http.c', + 'lib/nghttp2_map.c', + 'lib/nghttp2_mem.c', + 'lib/nghttp2_npn.c', + 'lib/nghttp2_option.c', + 'lib/nghttp2_outbound_item.c', + 'lib/nghttp2_pq.c', + 'lib/nghttp2_priority_spec.c', + 'lib/nghttp2_queue.c', + 'lib/nghttp2_rcbuf.c', + 'lib/nghttp2_session.c', + 'lib/nghttp2_stream.c', + 'lib/nghttp2_submit.c', + 'lib/nghttp2_version.c' + ] + } + ] +} |