Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFedor Indutny <fedor@indutny.com>2018-10-30 05:06:09 +0300
committerFedor Indutny <fedor@indutny.com>2018-11-11 01:54:21 +0300
commitd4654d89be0c20f8ca1e153d074a236348618b00 (patch)
treef6aa2013a63ad85987bdef23fa82f1eade6d08ee /node.gypi
parentd3f02d0da3d574b91a15d3ace10e76014b7574fc (diff)
deps: introduce `llhttp`
llhttp is modern, written in human-readable TypeScript, verifiable, and is very easy to maintain. See: https://github.com/indutny/llhttp PR-URL: https://github.com/nodejs/node/pull/24059 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'node.gypi')
-rw-r--r--node.gypi11
1 files changed, 8 insertions, 3 deletions
diff --git a/node.gypi b/node.gypi
index eba49be69c3..fdf81b7465b 100644
--- a/node.gypi
+++ b/node.gypi
@@ -163,9 +163,14 @@
],
}],
- [ 'node_shared_http_parser=="false"', {
- 'dependencies': [ 'deps/http_parser/http_parser.gyp:http_parser' ],
- }],
+ [ 'node_experimental_http_parser=="true"', {
+ 'defines': [ 'NODE_EXPERIMENTAL_HTTP' ],
+ 'dependencies': [ 'deps/llhttp/llhttp.gyp:llhttp' ],
+ }, {
+ 'conditions': [ [ 'node_shared_http_parser=="false"', {
+ 'dependencies': [ 'deps/http_parser/http_parser.gyp:http_parser' ],
+ } ] ],
+ } ],
[ 'node_shared_cares=="false"', {
'dependencies': [ 'deps/cares/cares.gyp:cares' ],