Add Tint public/common configs to dawn_unittests
Fixes a breakage compiling dawn_unittests in a Chromium checkout. These tests have started testing passing public Tint structs like tint::sem::BindingPoint to Dawn internals. Bug: dawn:1480 Change-Id: I41a30abbf73384c86b966223f5f689bd3339ce06 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95986 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org> Auto-Submit: Austin Eng <enga@chromium.org>
This commit is contained in:
parent
f9518dfca2
commit
d4e3fcb4a1
|
@ -205,6 +205,13 @@ dawn_test("dawn_unittests") {
|
||||||
# Add internal dawn native config for internal unittests.
|
# Add internal dawn native config for internal unittests.
|
||||||
configs = [ "${dawn_root}/src/dawn/native:internal" ]
|
configs = [ "${dawn_root}/src/dawn/native:internal" ]
|
||||||
|
|
||||||
|
# Add Tint public+common configs so <tint/tint.h> can be included to test
|
||||||
|
# the Dawn/Tint boundary.
|
||||||
|
configs += [
|
||||||
|
"${dawn_root}/src/tint:tint_public_config",
|
||||||
|
"${dawn_root}/src/tint:tint_common_config",
|
||||||
|
]
|
||||||
|
|
||||||
sources = get_target_outputs(":mock_webgpu_gen")
|
sources = get_target_outputs(":mock_webgpu_gen")
|
||||||
sources += [
|
sources += [
|
||||||
"${dawn_root}/src/dawn/wire/client/ClientMemoryTransferService_mock.cpp",
|
"${dawn_root}/src/dawn/wire/client/ClientMemoryTransferService_mock.cpp",
|
||||||
|
|
Loading…
Reference in New Issue