[llvm] 8f21acb - [gn build] reformat all build files again

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 22 11:04:56 PST 2020


Author: Nico Weber
Date: 2020-01-22T14:04:20-05:00
New Revision: 8f21acbf52bb7412df3a68e3868ef11abfaf7385

URL: https://github.com/llvm/llvm-project/commit/8f21acbf52bb7412df3a68e3868ef11abfaf7385
DIFF: https://github.com/llvm/llvm-project/commit/8f21acbf52bb7412df3a68e3868ef11abfaf7385.diff

LOG: [gn build] reformat all build files again

Run `git ls-files '*.gn' '*.gni' | xargs llvm/utils/gn/gn.py format`
after recent fixes to formatting of comments after single-element
lists.

Added: 
    

Modified: 
    llvm/utils/gn/secondary/clang-tools-extra/clangd/test/BUILD.gn
    llvm/utils/gn/secondary/clang-tools-extra/test/BUILD.gn
    llvm/utils/gn/secondary/clang/test/BUILD.gn
    llvm/utils/gn/secondary/compiler-rt/test/hwasan/BUILD.gn
    llvm/utils/gn/secondary/lld/test/BUILD.gn
    llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/BUILD.gn
    llvm/utils/gn/secondary/llvm/test/BUILD.gn
    llvm/utils/gn/secondary/llvm/utils/benchmark/BUILD.gn

Removed: 
    


################################################################################
diff  --git a/llvm/utils/gn/secondary/clang-tools-extra/clangd/test/BUILD.gn b/llvm/utils/gn/secondary/clang-tools-extra/clangd/test/BUILD.gn
index 6c100f0f2337..22a76a826f65 100644
--- a/llvm/utils/gn/secondary/clang-tools-extra/clangd/test/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang-tools-extra/clangd/test/BUILD.gn
@@ -95,7 +95,8 @@ action("check-clangd") {
     rebase_path(get_path_info(clangd_lit_unit_site_cfg_file, "dir"),
                 root_out_dir),
   ]
-  outputs = [ "$target_gen_dir/run-lit" ]  # Non-existing, so that ninja runs it each time.
+  outputs = [ "$target_gen_dir/run-lit" ]  # Non-existing, so that ninja runs it
+                                           # each time.
 
   # Since check-clangd is always dirty, //:default doesn't depend on it so
   # that it's not part of the default ninja target.  Hence, check-clangd

diff  --git a/llvm/utils/gn/secondary/clang-tools-extra/test/BUILD.gn b/llvm/utils/gn/secondary/clang-tools-extra/test/BUILD.gn
index 7ac0ae168faf..6646ef112750 100644
--- a/llvm/utils/gn/secondary/clang-tools-extra/test/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang-tools-extra/test/BUILD.gn
@@ -98,7 +98,8 @@ action("check-clang-tools") {
         rebase_path(clang_tools_extra_lit_unit_site_cfg_file, root_out_dir),
     rebase_path(".", root_out_dir),
   ]
-  outputs = [ "$target_gen_dir/run-lit" ]  # Non-existing, so that ninja runs it each time.
+  outputs = [ "$target_gen_dir/run-lit" ]  # Non-existing, so that ninja runs it
+                                           # each time.
 
   # Since check-clang-tools is always dirty, //:default doesn't depend on it so
   # that it's not part of the default ninja target.  Hence, check-clang-tools

diff  --git a/llvm/utils/gn/secondary/clang/test/BUILD.gn b/llvm/utils/gn/secondary/clang/test/BUILD.gn
index 16d99f964cbf..db2ff067a040 100644
--- a/llvm/utils/gn/secondary/clang/test/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/test/BUILD.gn
@@ -192,7 +192,8 @@ action("check-clang") {
         rebase_path(clang_lit_unit_site_cfg_file, root_out_dir),
     rebase_path(".", root_out_dir),
   ]
-  outputs = [ "$target_gen_dir/run-lit" ]  # Non-existing, so that ninja runs it each time.
+  outputs = [ "$target_gen_dir/run-lit" ]  # Non-existing, so that ninja runs it
+                                           # each time.
 
   # Since check-clang is always dirty, //:default doesn't depend on it so that
   # it's not part of the default ninja target.  Hence, check-clang shouldn't

