[gn] port 1ae57fed880688 and fix mistake from 1203a24764bfa
authorNico Weber <thakis@chromium.org>
Tue, 18 Apr 2023 12:29:50 +0000 (08:29 -0400)
committerNico Weber <thakis@chromium.org>
Tue, 18 Apr 2023 12:31:13 +0000 (08:31 -0400)
llvm/utils/gn/secondary/libunwind/src/BUILD.gn

index f4aa67a..59f3981 100644 (file)
@@ -38,7 +38,6 @@ unwind_sources = [
   "UnwindLevel1.c",
   "UnwindRegistersRestore.S",
   "UnwindRegistersSave.S",
-  "Unwind_AIXExtras.cpp",
   "assembly.h",
   "cet_unwind.h",
   "config.h",
@@ -46,8 +45,8 @@ unwind_sources = [
   "libunwind.cpp",
   "libunwind_ext.h",
 ]
-if (current_os == "mac") {
-  unwind_sources += [ "Unwind_AppleExtras.cpp" ]
+if (current_os == "aix") {
+  unwind_sources += [ "Unwind_AIXExtras.cpp" ]
 }
 
 if (current_os == "android") {