dxc: fix dependency
Support depends on DataTypes-header. Fixes missing includes when
building certain cpps from the Support target.
Bug: dawn:2250
Change-Id: Ie972a630f508e47e3a903b7c474f9d46860b6519
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/161720
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Kokoro: Antonio Maiorano <amaiorano@google.com>
diff --git a/third_party/gn/dxc/BUILD.gn b/third_party/gn/dxc/BUILD.gn
index cda30e0..8e7ae64 100644
--- a/third_party/gn/dxc/BUILD.gn
+++ b/third_party/gn/dxc/BUILD.gn
@@ -576,6 +576,7 @@
public_deps = [
":AsmParsers-def",
":AsmPrinters-def",
+ ":DataTypes-header",
":Disassemblers-def",
":Targets-def",
":abi-breaking-header",
@@ -688,10 +689,7 @@
# Common code for both llvm-tblgen and clang-tblgen
source_set("TableGen") {
- public_deps = [
- ":DataTypes-header",
- ":Support",
- ]
+ public_deps = [ ":Support" ]
sources = [
"$dawn_dxc_dir/lib/TableGen/Error.cpp",
@@ -1145,7 +1143,6 @@
configs += [ "//build/config/compiler:no_chromium_code" ]
}
public_deps = [
- ":DataTypes-header",
":HLSLOptions-inc",
":Intrinsics-td",
":SharedLibAffix-h",