[bazel] fix bazel file
authorPeiming Liu <peiming@google.com>
Thu, 22 Dec 2022 01:24:52 +0000 (01:24 +0000)
committerPeiming Liu <peiming@google.com>
Thu, 22 Dec 2022 01:30:06 +0000 (01:30 +0000)
Reviewed By: yijia1212

Differential Revision: https://reviews.llvm.org/D140520

utils/bazel/llvm-project-overlay/llvm/BUILD.bazel

index c6311a1..70854fb 100644 (file)
@@ -186,10 +186,6 @@ cc_library(
         "lib/Support/*.inc",
         # To avoid a dependency cycle.
         "include/llvm/Option/*.h",
-        # FIXME Move to :TargetParser
-        "lib/TargetParser/**/*.cpp",
-        "lib/TargetParser/**/*.h",
-        "lib/TargetParser/**/*.inc",
     ]) + select({
         "@bazel_tools//src/conditions:windows": glob([
             "lib/Support/Windows/*.h",
@@ -220,9 +216,6 @@ cc_library(
     hdrs = glob([
         "include/llvm/Support/**/*.h",
         "include/llvm/ADT/*.h",
-        # FIXME Move to :TargetParser
-        "include/llvm/TargetParser/*.def",
-        "include/llvm/TargetParser/*.h",
     ]) + [
         "include/llvm-c/Core.h",
         "include/llvm-c/DataTypes.h",