Skip to content

Commit 8f21acb

Browse files
committed
[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.
1 parent c2a250e commit 8f21acb

File tree

8 files changed

+14
-10
lines changed

8 files changed

+14
-10
lines changed

llvm/utils/gn/secondary/clang-tools-extra/clangd/test/BUILD.gn

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ action("check-clangd") {
9595
rebase_path(get_path_info(clangd_lit_unit_site_cfg_file, "dir"),
9696
root_out_dir),
9797
]
98-
outputs = [ "$target_gen_dir/run-lit" ] # Non-existing, so that ninja runs it each time.
98+
outputs = [ "$target_gen_dir/run-lit" ] # Non-existing, so that ninja runs it
99+
# each time.
99100

100101
# Since check-clangd is always dirty, //:default doesn't depend on it so
101102
# that it's not part of the default ninja target. Hence, check-clangd

llvm/utils/gn/secondary/clang-tools-extra/test/BUILD.gn

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,8 @@ action("check-clang-tools") {
9898
rebase_path(clang_tools_extra_lit_unit_site_cfg_file, root_out_dir),
9999
rebase_path(".", root_out_dir),
100100
]
101-
outputs = [ "$target_gen_dir/run-lit" ] # Non-existing, so that ninja runs it each time.
101+
outputs = [ "$target_gen_dir/run-lit" ] # Non-existing, so that ninja runs it
102+
# each time.
102103

103104
# Since check-clang-tools is always dirty, //:default doesn't depend on it so
104105
# that it's not part of the default ninja target. Hence, check-clang-tools

llvm/utils/gn/secondary/clang/test/BUILD.gn

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,8 @@ action("check-clang") {
192192
rebase_path(clang_lit_unit_site_cfg_file, root_out_dir),
193193
rebase_path(".", root_out_dir),
194194
]
195-
outputs = [ "$target_gen_dir/run-lit" ] # Non-existing, so that ninja runs it each time.
195+
outputs = [ "$target_gen_dir/run-lit" ] # Non-existing, so that ninja runs it
196+
# each time.
196197

197198
# Since check-clang is always dirty, //:default doesn't depend on it so that
198199
# it's not part of the default ninja target. Hence, check-clang shouldn't

llvm/utils/gn/secondary/compiler-rt/test/hwasan/BUILD.gn

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ if (supported_toolchains != []) {
8181
get_label_info(":lit_site_cfg($toolchain)", "target_gen_dir"),
8282
root_build_dir) ]
8383
}
84-
outputs = [ "$target_gen_dir/run-lit" ] # Non-existing, so that ninja runs it each time.
84+
outputs = [ "$target_gen_dir/run-lit" ] # Non-existing, so that ninja runs
85+
# it each time.
8586

8687
# Since check-hwasan is always dirty, //:default doesn't depend on it so that
8788
# it's not part of the default ninja target. Hence, check-hwasan shouldn't

llvm/utils/gn/secondary/lld/test/BUILD.gn

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ action("check-lld") {
117117
rebase_path(lld_lit_unit_site_cfg_file, root_out_dir),
118118
rebase_path(".", root_out_dir),
119119
]
120-
outputs = [ "$target_gen_dir/run-lit" ] # Non-existing, so that ninja runs it each time.
120+
outputs = [ "$target_gen_dir/run-lit" ] # Non-existing, so that ninja runs it
121+
# each time.
121122

122123
# Since check-lld is always dirty, //:default doesn't depend on it so that
123124
# it's not part of the default ninja target. Hence, check-lld shouldn't

llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/BUILD.gn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ static_library("LLVMAMDGPUCodeGen") {
6868
":AMDGPUGenAsmMatcher",
6969
":AMDGPUGenCallingConv",
7070
":AMDGPUGenDAGISel",
71-
":AMDGPUGenGlobalISel",
7271
":AMDGPUGenGICombiner",
72+
":AMDGPUGenGlobalISel",
7373
":AMDGPUGenMCPseudoLowering",
7474
":AMDGPUGenRegisterBank",
7575
":R600GenCallingConv",

llvm/utils/gn/secondary/llvm/test/BUILD.gn

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,8 @@ action("check-llvm") {
292292
rebase_path(llvm_lit_unit_site_cfg_file, root_out_dir),
293293
rebase_path(".", root_out_dir),
294294
]
295-
outputs = [ "$target_gen_dir/run-lit" ] # Non-existing, so that ninja runs it each time.
295+
outputs = [ "$target_gen_dir/run-lit" ] # Non-existing, so that ninja runs it
296+
# each time.
296297

297298
# Since check-llvm is always dirty, //:default doesn't depend on it so that
298299
# it's not part of the default ninja target. Hence, check-llvm shouldn't

llvm/utils/gn/secondary/llvm/utils/benchmark/BUILD.gn

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ static_library("benchmark") {
1616
"src/sysinfo.cc",
1717
"src/timers.cc",
1818
]
19-
deps = [
20-
"//llvm/utils/gn/build/libs/pthread",
21-
]
19+
deps = [ "//llvm/utils/gn/build/libs/pthread" ]
2220
public_configs = [ ":benchmark_config" ]
2321
}
2422

0 commit comments

Comments
 (0)