summaryrefslogtreecommitdiff
path: root/node.gyp
diff options
context:
space:
mode:
authorRuben Bridgewater <ruben@bridgewater.de>2019-04-24 22:49:32 +0200
committerRuben Bridgewater <ruben@bridgewater.de>2019-04-30 16:22:56 +0200
commit72c6ea26830025c9b7cecb2b1dfd1002481d93ad (patch)
tree51d789d32ffaa3834862722521e1f02ad02a8eae /node.gyp
parent98e9de7db930e505884ca8d0ca6588afbe43f127 (diff)
downloadandroid-node-v8-72c6ea26830025c9b7cecb2b1dfd1002481d93ad.tar.gz
android-node-v8-72c6ea26830025c9b7cecb2b1dfd1002481d93ad.tar.bz2
android-node-v8-72c6ea26830025c9b7cecb2b1dfd1002481d93ad.zip
deps: add acorn stage-3 plugins
This adds bigint, class-fields, numeric-separators, static-class features, private class methods and fields as dependency. That way it's possible to use these in combination with acorn to parse these language features. This also removes a couple of files that were not necessary for Node.js to reduce the code base. PR-URL: https://github.com/nodejs/node/pull/27400 Refs: https://github.com/nodejs/node/issues/27391 Refs: https://github.com/nodejs/node/issues/25835 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Diffstat (limited to 'node.gyp')
-rw-r--r--node.gyp6
1 files changed, 6 insertions, 0 deletions
diff --git a/node.gyp b/node.gyp
index daae6afb58..1ab6b15d73 100644
--- a/node.gyp
+++ b/node.gyp
@@ -224,6 +224,12 @@
'deps/node-inspect/lib/internal/inspect_repl.js',
'deps/acorn/acorn/dist/acorn.js',
'deps/acorn/acorn-walk/dist/walk.js',
+ 'deps/acorn-plugins/acorn-bigint/index.js',
+ 'deps/acorn-plugins/acorn-class-fields/index.js',
+ 'deps/acorn-plugins/acorn-numeric-separator/index.js',
+ 'deps/acorn-plugins/acorn-private-class-elements/index.js',
+ 'deps/acorn-plugins/acorn-private-methods/index.js',
+ 'deps/acorn-plugins/acorn-static-class-features/index.js',
],
'node_mksnapshot_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)node_mksnapshot<(EXECUTABLE_SUFFIX)',
'mkcodecache_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mkcodecache<(EXECUTABLE_SUFFIX)',