From 98c2cf0e91949b290797c950f79baa637c8a19d1 Mon Sep 17 00:00:00 2001 From: Corentin Wallez Date: Wed, 21 Apr 2021 14:58:42 +0000 Subject: [PATCH] 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 Commit-Queue: Ben Clayton Reviewed-by: Antonio Maiorano Reviewed-by: Ben Clayton Reviewed-by: Ryan Harrison --- fuzzers/BUILD.gn | 5 ++++- test/BUILD.gn | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/fuzzers/BUILD.gn b/fuzzers/BUILD.gn index cfb23f2c45..cb5646db5b 100644 --- a/fuzzers/BUILD.gn +++ b/fuzzers/BUILD.gn @@ -30,7 +30,10 @@ if (build_with_chromium) { "${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 = [ "tint_common_fuzzer.cc", diff --git a/test/BUILD.gn b/test/BUILD.gn index 4dd045315f..6b4a1598cd 100644 --- a/test/BUILD.gn +++ b/test/BUILD.gn @@ -126,6 +126,8 @@ source_set("tint_test_helpers") { sources += [ "../src/utils/command_other.cc" ] sources += [ "../src/utils/tmpfile_other.cc" ] } + + configs += [ ":tint_unittests_config" ] } template("tint_unittests_source_set") {