Add GN arg dawn_use_built_dxc
Now, DXC is always checked out, and dawn_use_built_Dxc controls whether
or not DXC is compiled and used in the D3D12 backend.
Adding a GN arg allows us to configure using DXC only in Dawn builders
and not all of Chromium bots, until the DXC path is well tested and
stable.
Bug: chromium:1462339
Change-Id: Iaeb58df3e84e086c8a2ab73025d7505a90869c5c
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/140323
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Commit-Queue: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
diff --git a/DEPS b/DEPS
index 807913c..eaae9c1 100644
--- a/DEPS
+++ b/DEPS
@@ -21,7 +21,6 @@
# https://chrome-infra-packages.appspot.com/p/infra/3pp/tools/ninja
'dawn_ninja_version': 'version:2@1.11.1.chromium.6',
'dawn_go_version': 'version:2@1.18.4',
- 'dawn_build_dxc': True,
'node_darwin_arm64_sha': '31859fc1fa0994a95f44f09c367d6ff63607cfde',
'node_darwin_x64_sha': '16dfd094763b71988933a31735f9dea966f9abd6',
@@ -163,12 +162,11 @@
'third_party/dxc': {
'url': '{chromium_git}/external/github.com/microsoft/DirectXShaderCompiler@5e080a772910f147cc447fc34e8eb489f0761144',
- 'condition': 'dawn_build_dxc',
},
'third_party/dxheaders': {
# The non-Windows build of DXC depends on DirectX-Headers, and at a specific commit (not ToT)
'url': '{chromium_git}/external/github.com/microsoft/DirectX-Headers@980971e835876dc0cde415e8f9bc646e64667bf7',
- 'condition': 'dawn_build_dxc and host_os != "win"',
+ 'condition': 'host_os != "win"',
},
# WebGPU CTS - not used directly by Dawn, only transitively by Chromium.