From 6854ad90e39e9d119c990043f573db7157a2b097 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Fri, 25 Oct 2024 14:22:11 +0200 Subject: [PATCH] [bazel][lldb] "Fix" the build after b852fb1ec5fa15f0b913cc4988cbd09239b19904 b852fb1ec5fa15f0b913cc4988cbd09239b19904 split out ValueObject, but it's still all a big pile of dependency spaghetti so just build it with Core. --- utils/bazel/llvm-project-overlay/lldb/BUILD.bazel | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/utils/bazel/llvm-project-overlay/lldb/BUILD.bazel b/utils/bazel/llvm-project-overlay/lldb/BUILD.bazel index 9dba2efc34f613..91eb04db3ee9b5 100644 --- a/utils/bazel/llvm-project-overlay/lldb/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/lldb/BUILD.bazel @@ -607,7 +607,10 @@ gentbl_cc_library( cc_library( name = "CoreHeaders", - hdrs = glob(["include/lldb/Core/**/*.h"]), + hdrs = glob([ + "include/lldb/Core/**/*.h", + "include/lldb/ValueObject/**/*.h", # This should be its own library. + ]), strip_include_prefix = "include", deps = [ ":BreakpointHeaders", @@ -627,8 +630,14 @@ cc_library( cc_library( name = "Core", - srcs = glob(["source/Core/**/*.cpp"]), - hdrs = glob(["include/lldb/Core/**/*.h"]), + srcs = glob([ + "source/Core/**/*.cpp", + "source/ValueObject/**/*.cpp", # This should be its own library. + ]), + hdrs = glob([ + "include/lldb/Core/**/*.h", + "include/lldb/ValueObject/**/*.h", # This should be its own library. + ]), strip_include_prefix = "include", deps = [ ":BreakpointHeaders",