[llvm] 0e5e963 - [gn build] Reformat all build files

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 14 11:07:50 PST 2021


Author: Nico Weber
Date: 2021-12-14T14:07:19-05:00
New Revision: 0e5e963b2d527b39dc9cf5a3d14a83cf3456819a

URL: https://github.com/llvm/llvm-project/commit/0e5e963b2d527b39dc9cf5a3d14a83cf3456819a
DIFF: https://github.com/llvm/llvm-project/commit/0e5e963b2d527b39dc9cf5a3d14a83cf3456819a.diff

LOG: [gn build] Reformat all build files

Ran:

    git ls-files '*.gn' '*.gni' | xargs llvm/utils/gn/gn.py format

Added: 
    

Modified: 
    llvm/utils/gn/secondary/compiler-rt/lib/asan/BUILD.gn
    llvm/utils/gn/secondary/lldb/source/Version/BUILD.gn
    llvm/utils/gn/secondary/third-party/benchmark/BUILD.gn

Removed: 
    


################################################################################
diff  --git a/llvm/utils/gn/secondary/compiler-rt/lib/asan/BUILD.gn b/llvm/utils/gn/secondary/compiler-rt/lib/asan/BUILD.gn
index c741175eeaf53..4882e080d21cc 100644
--- a/llvm/utils/gn/secondary/compiler-rt/lib/asan/BUILD.gn
+++ b/llvm/utils/gn/secondary/compiler-rt/lib/asan/BUILD.gn
@@ -102,7 +102,6 @@ target(asan_target_type, "asan") {
     sources += [
       "asan_interceptors_vfork.S",
       "asan_rtl_x86_64.S",
-
     ]
   }
 

diff  --git a/llvm/utils/gn/secondary/lldb/source/Version/BUILD.gn b/llvm/utils/gn/secondary/lldb/source/Version/BUILD.gn
index 31a1009dd6dcc..5103e45043250 100644
--- a/llvm/utils/gn/secondary/lldb/source/Version/BUILD.gn
+++ b/llvm/utils/gn/secondary/lldb/source/Version/BUILD.gn
@@ -14,7 +14,6 @@ write_vcsrevision("write_vcsversion") {
   public_configs = [ ":write_vcsrevision_config" ]
 }
 
-
 static_library("Version") {
   output_name = "lldbVersion"
   configs += [

diff  --git a/llvm/utils/gn/secondary/third-party/benchmark/BUILD.gn b/llvm/utils/gn/secondary/third-party/benchmark/BUILD.gn
index a0119761923f4..51627ecd0604c 100644
--- a/llvm/utils/gn/secondary/third-party/benchmark/BUILD.gn
+++ b/llvm/utils/gn/secondary/third-party/benchmark/BUILD.gn
@@ -3,8 +3,8 @@ static_library("benchmark") {
     "src/benchmark.cc",
     "src/benchmark_api_internal.cc",
     "src/benchmark_name.cc",
-    "src/benchmark_runner.cc",
     "src/benchmark_register.cc",
+    "src/benchmark_runner.cc",
     "src/colorprint.cc",
     "src/commandlineflags.cc",
     "src/complexity.cc",


        


More information about the llvm-commits mailing list