mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-14 17:16:01 +00:00
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:
parent
f600d36f7c
commit
78583a14e6
23
DEPS
23
DEPS
@ -238,6 +238,18 @@ hooks = [
|
|||||||
'condition': 'dawn_standalone and checkout_mac',
|
'condition': 'dawn_standalone and checkout_mac',
|
||||||
'action': ['python3', 'build/mac_toolchain.py'],
|
'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.
|
# Update the Windows toolchain if necessary. Must run before 'clang' below.
|
||||||
'name': 'win_toolchain',
|
'name': 'win_toolchain',
|
||||||
@ -273,6 +285,17 @@ hooks = [
|
|||||||
'-s', 'build/toolchain/win/rc/win/rc.exe.sha1',
|
'-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.
|
# Pull clang-format binaries using checked-in hashes.
|
||||||
{
|
{
|
||||||
'name': 'clang_format_win',
|
'name': 'clang_format_win',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user