]> granicus.if.org Git - llvm/commitdiff
gn build: Pacify `gn format`
authorNico Weber <nicolasweber@gmx.de>
Fri, 5 Apr 2019 23:57:10 +0000 (23:57 +0000)
committerNico Weber <nicolasweber@gmx.de>
Fri, 5 Apr 2019 23:57:10 +0000 (23:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@357830 91177308-0d34-0410-b5e6-96231b3b80d8

utils/gn/secondary/compiler-rt/lib/builtins/BUILD.gn

index b3dbd0344144bf2a4883104f022da7c75062a7dd..dc830a5b2736bc063f0f4cddb9deeef307c8654c 100644 (file)
@@ -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",
     ]
   }