summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/utils/gn/secondary/libunwind/src/BUILD.gn7
1 files changed, 5 insertions, 2 deletions
diff --git a/llvm/utils/gn/secondary/libunwind/src/BUILD.gn b/llvm/utils/gn/secondary/libunwind/src/BUILD.gn
index 559993697b3..9b118045b24 100644
--- a/llvm/utils/gn/secondary/libunwind/src/BUILD.gn
+++ b/llvm/utils/gn/secondary/libunwind/src/BUILD.gn
@@ -24,7 +24,6 @@ if (target_os == "mac") {
}
unwind_sources = [
- "Unwind_AppleExtras.cpp",
"libunwind.cpp",
"Unwind-EHABI.cpp",
"Unwind-seh.cpp",
@@ -46,7 +45,11 @@ unwind_sources = [
"UnwindCursor.hpp",
]
if (target_os == "mac") {
- unwind_sources += [ "src/Unwind_AppleExtras.cpp" ]
+ unwind_sources += [
+ # This comment prevents `gn format` from putting the file on the same line
+ # as `sources +=`, for sync_source_lists_from_cmake.py.
+ "Unwind_AppleExtras.cpp",
+ ]
}
config("unwind_config") {
OpenPOWER on IntegriCloud