From: Nico Weber Date: Fri, 5 Apr 2019 23:57:10 +0000 (+0000) Subject: gn build: Pacify `gn format` X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f3c71e3d75cc09d4a061415651cb7ebf7f162156;p=llvm gn build: Pacify `gn format` git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@357830 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/gn/secondary/compiler-rt/lib/builtins/BUILD.gn b/utils/gn/secondary/compiler-rt/lib/builtins/BUILD.gn index b3dbd034414..dc830a5b273 100644 --- a/utils/gn/secondary/compiler-rt/lib/builtins/BUILD.gn +++ b/utils/gn/secondary/compiler-rt/lib/builtins/BUILD.gn @@ -167,6 +167,8 @@ static_library("builtins") { if (target_os != "fuchsia" && !compiler_rt_baremetal_build) { sources += [ + # This comment prevents `gn format` from putting the file on the same line + # as `sources +=`, for sync_source_lists_from_cmake.py. "clear_cache.c", ] } @@ -326,6 +328,8 @@ static_library("builtins") { ] if (target_os == "mingw") { sources += [ + # This comment prevents `gn format` from putting the file on the same + # line as `sources +=`, for sync_source_lists_from_cmake.py. "aarch64/chkstk.S", ] } @@ -385,12 +389,16 @@ static_library("builtins") { if (target_cpu == "riscv") { sources += [ + # This comment prevents `gn format` from putting the file on the same line + # as `sources +=`, for sync_source_lists_from_cmake.py. "riscv/mulsi3.S", ] } if (!compiler_rt_exclude_atomic_builtin) { sources += [ + # This comment prevents `gn format` from putting the file on the same line + # as `sources +=`, for sync_source_lists_from_cmake.py. "atomic.c", ] }