From 3f2c1e99e44d028d5e9dd685f3c568f2661f2f68 Mon Sep 17 00:00:00 2001 From: Geoffrey Martin-Noble Date: Fri, 23 Jul 2021 14:50:58 -0700 Subject: [PATCH] [Bazel] Swap stray td_srcs to deps This is the last instance of td_srcs in MLIR core build files. `deps` is generally preferred. There are still some cases where `td_srcs` is useful where creating a td_library would just be another layer of indirection, so not (yet) dropping it entirely. Differential Revision: https://reviews.llvm.org/D106716 --- utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel index 8435e52..bf6def8 100644 --- a/utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel @@ -160,10 +160,10 @@ gentbl_cc_library( ], tblgen = "//mlir:mlir-tblgen", td_file = "lib/Dialect/Test/TestAttrDefs.td", - td_srcs = [ + test = True, + deps = [ ":TestOpTdFiles", ], - test = True, ) gentbl_cc_library( -- 2.7.4