gpu-dawn: do not build webgpu.h Dawn symbols in by default

Helps hexops/mach#580

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-10-18 09:40:25 -07:00
parent 1abf5d6c45
commit 802b7cd6b0
2 changed files with 7 additions and 2 deletions

View file

@ -791,7 +791,7 @@ pub fn Sdk(comptime deps: anytype) type {
"libs/dawn/out/Debug/gen/src/dawn/native/",
},
.flags = flags.items,
.excluding_contains = &.{ "test", "benchmark", "mock" },
.excluding_contains = &.{ "test", "benchmark", "mock", "webgpu_dawn_native_proc.cpp" },
});
// TODO(build-system): could allow enable_vulkan_validation_layers here. See src/dawn/native/BUILD.gn