More BUILD.gn fixes for building Tint in Chromium

Bug: None
Change-Id: Ib9ed45e428aefd73eeefdbe34d03d9bc499d3679
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/48605
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
This commit is contained in:
Corentin Wallez 2021-04-21 14:58:42 +00:00 committed by Commit Bot service account
parent fec63b7aa6
commit 98c2cf0e91
2 changed files with 6 additions and 1 deletions

View File

@ -30,7 +30,10 @@ if (build_with_chromium) {
"${tint_root_dir}/src:tint_common_config", "${tint_root_dir}/src:tint_common_config",
] ]
public_deps = [ "${tint_root_dir}/src:libtint" ] public_deps = [
"${tint_root_dir}/src:libtint",
"${tint_spirv_tools_dir}/:spvtools_val",
]
sources = [ sources = [
"tint_common_fuzzer.cc", "tint_common_fuzzer.cc",

View File

@ -126,6 +126,8 @@ source_set("tint_test_helpers") {
sources += [ "../src/utils/command_other.cc" ] sources += [ "../src/utils/command_other.cc" ]
sources += [ "../src/utils/tmpfile_other.cc" ] sources += [ "../src/utils/tmpfile_other.cc" ]
} }
configs += [ ":tint_unittests_config" ]
} }
template("tint_unittests_source_set") { template("tint_unittests_source_set") {