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>
This commit is contained in:
parent
a3c387a6a2
commit
dc890d6915
|
@ -17,6 +17,8 @@
|
|||
/third_party/jsoncpp
|
||||
/third_party/llvm-build
|
||||
/third_party/markupsafe
|
||||
/third_party/node-addon-api
|
||||
/third_party/node-api-headers
|
||||
/third_party/swiftshader
|
||||
/third_party/tint
|
||||
/third_party/vulkan-deps
|
||||
|
|
15
DEPS
15
DEPS
|
@ -9,6 +9,7 @@ vars = {
|
|||
'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 @@ deps = {
|
|||
'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 = [
|
||||
|
|
|
@ -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,
|
||||
}
|
||||
},
|
||||
]
|
Loading…
Reference in New Issue