[llvm] 6717a38 - [gn] port 3a7a9c928671 better

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 12 06:16:15 PDT 2025


Author: Nico Weber
Date: 2025-03-12T09:15:40-04:00
New Revision: 6717a38bb5fd004c347d1b68953007596d738d9b

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

LOG: [gn] port 3a7a9c928671 better

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 fc0cba63b02d0..2c513998837a5 100644
--- a/llvm/utils/gn/secondary/lldb/source/Host/BUILD.gn
+++ b/llvm/utils/gn/secondary/lldb/source/Host/BUILD.gn
@@ -16,7 +16,6 @@ static_library("Host") {
   ]
   public_deps = [ "//llvm/utils/gn/build/libs/xml" ]
   sources = [
-    "aix/HostInfoAIX.cpp",
     "common/File.cpp",
     "common/FileAction.cpp",
     "common/FileCache.cpp",
@@ -90,6 +89,10 @@ static_library("Host") {
     ]
   }
 
+  if (current_os == "aix") {
+    sources += [ "aix/HostInfoAIX.cpp" ]
+  }
+
   if (current_os == "mac") {
     sources += [
       "macosx/cfcpp/CFCBundle.cpp",


        


More information about the llvm-commits mailing list