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:
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' ],