DEPS: Add NodeJS binding dependencies
These are behind the new `dawn_node` flag, which can be enabled by using the new `scripts/standalone-with-node.gclient` file.
Bug: dawn:1123
Change-Id: Ia7ca715808e46b17f91338f56ffc6794d0104fd7
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/64900
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
diff --git a/DEPS b/DEPS
index f2e0247..b7a6fb6 100644
--- a/DEPS
+++ b/DEPS
@@ -9,6 +9,7 @@
'swiftshader_git': 'https://swiftshader.googlesource.com',
'dawn_standalone': True,
+ 'dawn_node': False, # Also fetches dependencies required for building NodeJS bindings.
}
deps = {
@@ -140,6 +141,20 @@
'url': '{chromium_git}/chromium/src/third_party/abseil-cpp@789af048b388657987c59d4da406859034fe310f',
'condition': 'dawn_standalone',
},
+
+ # Dependencies required to build Dawn NodeJS bindings
+ 'third_party/node-api-headers': {
+ 'url': '{github_git}/nodejs/node-api-headers.git@d68505e4055ecb630e14c26c32e5c2c65e179bba',
+ 'condition': 'dawn_node',
+ },
+ 'third_party/node-addon-api': {
+ 'url': '{github_git}/nodejs/node-addon-api.git@4a3de56c3e4ed0031635a2f642b27efeeed00add',
+ 'condition': 'dawn_node',
+ },
+ 'third_party/gpuweb': {
+ 'url': '{github_git}/gpuweb/gpuweb.git@67edc187f5305a72456663c34d51153601b79f3b',
+ 'condition': 'dawn_node',
+ },
}
hooks = [