Support cross build dawn for Windows on Linux

Change-Id: I50474bacee3c0c7ebea8ffc05f457de550570382
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/119380
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Peng Huang <penghuang@chromium.org>
This commit is contained in:
Peng Huang 2023-02-10 13:53:31 +00:00 committed by Dawn LUCI CQ
parent f600d36f7c
commit 78583a14e6
1 changed files with 23 additions and 0 deletions

23
DEPS
View File

@ -238,6 +238,18 @@ hooks = [
'condition': 'dawn_standalone and checkout_mac',
'action': ['python3', 'build/mac_toolchain.py'],
},
{
# Case-insensitivity for the Win SDK. Must run before win_toolchain below.
'name': 'ciopfs_linux',
'pattern': '.',
'condition': 'checkout_win and host_os == "linux"',
'action': [ 'download_from_google_storage',
'--no_resume',
'--no_auth',
'--bucket', 'chromium-browser-clang/ciopfs',
'-s', 'build/ciopfs.sha1',
]
},
{
# Update the Windows toolchain if necessary. Must run before 'clang' below.
'name': 'win_toolchain',
@ -273,6 +285,17 @@ hooks = [
'-s', 'build/toolchain/win/rc/win/rc.exe.sha1',
],
},
{
'name': 'rc_linux',
'pattern': '.',
'condition': 'checkout_win and host_os == "linux"',
'action': [ 'download_from_google_storage',
'--no_resume',
'--no_auth',
'--bucket', 'chromium-browser-clang/rc',
'-s', 'build/toolchain/win/rc/linux64/rc.sha1',
]
},
# Pull clang-format binaries using checked-in hashes.
{
'name': 'clang_format_win',