From 4c13659a2a39df7435881b23c00742b557ed6474 Mon Sep 17 00:00:00 2001 From: Kai Ninomiya Date: Fri, 20 Nov 2020 20:17:24 +0000 Subject: [PATCH] Fix includes and BUILD.gn deps for gn check Bug: tint:331 Change-Id: If1c1fa7495cf50f2456eb0b150c8b9a692dee12f Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/33620 Reviewed-by: David Neto Commit-Queue: David Neto --- BUILD.gn | 6 ++++++ src/writer/hlsl/generator_impl_intrinsic_texture_test.cc | 2 -- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index e0789e4961..0b2fdcc5f0 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -885,6 +885,7 @@ source_set("tint_unittests_spv_reader_src") { deps = [ ":gmock_and_gtest", ":libtint_spv_reader_src", + ":tint_unittests_core_src", ] } @@ -938,6 +939,7 @@ source_set("tint_unittests_spv_writer_src") { deps = [ ":gmock_and_gtest", ":libtint_spv_writer_src", + ":tint_unittests_core_src", ] } @@ -1034,6 +1036,7 @@ source_set("tint_unittests_wgsl_reader_src") { deps = [ ":gmock_and_gtest", ":libtint_wgsl_reader_src", + ":tint_unittests_core_src", ] } @@ -1084,6 +1087,7 @@ source_set("tint_unittests_wgsl_writer_src") { deps = [ ":gmock_and_gtest", ":libtint_wgsl_writer_src", + ":tint_unittests_core_src", ] } @@ -1137,6 +1141,7 @@ source_set("tint_unittests_msl_writer_src") { deps = [ ":gmock_and_gtest", ":libtint_msl_writer_src", + ":tint_unittests_core_src", ] } @@ -1191,6 +1196,7 @@ source_set("tint_unittests_hlsl_writer_src") { deps = [ ":gmock_and_gtest", ":libtint_hlsl_writer_src", + ":tint_unittests_core_src", ] } diff --git a/src/writer/hlsl/generator_impl_intrinsic_texture_test.cc b/src/writer/hlsl/generator_impl_intrinsic_texture_test.cc index 3e136088b7..bc22da4c6e 100644 --- a/src/writer/hlsl/generator_impl_intrinsic_texture_test.cc +++ b/src/writer/hlsl/generator_impl_intrinsic_texture_test.cc @@ -22,8 +22,6 @@ #include "src/context.h" #include "src/type_determiner.h" #include "src/writer/hlsl/generator_impl.h" -#include "src/writer/spirv/builder.h" -#include "src/writer/spirv/spv_dump.h" namespace tint { namespace writer {