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/scripts/standalone-with-node.gclient b/scripts/standalone-with-node.gclient
new file mode 100644
index 0000000..b695f8a
--- /dev/null
+++ b/scripts/standalone-with-node.gclient
@@ -0,0 +1,13 @@
+# Copy this file to <dawn clone dir>/.gclient to bootstrap gclient in a
+# standalone checkout of Dawn that also compiles dawn_node.
+
+solutions = [
+ { "name" : ".",
+ "url" : "https://dawn.googlesource.com/dawn",
+ "deps_file" : "DEPS",
+ "managed" : False,
+ "custom_vars" : {
+ "dawn_node" : True,
+ }
+ },
+]