diff  --git a/llvm/utils/gn/secondary/compiler-rt/test/hwasan/BUILD.gn b/llvm/utils/gn/secondary/compiler-rt/test/hwasan/BUILD.gn
index 7e05a5c8db07..e58637be0d80 100644
--- a/llvm/utils/gn/secondary/compiler-rt/test/hwasan/BUILD.gn
+++ b/llvm/utils/gn/secondary/compiler-rt/test/hwasan/BUILD.gn
@@ -81,7 +81,8 @@ if (supported_toolchains != []) {
               get_label_info(":lit_site_cfg($toolchain)", "target_gen_dir"),
               root_build_dir) ]
     }
-    outputs = [ "$target_gen_dir/run-lit" ]  # Non-existing, so that ninja runs it each time.
+    outputs = [ "$target_gen_dir/run-lit" ]  # Non-existing, so that ninja runs
+                                             # it each time.
 
     # Since check-hwasan is always dirty, //:default doesn't depend on it so that
     # it's not part of the default ninja target.  Hence, check-hwasan shouldn't

diff  --git a/llvm/utils/gn/secondary/lld/test/BUILD.gn b/llvm/utils/gn/secondary/lld/test/BUILD.gn
index e47dacbb7ce5..1da191cba151 100644
--- a/llvm/utils/gn/secondary/lld/test/BUILD.gn
+++ b/llvm/utils/gn/secondary/lld/test/BUILD.gn
@@ -117,7 +117,8 @@ action("check-lld") {
         rebase_path(lld_lit_unit_site_cfg_file, root_out_dir),
     rebase_path(".", root_out_dir),
   ]
-  outputs = [ "$target_gen_dir/run-lit" ]  # Non-existing, so that ninja runs it each time.
+  outputs = [ "$target_gen_dir/run-lit" ]  # Non-existing, so that ninja runs it
+                                           # each time.
 
   # Since check-lld is always dirty, //:default doesn't depend on it so that
   # it's not part of the default ninja target.  Hence, check-lld shouldn't

diff  --git a/llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/BUILD.gn
index 25924d13148b..c167dd9d2620 100644
--- a/llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/BUILD.gn
@@ -68,8 +68,8 @@ static_library("LLVMAMDGPUCodeGen") {
     ":AMDGPUGenAsmMatcher",
     ":AMDGPUGenCallingConv",
     ":AMDGPUGenDAGISel",
-    ":AMDGPUGenGlobalISel",
     ":AMDGPUGenGICombiner",
+    ":AMDGPUGenGlobalISel",
     ":AMDGPUGenMCPseudoLowering",
     ":AMDGPUGenRegisterBank",
     ":R600GenCallingConv",

diff  --git a/llvm/utils/gn/secondary/llvm/test/BUILD.gn b/llvm/utils/gn/secondary/llvm/test/BUILD.gn
index 7811c8cfd630..01e69238cfc3 100644
--- a/llvm/utils/gn/secondary/llvm/test/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/test/BUILD.gn
@@ -292,7 +292,8 @@ action("check-llvm") {
         rebase_path(llvm_lit_unit_site_cfg_file, root_out_dir),
     rebase_path(".", root_out_dir),
   ]
-  outputs = [ "$target_gen_dir/run-lit" ]  # Non-existing, so that ninja runs it each time.
+  outputs = [ "$target_gen_dir/run-lit" ]  # Non-existing, so that ninja runs it
+                                           # each time.
 
   # Since check-llvm is always dirty, //:default doesn't depend on it so that
   # it's not part of the default ninja target.  Hence, check-llvm shouldn't

diff  --git a/llvm/utils/gn/secondary/llvm/utils/benchmark/BUILD.gn b/llvm/utils/gn/secondary/llvm/utils/benchmark/BUILD.gn
index 08af5bce9162..39f5a226e55b 100644
--- a/llvm/utils/gn/secondary/llvm/utils/benchmark/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/utils/benchmark/BUILD.gn
@@ -16,9 +16,7 @@ static_library("benchmark") {
     "src/sysinfo.cc",
     "src/timers.cc",
   ]
-  deps = [
-    "//llvm/utils/gn/build/libs/pthread",
-  ]
+  deps = [ "//llvm/utils/gn/build/libs/pthread" ]
   public_configs = [ ":benchmark_config" ]
 }
 


        


More information about the llvm-commits mailing list