[llvm] f514fb5 - [gn build] Try to fix mac/intel build after cfe02847496b

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 7 12:53:50 PDT 2021


Author: Nico Weber
Date: 2021-09-07T15:52:59-04:00
New Revision: f514fb587c3345d6f5c40866cf092c81f8692065

URL: https://github.com/llvm/llvm-project/commit/f514fb587c3345d6f5c40866cf092c81f8692065
DIFF: https://github.com/llvm/llvm-project/commit/f514fb587c3345d6f5c40866cf092c81f8692065.diff

LOG: [gn build] Try to fix mac/intel build after cfe02847496b

The public header lldb/include/lldb/Host/XML.h includes libxml/xmlreader.h,
so this must be a public dep.

Added: 
    

Modified: 
    llvm/utils/gn/secondary/lldb/source/Host/BUILD.gn

Removed: 
    


################################################################################
diff  --git a/llvm/utils/gn/secondary/lldb/source/Host/BUILD.gn b/llvm/utils/gn/secondary/lldb/source/Host/BUILD.gn
index a747d3c8d856..e4775086f8aa 100644
--- a/llvm/utils/gn/secondary/lldb/source/Host/BUILD.gn
+++ b/llvm/utils/gn/secondary/lldb/source/Host/BUILD.gn
@@ -8,13 +8,13 @@ static_library("Host") {
     "//lldb/source/Utility",
     "//llvm/lib/Object",
     "//llvm/lib/Support",
-    "//llvm/utils/gn/build/libs/xml",
 
     # FIXME:
     # LINK_LIBS
     #   ${EXTRA_LIBS}
     #   ${LLDBObjCLibs}
   ]
+  public_deps = [ "//llvm/utils/gn/build/libs/xml" ]
   sources = [
     "common/File.cpp",
     "common/FileAction.cpp",


        


More information about the llvm-commits mailing list