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>
diff --git a/DEPS b/DEPS
index 9ddd677..3c28514 100644
--- a/DEPS
+++ b/DEPS
@@ -239,6 +239,18 @@
'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',
'pattern': '.',
@@ -273,6 +285,17 @@
'-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',