From 527281a8432f7592be84cd7e7073d133f8245343 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Wed, 15 Jan 2020 13:35:58 -0500 Subject: [PATCH] [gn build] re-run "gn format" with trunk gn --- llvm/utils/gn/build/symlink_or_copy.gni | 4 +- llvm/utils/gn/build/toolchain/BUILD.gn | 48 ++++------------ llvm/utils/gn/build/write_cmake_config.gni | 8 +-- llvm/utils/gn/build/write_vcsrevision.gni | 4 +- llvm/utils/gn/secondary/BUILD.gn | 48 ++++------------ .../clang-tools-extra/clangd/test/BUILD.gn | 8 +-- .../clangd/xpc/framework/BUILD.gn | 64 ++++++---------------- .../gn/secondary/clang-tools-extra/test/BUILD.gn | 8 +-- llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn | 12 +--- llvm/utils/gn/secondary/clang/test/BUILD.gn | 8 +-- .../gn/secondary/clang/tools/c-arcmt-test/BUILD.gn | 4 +- .../utils/gn/secondary/clang/tools/driver/BUILD.gn | 4 +- .../gn/secondary/clang/unittests/libclang/BUILD.gn | 4 +- .../clang/unittests/libclang/CrashTests/BUILD.gn | 4 +- .../gn/secondary/clang/utils/hmaptool/BUILD.gn | 8 +-- .../gn/secondary/compiler-rt/include/BUILD.gn | 4 +- .../gn/secondary/compiler-rt/lib/cfi/BUILD.gn | 8 +-- .../gn/secondary/compiler-rt/lib/hwasan/BUILD.gn | 24 ++------ .../compiler-rt/lib/interception/BUILD.gn | 4 +- .../compiler-rt/lib/sanitizer_common/BUILD.gn | 8 +-- .../lib/scudo/standalone/tests/BUILD.gn | 4 +- .../gn/secondary/compiler-rt/test/hwasan/BUILD.gn | 8 +-- llvm/utils/gn/secondary/libcxx/include/BUILD.gn | 28 +++------- llvm/utils/gn/secondary/libcxx/src/BUILD.gn | 12 +--- llvm/utils/gn/secondary/libcxxabi/BUILD.gn | 4 +- llvm/utils/gn/secondary/libcxxabi/include/BUILD.gn | 4 +- llvm/utils/gn/secondary/libunwind/BUILD.gn | 4 +- llvm/utils/gn/secondary/libunwind/src/BUILD.gn | 28 ++++------ llvm/utils/gn/secondary/lld/test/BUILD.gn | 8 +-- llvm/utils/gn/secondary/lld/tools/lld/BUILD.gn | 4 +- .../gn/secondary/llvm/include/llvm/Config/BUILD.gn | 4 +- .../secondary/llvm/include/llvm/Support/BUILD.gn | 4 +- .../gn/secondary/llvm/lib/BinaryFormat/BUILD.gn | 4 +- .../secondary/llvm/lib/Bitstream/Reader/BUILD.gn | 4 +- .../gn/secondary/llvm/lib/DebugInfo/MSF/BUILD.gn | 4 +- .../llvm/lib/ExecutionEngine/OrcError/BUILD.gn | 4 +- llvm/utils/gn/secondary/llvm/lib/Option/BUILD.gn | 4 +- llvm/utils/gn/secondary/llvm/lib/TableGen/BUILD.gn | 4 +- .../llvm/lib/Target/AArch64/MCTargetDesc/BUILD.gn | 4 +- .../llvm/lib/Target/AArch64/TargetInfo/BUILD.gn | 4 +- .../llvm/lib/Target/AArch64/Utils/BUILD.gn | 4 +- .../llvm/lib/Target/AMDGPU/MCTargetDesc/BUILD.gn | 4 +- .../llvm/lib/Target/AMDGPU/TargetInfo/BUILD.gn | 4 +- .../llvm/lib/Target/AMDGPU/Utils/BUILD.gn | 4 +- .../llvm/lib/Target/ARM/MCTargetDesc/BUILD.gn | 4 +- .../llvm/lib/Target/ARM/TargetInfo/BUILD.gn | 4 +- .../secondary/llvm/lib/Target/ARM/Utils/BUILD.gn | 4 +- .../llvm/lib/Target/AVR/TargetInfo/BUILD.gn | 4 +- .../llvm/lib/Target/BPF/TargetInfo/BUILD.gn | 4 +- llvm/utils/gn/secondary/llvm/lib/Target/BUILD.gn | 4 +- .../llvm/lib/Target/Hexagon/TargetInfo/BUILD.gn | 4 +- .../llvm/lib/Target/Lanai/TargetInfo/BUILD.gn | 4 +- .../llvm/lib/Target/Mips/MCTargetDesc/BUILD.gn | 4 +- .../llvm/lib/Target/Mips/TargetInfo/BUILD.gn | 4 +- .../llvm/lib/Target/NVPTX/TargetInfo/BUILD.gn | 4 +- .../llvm/lib/Target/PowerPC/TargetInfo/BUILD.gn | 4 +- .../llvm/lib/Target/RISCV/MCTargetDesc/BUILD.gn | 4 +- .../llvm/lib/Target/RISCV/TargetInfo/BUILD.gn | 4 +- .../secondary/llvm/lib/Target/RISCV/Utils/BUILD.gn | 4 +- .../llvm/lib/Target/Sparc/TargetInfo/BUILD.gn | 4 +- .../llvm/lib/Target/SystemZ/TargetInfo/BUILD.gn | 4 +- .../lib/Target/WebAssembly/TargetInfo/BUILD.gn | 4 +- .../llvm/lib/Target/X86/TargetInfo/BUILD.gn | 4 +- .../secondary/llvm/lib/Target/X86/Utils/BUILD.gn | 4 +- llvm/utils/gn/secondary/llvm/test/BUILD.gn | 8 +-- .../utils/gn/secondary/llvm/tools/llvm-ar/BUILD.gn | 4 +- .../gn/secondary/llvm/tools/llvm-config/BUILD.gn | 4 +- .../gn/secondary/llvm/tools/llvm-cxxfilt/BUILD.gn | 8 +-- .../gn/secondary/llvm/tools/llvm-dwp/BUILD.gn | 8 +-- .../utils/gn/secondary/llvm/tools/llvm-nm/BUILD.gn | 8 +-- .../gn/secondary/llvm/tools/llvm-objcopy/BUILD.gn | 4 +- .../gn/secondary/llvm/tools/llvm-objdump/BUILD.gn | 8 +-- .../gn/secondary/llvm/tools/llvm-readobj/BUILD.gn | 4 +- .../gn/secondary/llvm/tools/llvm-size/BUILD.gn | 8 +-- .../gn/secondary/llvm/tools/llvm-strings/BUILD.gn | 8 +-- .../secondary/llvm/tools/llvm-symbolizer/BUILD.gn | 4 +- .../secondary/llvm/unittests/BinaryFormat/BUILD.gn | 4 +- .../gn/secondary/llvm/unittests/Bitstream/BUILD.gn | 4 +- .../gn/secondary/llvm/unittests/Demangle/BUILD.gn | 4 +- .../gn/secondary/llvm/utils/FileCheck/BUILD.gn | 4 +- .../llvm/utils/TableGen/GlobalISel/BUILD.gn | 4 +- .../gn/secondary/llvm/utils/TableGen/tablegen.gni | 12 +--- .../gn/secondary/llvm/utils/llvm-lit/BUILD.gn | 4 +- llvm/utils/gn/secondary/llvm/utils/not/BUILD.gn | 4 +- .../gn/secondary/llvm/utils/unittest/BUILD.gn | 4 +- .../llvm/utils/unittest/UnitTestMain/BUILD.gn | 12 +--- .../gn/secondary/llvm/utils/yaml-bench/BUILD.gn | 4 +- 87 files changed, 170 insertions(+), 490 deletions(-) diff --git a/llvm/utils/gn/build/symlink_or_copy.gni b/llvm/utils/gn/build/symlink_or_copy.gni index f4f45fd..308b570 100644 --- a/llvm/utils/gn/build/symlink_or_copy.gni +++ b/llvm/utils/gn/build/symlink_or_copy.gni @@ -10,9 +10,7 @@ template("symlink_or_copy") { # https://github.com/ninja-build/ninja/issues/1186 stamp = "$target_gen_dir/" + get_path_info(invoker.output, "file") + ".stamp" - outputs = [ - stamp, - ] + outputs = [ stamp ] script = "//llvm/utils/gn/build/symlink_or_copy.py" args = [ "--stamp", diff --git a/llvm/utils/gn/build/toolchain/BUILD.gn b/llvm/utils/gn/build/toolchain/BUILD.gn index b8e4603..d435d9c 100644 --- a/llvm/utils/gn/build/toolchain/BUILD.gn +++ b/llvm/utils/gn/build/toolchain/BUILD.gn @@ -18,9 +18,7 @@ template("unix_toolchain") { command = "$cc -MMD -MF $depfile -o {{output}} -c {{source}} {{defines}} {{include_dirs}} {{cflags}} {{cflags_c}}" depsformat = "gcc" description = "CC {{output}}" - outputs = [ - "{{source_out_dir}}/{{label_name}}.{{source_name_part}}.o", - ] + outputs = [ "{{source_out_dir}}/{{label_name}}.{{source_name_part}}.o" ] } tool("cxx") { @@ -28,9 +26,7 @@ template("unix_toolchain") { command = "$cxx -MMD -MF $depfile -o {{output}} -c {{source}} {{defines}} {{include_dirs}} {{cflags}} {{cflags_cc}}" depsformat = "gcc" description = "CXX {{output}}" - outputs = [ - "{{source_out_dir}}/{{label_name}}.{{source_name_part}}.o", - ] + outputs = [ "{{source_out_dir}}/{{label_name}}.{{source_name_part}}.o" ] } tool("asm") { @@ -38,9 +34,7 @@ template("unix_toolchain") { command = "$cc -MMD -MF $depfile -o {{output}} -c {{source}} {{defines}} {{include_dirs}} {{asmflags}}" depsformat = "gcc" description = "ASM {{output}}" - outputs = [ - "{{source_out_dir}}/{{label_name}}.{{source_name_part}}.o", - ] + outputs = [ "{{source_out_dir}}/{{label_name}}.{{source_name_part}}.o" ] } tool("alink") { @@ -53,9 +47,7 @@ template("unix_toolchain") { "rm -f {{output}} && $ar rcsD {{arflags}} {{output}} {{inputs}}" } description = "AR {{output}}" - outputs = [ - "{{output_dir}}/{{target_output_name}}.a", - ] + outputs = [ "{{output_dir}}/{{target_output_name}}.a" ] output_prefix = "lib" default_output_dir = "{{root_out_dir}}/lib" } @@ -70,9 +62,7 @@ template("unix_toolchain") { default_output_extension = ".so" } description = "SOLINK $outfile" - outputs = [ - outfile, - ] + outputs = [ outfile ] lib_switch = "-l" output_prefix = "lib" default_output_dir = "{{root_out_dir}}/lib" @@ -88,9 +78,7 @@ template("unix_toolchain") { default_output_extension = ".so" } description = "SOLINK $outfile" - outputs = [ - outfile, - ] + outputs = [ outfile ] lib_switch = "-l" default_output_dir = "{{root_out_dir}}/lib" } @@ -103,9 +91,7 @@ template("unix_toolchain") { command = "$ld {{ldflags}} -o $outfile {{libs}} -Wl,--start-group {{inputs}} -Wl,--end-group" } description = "LINK $outfile" - outputs = [ - outfile, - ] + outputs = [ outfile ] lib_switch = "-l" # Setting this allows targets to override the default executable output by @@ -237,26 +223,20 @@ toolchain("win") { command = "$cl /nologo /showIncludes /Fo{{output}} /c {{source}} {{defines}} {{include_dirs}} {{cflags}} {{cflags_c}}" depsformat = "msvc" description = "CC {{output}}" - outputs = [ - "{{source_out_dir}}/{{label_name}}.{{source_name_part}}.obj", - ] + outputs = [ "{{source_out_dir}}/{{label_name}}.{{source_name_part}}.obj" ] } tool("cxx") { command = "$cl /nologo /showIncludes /Fo{{output}} /c {{source}} {{defines}} {{include_dirs}} {{cflags}} {{cflags_cc}}" depsformat = "msvc" description = "CXX {{output}}" - outputs = [ - "{{source_out_dir}}/{{label_name}}.{{source_name_part}}.obj", - ] + outputs = [ "{{source_out_dir}}/{{label_name}}.{{source_name_part}}.obj" ] } tool("alink") { command = "$link /lib /nologo {{arflags}} /out:{{output}} {{inputs}}" description = "LIB {{output}}" - outputs = [ - "{{output_dir}}/{{target_output_name}}.lib", - ] + outputs = [ "{{output_dir}}/{{target_output_name}}.lib" ] default_output_dir = "{{root_out_dir}}/lib" } @@ -294,9 +274,7 @@ toolchain("win") { pdbfile = "$outprefix.pdb" command = "$link /nologo /dll {{ldflags}} /out:$dllfile /pdb:$pdbfile {{libs}} {{inputs}}" description = "LINK_MODULE $dllfile" - outputs = [ - dllfile, - ] + outputs = [ dllfile ] lib_switch = "" runtime_outputs = outputs default_output_extension = ".dll" @@ -310,9 +288,7 @@ toolchain("win") { pdbfile = "$outprefix.pdb" command = "$link /nologo {{ldflags}} /out:$outfile /pdb:$pdbfile {{libs}} {{inputs}}" description = "LINK $outfile" - outputs = [ - outfile, - ] + outputs = [ outfile ] lib_switch = "" default_output_extension = ".exe" diff --git a/llvm/utils/gn/build/write_cmake_config.gni b/llvm/utils/gn/build/write_cmake_config.gni index 6dca026..bbaab21 100644 --- a/llvm/utils/gn/build/write_cmake_config.gni +++ b/llvm/utils/gn/build/write_cmake_config.gni @@ -30,12 +30,8 @@ template("write_cmake_config") { action(target_name) { script = "//llvm/utils/gn/build/write_cmake_config.py" - sources = [ - invoker.input, - ] - outputs = [ - invoker.output, - ] + sources = [ invoker.input ] + outputs = [ invoker.output ] args = [ "-o", rebase_path(outputs[0], root_build_dir), diff --git a/llvm/utils/gn/build/write_vcsrevision.gni b/llvm/utils/gn/build/write_vcsrevision.gni index 61ce0b0..9cdf5e3 100644 --- a/llvm/utils/gn/build/write_vcsrevision.gni +++ b/llvm/utils/gn/build/write_vcsrevision.gni @@ -41,9 +41,7 @@ template("write_vcsrevision") { args += [ "--name=$name" ] } - outputs = [ - header, - ] + outputs = [ header ] forward_variables_from(invoker, [ diff --git a/llvm/utils/gn/secondary/BUILD.gn b/llvm/utils/gn/secondary/BUILD.gn index 491fc89..55ef76a 100644 --- a/llvm/utils/gn/secondary/BUILD.gn +++ b/llvm/utils/gn/secondary/BUILD.gn @@ -51,64 +51,40 @@ group("default") { # new locations). # That seems simpler, more explicit, and good enough. group("clang") { - deps = [ - "//clang/tools/driver:symlinks", - ] + deps = [ "//clang/tools/driver:symlinks" ] } group("lld") { - deps = [ - "//lld/tools/lld:symlinks", - ] + deps = [ "//lld/tools/lld:symlinks" ] } group("llvm-ar") { - deps = [ - "//llvm/tools/llvm-ar:symlinks", - ] + deps = [ "//llvm/tools/llvm-ar:symlinks" ] } group("llvm-dwp") { - deps = [ - "//llvm/tools/llvm-dwp:symlinks", - ] + deps = [ "//llvm/tools/llvm-dwp:symlinks" ] } group("llvm-nm") { - deps = [ - "//llvm/tools/llvm-nm:symlinks", - ] + deps = [ "//llvm/tools/llvm-nm:symlinks" ] } group("llvm-cxxfilt") { - deps = [ - "//llvm/tools/llvm-cxxfilt:symlinks", - ] + deps = [ "//llvm/tools/llvm-cxxfilt:symlinks" ] } group("llvm-objcopy") { - deps = [ - "//llvm/tools/llvm-objcopy:symlinks", - ] + deps = [ "//llvm/tools/llvm-objcopy:symlinks" ] } group("llvm-objdump") { - deps = [ - "//llvm/tools/llvm-objdump:symlinks", - ] + deps = [ "//llvm/tools/llvm-objdump:symlinks" ] } group("llvm-readobj") { - deps = [ - "//llvm/tools/llvm-readobj:symlinks", - ] + deps = [ "//llvm/tools/llvm-readobj:symlinks" ] } group("llvm-size") { - deps = [ - "//llvm/tools/llvm-size:symlinks", - ] + deps = [ "//llvm/tools/llvm-size:symlinks" ] } group("llvm-strings") { - deps = [ - "//llvm/tools/llvm-strings:symlinks", - ] + deps = [ "//llvm/tools/llvm-strings:symlinks" ] } group("llvm-symbolizer") { - deps = [ - "//llvm/tools/llvm-symbolizer:symlinks", - ] + deps = [ "//llvm/tools/llvm-symbolizer:symlinks" ] } # A pool called "console" in the root BUILD.gn is magic and represents ninja's 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 9cb43c8..6c100f0 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,17 +95,13 @@ 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 # shouldn't have any deps except :test. so that the default target is sure to # build all the deps. - deps = [ - ":test", - ] + deps = [ ":test" ] testonly = true pool = "//:console" diff --git a/llvm/utils/gn/secondary/clang-tools-extra/clangd/xpc/framework/BUILD.gn b/llvm/utils/gn/secondary/clang-tools-extra/clangd/xpc/framework/BUILD.gn index 83cc929..151d652 100644 --- a/llvm/utils/gn/secondary/clang-tools-extra/clangd/xpc/framework/BUILD.gn +++ b/llvm/utils/gn/secondary/clang-tools-extra/clangd/xpc/framework/BUILD.gn @@ -21,27 +21,15 @@ write_cmake_config("XPCServiceInfo.plist") { } bundle_data("clangxpc_bundle_xpc_service_info_plist") { - public_deps = [ - ":XPCServiceInfo.plist", - ] - sources = [ - "$target_gen_dir/XPCServiceInfo.plist", - ] - outputs = [ - "{{bundle_contents_dir}}/Info.plist", - ] + public_deps = [ ":XPCServiceInfo.plist" ] + sources = [ "$target_gen_dir/XPCServiceInfo.plist" ] + outputs = [ "{{bundle_contents_dir}}/Info.plist" ] } bundle_data("clangxpc_bundle_xpc_service_executable") { - public_deps = [ - "//clang-tools-extra/clangd/tool:clangd", - ] - sources = [ - "$root_out_dir/bin/clangd", - ] - outputs = [ - "{{bundle_executable_dir}}/{{source_file_part}}", - ] + public_deps = [ "//clang-tools-extra/clangd/tool:clangd" ] + sources = [ "$root_out_dir/bin/clangd" ] + outputs = [ "{{bundle_executable_dir}}/{{source_file_part}}" ] } create_bundle("clangd.xpc") { @@ -68,21 +56,13 @@ write_cmake_config("Info.plist") { } bundle_data("clangdxpc_bundle_info_plist") { - public_deps = [ - ":Info.plist", - ] - sources = [ - "$target_gen_dir/Info.plist", - ] - outputs = [ - "{{bundle_resources_dir}}/{{source_file_part}}", - ] + public_deps = [ ":Info.plist" ] + sources = [ "$target_gen_dir/Info.plist" ] + outputs = [ "{{bundle_resources_dir}}/{{source_file_part}}" ] } shared_library("ClangdXPCLib") { - deps = [ - "//clang-tools-extra/clangd/tool:clangd", - ] + deps = [ "//clang-tools-extra/clangd/tool:clangd" ] sources = [ # Make `gn format` not collapse this, for sync_source_lists_from_cmake.py. "ClangdXPC.cpp", @@ -90,27 +70,15 @@ shared_library("ClangdXPCLib") { } bundle_data("clangdxpc_bundle_executable") { - public_deps = [ - ":ClangdXPCLib", - ] - sources = [ - "$root_out_dir/lib/libClangdXPCLib.dylib", - ] - outputs = [ - "{{bundle_executable_dir}}/ClangdXPC", - ] + public_deps = [ ":ClangdXPCLib" ] + sources = [ "$root_out_dir/lib/libClangdXPCLib.dylib" ] + outputs = [ "{{bundle_executable_dir}}/ClangdXPC" ] } bundle_data("clangdxpc_bundle_xpc") { - public_deps = [ - ":clangd.xpc", - ] - sources = [ - "$target_gen_dir/clangd.xpc", - ] - outputs = [ - "{{bundle_contents_dir}}/XPCServices/{{source_file_part}}", - ] + public_deps = [ ":clangd.xpc" ] + sources = [ "$target_gen_dir/clangd.xpc" ] + outputs = [ "{{bundle_contents_dir}}/XPCServices/{{source_file_part}}" ] } # .framework bundle symlinks: 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 dfc5b77..7ac0ae1 100644 --- a/llvm/utils/gn/secondary/clang-tools-extra/test/BUILD.gn +++ b/llvm/utils/gn/secondary/clang-tools-extra/test/BUILD.gn @@ -98,17 +98,13 @@ 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 # shouldn't have any deps except :test. so that the default target is sure to # build all the deps. - deps = [ - ":test", - ] + deps = [ ":test" ] testonly = true pool = "//:console" diff --git a/llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn b/llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn index e992e19..d785bfc 100644 --- a/llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn +++ b/llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn @@ -31,15 +31,11 @@ copy("arm_headers") { ] sources = get_target_outputs(":arm_neon") + get_target_outputs(":arm_fp16") + get_target_outputs(":arm_mve") - outputs = [ - "$clang_resource_dir/include/{{source_file_part}}", - ] + outputs = [ "$clang_resource_dir/include/{{source_file_part}}" ] } copy("Headers") { - deps = [ - ":arm_headers", - ] + deps = [ ":arm_headers" ] # NOSORT # Tell `gn format` to not reorder the sources list: Its order matches CMake, @@ -182,7 +178,5 @@ copy("Headers") { "openmp_wrappers/__clang_openmp_math.h", "openmp_wrappers/__clang_openmp_math_declares.h", ] - outputs = [ - "$clang_resource_dir/include/{{source_target_relative}}", - ] + outputs = [ "$clang_resource_dir/include/{{source_target_relative}}" ] } diff --git a/llvm/utils/gn/secondary/clang/test/BUILD.gn b/llvm/utils/gn/secondary/clang/test/BUILD.gn index a16f8ea..16d99f96 100644 --- a/llvm/utils/gn/secondary/clang/test/BUILD.gn +++ b/llvm/utils/gn/secondary/clang/test/BUILD.gn @@ -192,17 +192,13 @@ 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 # have any deps except :test. so that the default target is sure to build # all the deps. - deps = [ - ":test", - ] + deps = [ ":test" ] testonly = true pool = "//:console" diff --git a/llvm/utils/gn/secondary/clang/tools/c-arcmt-test/BUILD.gn b/llvm/utils/gn/secondary/clang/tools/c-arcmt-test/BUILD.gn index eb45957..d77a8a7 100644 --- a/llvm/utils/gn/secondary/clang/tools/c-arcmt-test/BUILD.gn +++ b/llvm/utils/gn/secondary/clang/tools/c-arcmt-test/BUILD.gn @@ -1,8 +1,6 @@ executable("c-arcmt-test") { configs += [ "//llvm/utils/gn/build:clang_code" ] - deps = [ - "//clang/tools/libclang", - ] + deps = [ "//clang/tools/libclang" ] sources = [ # Make `gn format` not collapse this, for sync_source_lists_from_cmake.py. "c-arcmt-test.c", diff --git a/llvm/utils/gn/secondary/clang/tools/driver/BUILD.gn b/llvm/utils/gn/secondary/clang/tools/driver/BUILD.gn index d65682e..5221414 100644 --- a/llvm/utils/gn/secondary/clang/tools/driver/BUILD.gn +++ b/llvm/utils/gn/secondary/clang/tools/driver/BUILD.gn @@ -19,9 +19,7 @@ symlinks = [ ] foreach(target, symlinks) { symlink_or_copy(target[0]) { - deps = [ - ":clang", - ] + deps = [ ":clang" ] source = "clang" output = "$root_out_dir/bin/${target[1]}" } diff --git a/llvm/utils/gn/secondary/clang/unittests/libclang/BUILD.gn b/llvm/utils/gn/secondary/clang/unittests/libclang/BUILD.gn index c1d94a3..7602c76 100644 --- a/llvm/utils/gn/secondary/clang/unittests/libclang/BUILD.gn +++ b/llvm/utils/gn/secondary/clang/unittests/libclang/BUILD.gn @@ -2,9 +2,7 @@ import("//llvm/utils/unittest/unittest.gni") unittest("libclangTests") { configs += [ "//llvm/utils/gn/build:clang_code" ] - deps = [ - "//clang/tools/libclang", - ] + deps = [ "//clang/tools/libclang" ] sources = [ # Make `gn format` not collapse this, for sync_source_lists_from_cmake.py. "LibclangTest.cpp", diff --git a/llvm/utils/gn/secondary/clang/unittests/libclang/CrashTests/BUILD.gn b/llvm/utils/gn/secondary/clang/unittests/libclang/CrashTests/BUILD.gn index 3b0adab..a1525e7 100644 --- a/llvm/utils/gn/secondary/clang/unittests/libclang/CrashTests/BUILD.gn +++ b/llvm/utils/gn/secondary/clang/unittests/libclang/CrashTests/BUILD.gn @@ -2,9 +2,7 @@ import("//llvm/utils/unittest/unittest.gni") unittest("libclangCrashTests") { configs += [ "//llvm/utils/gn/build:clang_code" ] - deps = [ - "//clang/tools/libclang", - ] + deps = [ "//clang/tools/libclang" ] sources = [ # Make `gn format` not collapse this, for sync_source_lists_from_cmake.py. "LibclangCrashTest.cpp", diff --git a/llvm/utils/gn/secondary/clang/utils/hmaptool/BUILD.gn b/llvm/utils/gn/secondary/clang/utils/hmaptool/BUILD.gn index f76db22..bcad120 100644 --- a/llvm/utils/gn/secondary/clang/utils/hmaptool/BUILD.gn +++ b/llvm/utils/gn/secondary/clang/utils/hmaptool/BUILD.gn @@ -1,8 +1,4 @@ copy("hmaptool") { - sources = [ - "hmaptool", - ] - outputs = [ - "$root_out_dir/bin/{{source_file_part}}", - ] + sources = [ "hmaptool" ] + outputs = [ "$root_out_dir/bin/{{source_file_part}}" ] } diff --git a/llvm/utils/gn/secondary/compiler-rt/include/BUILD.gn b/llvm/utils/gn/secondary/compiler-rt/include/BUILD.gn index 103865d..b375bcf 100644 --- a/llvm/utils/gn/secondary/compiler-rt/include/BUILD.gn +++ b/llvm/utils/gn/secondary/compiler-rt/include/BUILD.gn @@ -22,7 +22,5 @@ copy("include") { "xray/xray_log_interface.h", "xray/xray_records.h", ] - outputs = [ - "$clang_resource_dir/include/{{source_target_relative}}", - ] + outputs = [ "$clang_resource_dir/include/{{source_target_relative}}" ] } diff --git a/llvm/utils/gn/secondary/compiler-rt/lib/cfi/BUILD.gn b/llvm/utils/gn/secondary/compiler-rt/lib/cfi/BUILD.gn index 16d8b11..8e34109 100644 --- a/llvm/utils/gn/secondary/compiler-rt/lib/cfi/BUILD.gn +++ b/llvm/utils/gn/secondary/compiler-rt/lib/cfi/BUILD.gn @@ -10,10 +10,6 @@ source_set("sources") { } copy("blacklist") { - sources = [ - "cfi_blacklist.txt", - ] - outputs = [ - "$clang_resource_dir/share/{{source_target_relative}}", - ] + sources = [ "cfi_blacklist.txt" ] + outputs = [ "$clang_resource_dir/share/{{source_target_relative}}" ] } diff --git a/llvm/utils/gn/secondary/compiler-rt/lib/hwasan/BUILD.gn b/llvm/utils/gn/secondary/compiler-rt/lib/hwasan/BUILD.gn index 6994b75..b3b1fdc 100644 --- a/llvm/utils/gn/secondary/compiler-rt/lib/hwasan/BUILD.gn +++ b/llvm/utils/gn/secondary/compiler-rt/lib/hwasan/BUILD.gn @@ -2,16 +2,12 @@ import("//compiler-rt/target.gni") action("version_script") { script = "//compiler-rt/lib/sanitizer_common/scripts/gen_dynamic_list.py" - sources = [ - "hwasan.syms.extra", - ] + sources = [ "hwasan.syms.extra" ] deps = [ ":hwasan", ":hwasan_cxx", ] - outputs = [ - "$target_gen_dir/hwasan.vers", - ] + outputs = [ "$target_gen_dir/hwasan.vers" ] args = [ "--version-list", "--extra", @@ -71,9 +67,7 @@ source_set("sources") { source_set("cxx_sources") { configs -= [ "//llvm/utils/gn/build:llvm_code" ] configs += [ "//llvm/utils/gn/build:crt_code" ] - deps = [ - "//compiler-rt/lib/ubsan:cxx_sources", - ] + deps = [ "//compiler-rt/lib/ubsan:cxx_sources" ] sources = [ # Make `gn format` not collapse this, for sync_source_lists_from_cmake.py. "hwasan_new_delete.cpp", @@ -89,9 +83,7 @@ static_library("hwasan") { "//llvm/utils/gn/build:thin_archive", ] configs += [ "//llvm/utils/gn/build:crt_code" ] - deps = [ - ":sources", - ] + deps = [ ":sources" ] } static_library("hwasan_cxx") { @@ -103,9 +95,7 @@ static_library("hwasan_cxx") { "//llvm/utils/gn/build:thin_archive", ] configs += [ "//llvm/utils/gn/build:crt_code" ] - deps = [ - ":cxx_sources", - ] + deps = [ ":cxx_sources" ] } shared_library("hwasan_shared") { @@ -118,9 +108,7 @@ shared_library("hwasan_shared") { ":sources", ":version_script", ] - inputs = [ - "$target_gen_dir/hwasan.vers", - ] + inputs = [ "$target_gen_dir/hwasan.vers" ] ldflags = [ "-Wl,--version-script," + rebase_path(inputs[0], root_build_dir), "-Wl,-z,global", diff --git a/llvm/utils/gn/secondary/compiler-rt/lib/interception/BUILD.gn b/llvm/utils/gn/secondary/compiler-rt/lib/interception/BUILD.gn index 02eadbf..92f65d7 100644 --- a/llvm/utils/gn/secondary/compiler-rt/lib/interception/BUILD.gn +++ b/llvm/utils/gn/secondary/compiler-rt/lib/interception/BUILD.gn @@ -1,9 +1,7 @@ source_set("sources") { configs -= [ "//llvm/utils/gn/build:llvm_code" ] configs += [ "//llvm/utils/gn/build:crt_code" ] - deps = [ - "//compiler-rt/lib/sanitizer_common:sources", - ] + deps = [ "//compiler-rt/lib/sanitizer_common:sources" ] sources = [ "interception.h", "interception_linux.cpp", diff --git a/llvm/utils/gn/secondary/compiler-rt/lib/sanitizer_common/BUILD.gn b/llvm/utils/gn/secondary/compiler-rt/lib/sanitizer_common/BUILD.gn index a972794..c4cc781 100644 --- a/llvm/utils/gn/secondary/compiler-rt/lib/sanitizer_common/BUILD.gn +++ b/llvm/utils/gn/secondary/compiler-rt/lib/sanitizer_common/BUILD.gn @@ -1,9 +1,7 @@ source_set("sources") { configs -= [ "//llvm/utils/gn/build:llvm_code" ] configs += [ "//llvm/utils/gn/build:crt_code" ] - deps = [ - "//llvm/utils/gn/build/libs/pthread", - ] + deps = [ "//llvm/utils/gn/build/libs/pthread" ] libs = [] if (current_os == "linux" || current_os == "android") { libs += [ "dl" ] @@ -168,9 +166,7 @@ source_set("sources") { source_set("nolibc_sources") { configs -= [ "//llvm/utils/gn/build:llvm_code" ] configs += [ "//llvm/utils/gn/build:crt_code" ] - deps = [ - "//llvm/utils/gn/build/libs/pthread", - ] + deps = [ "//llvm/utils/gn/build/libs/pthread" ] sources = [ # Make `gn format` not collapse this, for sync_source_lists_from_cmake.py. "sanitizer_common_nolibc.cpp", diff --git a/llvm/utils/gn/secondary/compiler-rt/lib/scudo/standalone/tests/BUILD.gn b/llvm/utils/gn/secondary/compiler-rt/lib/scudo/standalone/tests/BUILD.gn index 391c296..3c8ed73 100644 --- a/llvm/utils/gn/secondary/compiler-rt/lib/scudo/standalone/tests/BUILD.gn +++ b/llvm/utils/gn/secondary/compiler-rt/lib/scudo/standalone/tests/BUILD.gn @@ -3,9 +3,7 @@ import("//llvm/utils/unittest/unittest.gni") unittest("ScudoUnitTest") { configs += [ "//llvm/utils/gn/build:crt_code" ] - deps = [ - "//compiler-rt/lib/scudo/standalone:sources", - ] + deps = [ "//compiler-rt/lib/scudo/standalone:sources" ] sources = [ "atomic_test.cpp", "bytemap_test.cpp", 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 37ad25f..7e05a5c8 100644 --- a/llvm/utils/gn/secondary/compiler-rt/test/hwasan/BUILD.gn +++ b/llvm/utils/gn/secondary/compiler-rt/test/hwasan/BUILD.gn @@ -81,17 +81,13 @@ 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 # have any deps except :hwasan. so that the default target is sure to build # all the deps. - deps = [ - ":hwasan", - ] + deps = [ ":hwasan" ] testonly = true pool = "//:console" diff --git a/llvm/utils/gn/secondary/libcxx/include/BUILD.gn b/llvm/utils/gn/secondary/libcxx/include/BUILD.gn index 92ea241..80c07c9 100644 --- a/llvm/utils/gn/secondary/libcxx/include/BUILD.gn +++ b/llvm/utils/gn/secondary/libcxx/include/BUILD.gn @@ -35,30 +35,20 @@ if (libcxx_needs_site_config) { "$target_gen_dir/__config_site", "__config", ] - outputs = [ - "$target_gen_dir/__config", - ] + outputs = [ "$target_gen_dir/__config" ] args = [ "$target_gen_dir/__config_site", "__config", "-o", "$target_gen_dir/__config", ] - deps = [ - ":write_config", - ] + deps = [ ":write_config" ] } copy("copy_config") { - sources = [ - "$target_gen_dir/__config", - ] - outputs = [ - "$clang_resource_dir/include/c++/v1/{{source_file_part}}", - ] - deps = [ - ":concat_config", - ] + sources = [ "$target_gen_dir/__config" ] + outputs = [ "$clang_resource_dir/include/c++/v1/{{source_file_part}}" ] + deps = [ ":concat_config" ] } } @@ -220,9 +210,7 @@ copy("include") { "wchar.h", "wctype.h", ] - deps = [ - "//libcxxabi/include", - ] + deps = [ "//libcxxabi/include" ] if (!libcxx_needs_site_config) { sources += [ "__config" ] } else { @@ -252,7 +240,5 @@ copy("include") { ] } } - outputs = [ - "$root_build_dir/include/c++/v1/{{source_target_relative}}", - ] + outputs = [ "$root_build_dir/include/c++/v1/{{source_target_relative}}" ] } diff --git a/llvm/utils/gn/secondary/libcxx/src/BUILD.gn b/llvm/utils/gn/secondary/libcxx/src/BUILD.gn index f91b29c..5e0cc6f 100644 --- a/llvm/utils/gn/secondary/libcxx/src/BUILD.gn +++ b/llvm/utils/gn/secondary/libcxx/src/BUILD.gn @@ -219,9 +219,7 @@ if (libcxx_enable_shared) { } symlink_or_copy("cxx_symlink") { - deps = [ - ":cxx_shared", - ] + deps = [ ":cxx_shared" ] source = "libc++.so.0" output = "$runtimes_dir/libc++.so" } @@ -229,9 +227,7 @@ if (libcxx_enable_shared) { if (libcxx_enable_abi_linker_script) { action("cxx_linker_script") { script = "//llvm/utils/gn/secondary/libcxx/utils/gen_link_script.py" - outputs = [ - "$runtimes_dir/libc++.so", - ] + outputs = [ "$runtimes_dir/libc++.so" ] args = [ "--input", rebase_path("$runtimes_dir/libc++.so.0", root_build_dir), @@ -240,9 +236,7 @@ if (libcxx_enable_shared) { "c++abi", "unwind", ] - deps = [ - ":cxx_symlink", - ] + deps = [ ":cxx_symlink" ] } } } diff --git a/llvm/utils/gn/secondary/libcxxabi/BUILD.gn b/llvm/utils/gn/secondary/libcxxabi/BUILD.gn index 7f1e15f..ba58cc8 100644 --- a/llvm/utils/gn/secondary/libcxxabi/BUILD.gn +++ b/llvm/utils/gn/secondary/libcxxabi/BUILD.gn @@ -1,5 +1,3 @@ group("libcxxabi") { - deps = [ - "//libcxxabi/src(//llvm/utils/gn/build/toolchain:stage2_unix)", - ] + deps = [ "//libcxxabi/src(//llvm/utils/gn/build/toolchain:stage2_unix)" ] } diff --git a/llvm/utils/gn/secondary/libcxxabi/include/BUILD.gn b/llvm/utils/gn/secondary/libcxxabi/include/BUILD.gn index 46df529..74541e6 100644 --- a/llvm/utils/gn/secondary/libcxxabi/include/BUILD.gn +++ b/llvm/utils/gn/secondary/libcxxabi/include/BUILD.gn @@ -5,7 +5,5 @@ copy("include") { "__cxxabi_config.h", "cxxabi.h", ] - outputs = [ - "$root_build_dir/include/c++/v1/{{source_target_relative}}", - ] + outputs = [ "$root_build_dir/include/c++/v1/{{source_target_relative}}" ] } diff --git a/llvm/utils/gn/secondary/libunwind/BUILD.gn b/llvm/utils/gn/secondary/libunwind/BUILD.gn index b55d9c7..07c3cf0 100644 --- a/llvm/utils/gn/secondary/libunwind/BUILD.gn +++ b/llvm/utils/gn/secondary/libunwind/BUILD.gn @@ -1,5 +1,3 @@ group("libunwind") { - deps = [ - "//libunwind/src(//llvm/utils/gn/build/toolchain:stage2_unix)", - ] + deps = [ "//libunwind/src(//llvm/utils/gn/build/toolchain:stage2_unix)" ] } diff --git a/llvm/utils/gn/secondary/libunwind/src/BUILD.gn b/llvm/utils/gn/secondary/libunwind/src/BUILD.gn index af19368..7aadfff 100644 --- a/llvm/utils/gn/secondary/libunwind/src/BUILD.gn +++ b/llvm/utils/gn/secondary/libunwind/src/BUILD.gn @@ -23,25 +23,25 @@ if (target_os == "mac") { } unwind_sources = [ - "libunwind.cpp", + "AddressSpace.hpp", + "CompactUnwinder.hpp", + "DwarfInstructions.hpp", + "DwarfParser.hpp", + "RWMutex.hpp", + "Registers.hpp", "Unwind-EHABI.cpp", "Unwind-seh.cpp", - "UnwindLevel1.c", - "UnwindLevel1-gcc-ext.c", "Unwind-sjlj.c", + "UnwindCursor.hpp", + "UnwindLevel1-gcc-ext.c", + "UnwindLevel1.c", "UnwindRegistersRestore.S", "UnwindRegistersSave.S", - "AddressSpace.hpp", "assembly.h", - "CompactUnwinder.hpp", "config.h", "dwarf2.h", - "DwarfInstructions.hpp", - "DwarfParser.hpp", + "libunwind.cpp", "libunwind_ext.h", - "Registers.hpp", - "RWMutex.hpp", - "UnwindCursor.hpp", ] if (target_os == "mac") { unwind_sources += [ @@ -80,9 +80,7 @@ if (libunwind_enable_shared) { } sources = unwind_sources public = unwind_headers - deps = [ - "//compiler-rt/lib/builtins", - ] + deps = [ "//compiler-rt/lib/builtins" ] configs += [ ":unwind_config" ] configs -= [ "//llvm/utils/gn/build:no_exceptions", @@ -104,9 +102,7 @@ if (libunwind_enable_static) { cflags_cc = [ "-fvisibility-global-new-delete-hidden" ] defines = [ "_LIBUNWIND_DISABLE_VISIBILITY_ANNOTATIONS" ] } - deps = [ - "//compiler-rt/lib/builtins", - ] + deps = [ "//compiler-rt/lib/builtins" ] configs += [ ":unwind_config" ] configs -= [ "//llvm/utils/gn/build:no_exceptions", diff --git a/llvm/utils/gn/secondary/lld/test/BUILD.gn b/llvm/utils/gn/secondary/lld/test/BUILD.gn index 4479205..e47dacb 100644 --- a/llvm/utils/gn/secondary/lld/test/BUILD.gn +++ b/llvm/utils/gn/secondary/lld/test/BUILD.gn @@ -117,17 +117,13 @@ 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 # have any deps except :test, so that the default target is sure to build # all the deps. - deps = [ - ":test", - ] + deps = [ ":test" ] testonly = true pool = "//:console" diff --git a/llvm/utils/gn/secondary/lld/tools/lld/BUILD.gn b/llvm/utils/gn/secondary/lld/tools/lld/BUILD.gn index 6f0771b..f79e2b7 100644 --- a/llvm/utils/gn/secondary/lld/tools/lld/BUILD.gn +++ b/llvm/utils/gn/secondary/lld/tools/lld/BUILD.gn @@ -8,9 +8,7 @@ symlinks = [ ] foreach(target, symlinks) { symlink_or_copy(target) { - deps = [ - ":lld", - ] + deps = [ ":lld" ] source = "lld" output = "$root_out_dir/bin/$target" } diff --git a/llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn b/llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn index 517d96d..9f94540 100644 --- a/llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn @@ -66,9 +66,7 @@ write_cmake_config("abi-breaking") { } write_cmake_config("config") { - public_deps = [ - ":llvm-config", - ] + public_deps = [ ":llvm-config" ] input = "config.h.cmake" output = "$target_gen_dir/config.h" diff --git a/llvm/utils/gn/secondary/llvm/include/llvm/Support/BUILD.gn b/llvm/utils/gn/secondary/llvm/include/llvm/Support/BUILD.gn index 2242098..33e23784 100644 --- a/llvm/utils/gn/secondary/llvm/include/llvm/Support/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/include/llvm/Support/BUILD.gn @@ -11,9 +11,7 @@ write_vcsrevision("write_vcsrevision") { # in their args.gn and with empty defaults (similar to llvm_targets_to_build). action("write_extension_def") { script = "//llvm/utils/gn/secondary/llvm/include/llvm/Support/write_extension_def.py" - outputs = [ - "$target_gen_dir/Extension.def", - ] + outputs = [ "$target_gen_dir/Extension.def" ] # If any extensions should be enabled, they'd be passed as additional # arguments, e.g. `args += [ "Bye", "Polly" ]`. diff --git a/llvm/utils/gn/secondary/llvm/lib/BinaryFormat/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/BinaryFormat/BUILD.gn index 15721b5..0cf2cdf 100644 --- a/llvm/utils/gn/secondary/llvm/lib/BinaryFormat/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/lib/BinaryFormat/BUILD.gn @@ -1,8 +1,6 @@ static_library("BinaryFormat") { output_name = "LLVMBinaryFormat" - deps = [ - "//llvm/lib/Support", - ] + deps = [ "//llvm/lib/Support" ] sources = [ "AMDGPUMetadataVerifier.cpp", "Dwarf.cpp", diff --git a/llvm/utils/gn/secondary/llvm/lib/Bitstream/Reader/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Bitstream/Reader/BUILD.gn index e3a23ac..2acb5fc 100644 --- a/llvm/utils/gn/secondary/llvm/lib/Bitstream/Reader/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/lib/Bitstream/Reader/BUILD.gn @@ -1,8 +1,6 @@ static_library("Reader") { output_name = "LLVMBitstreamReader" - deps = [ - "//llvm/lib/Support", - ] + deps = [ "//llvm/lib/Support" ] sources = [ # Make `gn format` not collapse this, for sync_source_lists_from_cmake.py. diff --git a/llvm/utils/gn/secondary/llvm/lib/DebugInfo/MSF/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/DebugInfo/MSF/BUILD.gn index 9f8fd86e..94c851a 100644 --- a/llvm/utils/gn/secondary/llvm/lib/DebugInfo/MSF/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/lib/DebugInfo/MSF/BUILD.gn @@ -1,8 +1,6 @@ static_library("MSF") { output_name = "LLVMDebugInfoMSF" - deps = [ - "//llvm/lib/Support", - ] + deps = [ "//llvm/lib/Support" ] sources = [ "MSFBuilder.cpp", "MSFCommon.cpp", diff --git a/llvm/utils/gn/secondary/llvm/lib/ExecutionEngine/OrcError/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/ExecutionEngine/OrcError/BUILD.gn index 48ee614..038ae51 100644 --- a/llvm/utils/gn/secondary/llvm/lib/ExecutionEngine/OrcError/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/lib/ExecutionEngine/OrcError/BUILD.gn @@ -1,8 +1,6 @@ static_library("OrcError") { output_name = "LLVMOrcError" - deps = [ - "//llvm/lib/Support", - ] + deps = [ "//llvm/lib/Support" ] sources = [ "OrcError.cpp", "RPCError.cpp", diff --git a/llvm/utils/gn/secondary/llvm/lib/Option/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Option/BUILD.gn index 51fe465..2d1cf27 100644 --- a/llvm/utils/gn/secondary/llvm/lib/Option/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/lib/Option/BUILD.gn @@ -1,8 +1,6 @@ static_library("Option") { output_name = "LLVMOption" - deps = [ - "//llvm/lib/Support", - ] + deps = [ "//llvm/lib/Support" ] sources = [ "Arg.cpp", "ArgList.cpp", diff --git a/llvm/utils/gn/secondary/llvm/lib/TableGen/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/TableGen/BUILD.gn index 8b94dbb..17659dd 100644 --- a/llvm/utils/gn/secondary/llvm/lib/TableGen/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/lib/TableGen/BUILD.gn @@ -1,8 +1,6 @@ static_library("TableGen") { output_name = "LLVMTableGen" - deps = [ - "//llvm/lib/Support", - ] + deps = [ "//llvm/lib/Support" ] sources = [ "Error.cpp", "JSONBackend.cpp", diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/AArch64/MCTargetDesc/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/AArch64/MCTargetDesc/BUILD.gn index b2603e8..dfa56b0 100644 --- a/llvm/utils/gn/secondary/llvm/lib/Target/AArch64/MCTargetDesc/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/lib/Target/AArch64/MCTargetDesc/BUILD.gn @@ -56,9 +56,7 @@ group("tablegen") { static_library("MCTargetDesc") { output_name = "LLVMAArch64Desc" - public_deps = [ - ":tablegen", - ] + public_deps = [ ":tablegen" ] deps = [ ":AArch64GenAsmWriter", ":AArch64GenAsmWriter1", diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/AArch64/TargetInfo/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/AArch64/TargetInfo/BUILD.gn index f396040..bfdf408 100644 --- a/llvm/utils/gn/secondary/llvm/lib/Target/AArch64/TargetInfo/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/lib/Target/AArch64/TargetInfo/BUILD.gn @@ -1,8 +1,6 @@ static_library("TargetInfo") { output_name = "LLVMAArch64Info" - deps = [ - "//llvm/lib/Support", - ] + deps = [ "//llvm/lib/Support" ] include_dirs = [ ".." ] sources = [ # Make `gn format` not collapse this, for sync_source_lists_from_cmake.py. diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/AArch64/Utils/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/AArch64/Utils/BUILD.gn index 0236bca..9f199e0 100644 --- a/llvm/utils/gn/secondary/llvm/lib/Target/AArch64/Utils/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/lib/Target/AArch64/Utils/BUILD.gn @@ -9,9 +9,7 @@ tablegen("AArch64GenSystemOperands") { static_library("Utils") { output_name = "LLVMAArch64Utils" - public_deps = [ - ":AArch64GenSystemOperands", - ] + public_deps = [ ":AArch64GenSystemOperands" ] deps = [ "//llvm/lib/Support", diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/MCTargetDesc/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/MCTargetDesc/BUILD.gn index 0b17e16..b1c5d5d 100644 --- a/llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/MCTargetDesc/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/MCTargetDesc/BUILD.gn @@ -80,9 +80,7 @@ group("tablegen") { static_library("MCTargetDesc") { output_name = "LLVMAMDGPUDesc" - public_deps = [ - ":tablegen", - ] + public_deps = [ ":tablegen" ] deps = [ ":AMDGPUGenAsmWriter", ":AMDGPUGenMCCodeEmitter", diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/TargetInfo/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/TargetInfo/BUILD.gn index 14101cc..4a53add 100644 --- a/llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/TargetInfo/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/TargetInfo/BUILD.gn @@ -1,8 +1,6 @@ static_library("TargetInfo") { output_name = "LLVMAMDGPUInfo" - deps = [ - "//llvm/lib/Support", - ] + deps = [ "//llvm/lib/Support" ] include_dirs = [ ".." ] sources = [ # Make `gn format` not collapse this, for sync_source_lists_from_cmake.py. diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/Utils/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/Utils/BUILD.gn index 7f9a7ee..41c6162 100644 --- a/llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/Utils/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/Utils/BUILD.gn @@ -8,9 +8,7 @@ tablegen("AMDGPUGenSearchableTables") { static_library("Utils") { output_name = "LLVMAMDGPUUtils" - public_deps = [ - ":AMDGPUGenSearchableTables", - ] + public_deps = [ ":AMDGPUGenSearchableTables" ] deps = [ "//llvm/lib/BinaryFormat", "//llvm/lib/IR", diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/ARM/MCTargetDesc/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/ARM/MCTargetDesc/BUILD.gn index 5e71904..8fd02d1 100644 --- a/llvm/utils/gn/secondary/llvm/lib/Target/ARM/MCTargetDesc/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/lib/Target/ARM/MCTargetDesc/BUILD.gn @@ -47,9 +47,7 @@ group("tablegen") { static_library("MCTargetDesc") { output_name = "LLVMARMDesc" - public_deps = [ - ":tablegen", - ] + public_deps = [ ":tablegen" ] deps = [ ":ARMGenAsmWriter", ":ARMGenMCCodeEmitter", diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/ARM/TargetInfo/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/ARM/TargetInfo/BUILD.gn index c9f370a..8e5e8a9 100644 --- a/llvm/utils/gn/secondary/llvm/lib/Target/ARM/TargetInfo/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/lib/Target/ARM/TargetInfo/BUILD.gn @@ -1,8 +1,6 @@ static_library("TargetInfo") { output_name = "LLVMARMInfo" - deps = [ - "//llvm/lib/Support", - ] + deps = [ "//llvm/lib/Support" ] include_dirs = [ ".." ] sources = [ # Make `gn format` not collapse this, for sync_source_lists_from_cmake.py. diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/ARM/Utils/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/ARM/Utils/BUILD.gn index 1be8846..146b63e 100644 --- a/llvm/utils/gn/secondary/llvm/lib/Target/ARM/Utils/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/lib/Target/ARM/Utils/BUILD.gn @@ -9,9 +9,7 @@ tablegen("ARMGenSystemRegister") { static_library("Utils") { output_name = "LLVMARMUtils" - public_deps = [ - ":ARMGenSystemRegister", - ] + public_deps = [ ":ARMGenSystemRegister" ] deps = [ "//llvm/lib/Support", diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/AVR/TargetInfo/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/AVR/TargetInfo/BUILD.gn index 077e0d5..b08046e 100644 --- a/llvm/utils/gn/secondary/llvm/lib/Target/AVR/TargetInfo/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/lib/Target/AVR/TargetInfo/BUILD.gn @@ -1,8 +1,6 @@ static_library("TargetInfo") { output_name = "LLVMAVRInfo" - deps = [ - "//llvm/lib/Support", - ] + deps = [ "//llvm/lib/Support" ] include_dirs = [ ".." ] sources = [ # Make `gn format` not collapse this, for sync_source_lists_from_cmake.py. diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/BPF/TargetInfo/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/BPF/TargetInfo/BUILD.gn index 1af828e..dc87dff 100644 --- a/llvm/utils/gn/secondary/llvm/lib/Target/BPF/TargetInfo/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/lib/Target/BPF/TargetInfo/BUILD.gn @@ -1,8 +1,6 @@ static_library("TargetInfo") { output_name = "LLVMBPFInfo" - deps = [ - "//llvm/lib/Support", - ] + deps = [ "//llvm/lib/Support" ] include_dirs = [ ".." ] sources = [ # Make `gn format` not collapse this, for sync_source_lists_from_cmake.py. diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/BUILD.gn index 50f33d4..51dfc4f 100644 --- a/llvm/utils/gn/secondary/llvm/lib/Target/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/lib/Target/BUILD.gn @@ -47,9 +47,7 @@ static_library("Target") { # 2. Forwarding targets. group("NativeTarget") { - deps = [ - "$native_target", - ] + deps = [ "$native_target" ] } group("TargetsToBuild") { diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/Hexagon/TargetInfo/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/Hexagon/TargetInfo/BUILD.gn index fa41fc7..e735404 100644 --- a/llvm/utils/gn/secondary/llvm/lib/Target/Hexagon/TargetInfo/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/lib/Target/Hexagon/TargetInfo/BUILD.gn @@ -1,8 +1,6 @@ static_library("TargetInfo") { output_name = "LLVMHexagonInfo" - deps = [ - "//llvm/lib/Support", - ] + deps = [ "//llvm/lib/Support" ] include_dirs = [ ".." ] sources = [ # Make `gn format` not collapse this, for sync_source_lists_from_cmake.py. diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/Lanai/TargetInfo/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/Lanai/TargetInfo/BUILD.gn index d979507..0a76709ec 100644 --- a/llvm/utils/gn/secondary/llvm/lib/Target/Lanai/TargetInfo/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/lib/Target/Lanai/TargetInfo/BUILD.gn @@ -1,8 +1,6 @@ static_library("TargetInfo") { output_name = "LLVMLanaiInfo" - deps = [ - "//llvm/lib/Support", - ] + deps = [ "//llvm/lib/Support" ] include_dirs = [ ".." ] sources = [ # Make `gn format` not collapse this, for sync_source_lists_from_cmake.py. diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/Mips/MCTargetDesc/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/Mips/MCTargetDesc/BUILD.gn index 2f6663d..a8d5c4d 100644 --- a/llvm/utils/gn/secondary/llvm/lib/Target/Mips/MCTargetDesc/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/lib/Target/Mips/MCTargetDesc/BUILD.gn @@ -47,9 +47,7 @@ group("tablegen") { static_library("MCTargetDesc") { output_name = "LLVMMipsDesc" - public_deps = [ - ":tablegen", - ] + public_deps = [ ":tablegen" ] deps = [ ":MipsGenAsmWriter", ":MipsGenMCCodeEmitter", diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/Mips/TargetInfo/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/Mips/TargetInfo/BUILD.gn index 7562f63..f021ab4 100644 --- a/llvm/utils/gn/secondary/llvm/lib/Target/Mips/TargetInfo/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/lib/Target/Mips/TargetInfo/BUILD.gn @@ -1,8 +1,6 @@ static_library("TargetInfo") { output_name = "LLVMMipsInfo" - deps = [ - "//llvm/lib/Support", - ] + deps = [ "//llvm/lib/Support" ] include_dirs = [ ".." ] sources = [ # Make `gn format` not collapse this, for sync_source_lists_from_cmake.py. diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/NVPTX/TargetInfo/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/NVPTX/TargetInfo/BUILD.gn index 29cdcc6..2f32148 100644 --- a/llvm/utils/gn/secondary/llvm/lib/Target/NVPTX/TargetInfo/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/lib/Target/NVPTX/TargetInfo/BUILD.gn @@ -1,8 +1,6 @@ static_library("TargetInfo") { output_name = "LLVMNVPTXInfo" - deps = [ - "//llvm/lib/Support", - ] + deps = [ "//llvm/lib/Support" ] include_dirs = [ ".." ] sources = [ # Make `gn format` not collapse this, for sync_source_lists_from_cmake.py. diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/PowerPC/TargetInfo/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/PowerPC/TargetInfo/BUILD.gn index a9216fa..8dddf52 100644 --- a/llvm/utils/gn/secondary/llvm/lib/Target/PowerPC/TargetInfo/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/lib/Target/PowerPC/TargetInfo/BUILD.gn @@ -1,8 +1,6 @@ static_library("TargetInfo") { output_name = "LLVMPowerPCInfo" - deps = [ - "//llvm/lib/Support", - ] + deps = [ "//llvm/lib/Support" ] include_dirs = [ ".." ] sources = [ # Make `gn format` not collapse this, for sync_source_lists_from_cmake.py. diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/RISCV/MCTargetDesc/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/RISCV/MCTargetDesc/BUILD.gn index 09ca180..f6326a5 100644 --- a/llvm/utils/gn/secondary/llvm/lib/Target/RISCV/MCTargetDesc/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/lib/Target/RISCV/MCTargetDesc/BUILD.gn @@ -47,9 +47,7 @@ group("tablegen") { static_library("MCTargetDesc") { output_name = "LLVMRISCVDesc" - public_deps = [ - ":tablegen", - ] + public_deps = [ ":tablegen" ] deps = [ ":RISCVGenAsmWriter", ":RISCVGenMCCodeEmitter", diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/RISCV/TargetInfo/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/RISCV/TargetInfo/BUILD.gn index 879b2ae..f974c8e 100644 --- a/llvm/utils/gn/secondary/llvm/lib/Target/RISCV/TargetInfo/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/lib/Target/RISCV/TargetInfo/BUILD.gn @@ -1,8 +1,6 @@ static_library("TargetInfo") { output_name = "LLVMRISCVInfo" - deps = [ - "//llvm/lib/Support", - ] + deps = [ "//llvm/lib/Support" ] include_dirs = [ ".." ] sources = [ # Make `gn format` not collapse this, for sync_source_lists_from_cmake.py. diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/RISCV/Utils/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/RISCV/Utils/BUILD.gn index 6ae0d78..2b5a2c2 100644 --- a/llvm/utils/gn/secondary/llvm/lib/Target/RISCV/Utils/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/lib/Target/RISCV/Utils/BUILD.gn @@ -9,9 +9,7 @@ tablegen("RISCVGenSystemOperands") { static_library("Utils") { output_name = "LLVMRISCVUtils" - public_deps = [ - ":RISCVGenSystemOperands", - ] + public_deps = [ ":RISCVGenSystemOperands" ] deps = [ "//llvm/lib/MC", "//llvm/lib/Support", diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/Sparc/TargetInfo/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/Sparc/TargetInfo/BUILD.gn index ed714fc..e5f5481 100644 --- a/llvm/utils/gn/secondary/llvm/lib/Target/Sparc/TargetInfo/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/lib/Target/Sparc/TargetInfo/BUILD.gn @@ -1,8 +1,6 @@ static_library("TargetInfo") { output_name = "LLVMSparcInfo" - deps = [ - "//llvm/lib/Support", - ] + deps = [ "//llvm/lib/Support" ] include_dirs = [ ".." ] sources = [ # Make `gn format` not collapse this, for sync_source_lists_from_cmake.py. diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/SystemZ/TargetInfo/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/SystemZ/TargetInfo/BUILD.gn index e8867a1..0a17e35 100644 --- a/llvm/utils/gn/secondary/llvm/lib/Target/SystemZ/TargetInfo/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/lib/Target/SystemZ/TargetInfo/BUILD.gn @@ -1,8 +1,6 @@ static_library("TargetInfo") { output_name = "LLVMSystemZInfo" - deps = [ - "//llvm/lib/Support", - ] + deps = [ "//llvm/lib/Support" ] include_dirs = [ ".." ] sources = [ # Make `gn format` not collapse this, for sync_source_lists_from_cmake.py. diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/TargetInfo/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/TargetInfo/BUILD.gn index 4cd78b9..c54be3c 100644 --- a/llvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/TargetInfo/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/TargetInfo/BUILD.gn @@ -1,8 +1,6 @@ static_library("TargetInfo") { output_name = "LLVMWebAssemblyInfo" - deps = [ - "//llvm/lib/Support", - ] + deps = [ "//llvm/lib/Support" ] include_dirs = [ ".." ] sources = [ # Make `gn format` not collapse this, for sync_source_lists_from_cmake.py. diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/X86/TargetInfo/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/X86/TargetInfo/BUILD.gn index 67baf8e..5ab7a55 100644 --- a/llvm/utils/gn/secondary/llvm/lib/Target/X86/TargetInfo/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/lib/Target/X86/TargetInfo/BUILD.gn @@ -1,8 +1,6 @@ static_library("TargetInfo") { output_name = "LLVMX86Info" - deps = [ - "//llvm/lib/Support", - ] + deps = [ "//llvm/lib/Support" ] include_dirs = [ ".." ] sources = [ # Make `gn format` not collapse this, for sync_source_lists_from_cmake.py. diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/X86/Utils/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/X86/Utils/BUILD.gn index 9567685..40edfaa 100644 --- a/llvm/utils/gn/secondary/llvm/lib/Target/X86/Utils/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/lib/Target/X86/Utils/BUILD.gn @@ -1,8 +1,6 @@ static_library("Utils") { output_name = "LLVMX86Utils" - deps = [ - "//llvm/lib/Support", - ] + deps = [ "//llvm/lib/Support" ] sources = [ # Make `gn format` not collapse this, for sync_source_lists_from_cmake.py. "X86ShuffleDecode.cpp", diff --git a/llvm/utils/gn/secondary/llvm/test/BUILD.gn b/llvm/utils/gn/secondary/llvm/test/BUILD.gn index b9d649a..0231c9b 100644 --- a/llvm/utils/gn/secondary/llvm/test/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/test/BUILD.gn @@ -291,17 +291,13 @@ 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 # have any deps except :test. so that the default target is sure to build # all the deps. - deps = [ - ":test", - ] + deps = [ ":test" ] testonly = true pool = "//:console" diff --git a/llvm/utils/gn/secondary/llvm/tools/llvm-ar/BUILD.gn b/llvm/utils/gn/secondary/llvm/tools/llvm-ar/BUILD.gn index e575d01..b3d997d 100644 --- a/llvm/utils/gn/secondary/llvm/tools/llvm-ar/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/tools/llvm-ar/BUILD.gn @@ -15,9 +15,7 @@ if (llvm_install_binutils_symlinks) { } foreach(target, symlinks) { symlink_or_copy(target) { - deps = [ - ":llvm-ar", - ] + deps = [ ":llvm-ar" ] source = "llvm-ar" output = "$root_out_dir/bin/$target" } diff --git a/llvm/utils/gn/secondary/llvm/tools/llvm-config/BUILD.gn b/llvm/utils/gn/secondary/llvm/tools/llvm-config/BUILD.gn index d3c4aa4..6c2ab6f 100644 --- a/llvm/utils/gn/secondary/llvm/tools/llvm-config/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/tools/llvm-config/BUILD.gn @@ -101,9 +101,7 @@ action("LibraryDependencies.inc") { "--enable-targets=$llvm_targets_to_build_string", "--write-library-table=" + rebase_path(output, root_out_dir), ] - outputs = [ - output, - ] + outputs = [ output ] } executable("llvm-config") { diff --git a/llvm/utils/gn/secondary/llvm/tools/llvm-cxxfilt/BUILD.gn b/llvm/utils/gn/secondary/llvm/tools/llvm-cxxfilt/BUILD.gn index e20e586..92ee96d 100644 --- a/llvm/utils/gn/secondary/llvm/tools/llvm-cxxfilt/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/tools/llvm-cxxfilt/BUILD.gn @@ -3,9 +3,7 @@ import("//llvm/utils/gn/build/symlink_or_copy.gni") if (llvm_install_binutils_symlinks) { symlink_or_copy("cxxfilt") { # Can't have '+' in target name. - deps = [ - ":llvm-cxxfilt", - ] + deps = [ ":llvm-cxxfilt" ] source = "llvm-cxxfilt" output = "$root_out_dir/bin/c++filt" # Note: c++filt, not cxxfilt } @@ -13,9 +11,7 @@ if (llvm_install_binutils_symlinks) { # //:llvm-cxxfilt depends on this symlink target, see comment in //BUILD.gn. group("symlinks") { - deps = [ - ":llvm-cxxfilt", - ] + deps = [ ":llvm-cxxfilt" ] if (llvm_install_binutils_symlinks) { deps += [ ":cxxfilt" ] } diff --git a/llvm/utils/gn/secondary/llvm/tools/llvm-dwp/BUILD.gn b/llvm/utils/gn/secondary/llvm/tools/llvm-dwp/BUILD.gn index efb5b82..110aaaf 100644 --- a/llvm/utils/gn/secondary/llvm/tools/llvm-dwp/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/tools/llvm-dwp/BUILD.gn @@ -3,9 +3,7 @@ import("//llvm/utils/gn/build/symlink_or_copy.gni") if (llvm_install_binutils_symlinks) { symlink_or_copy("dwp") { - deps = [ - ":llvm-dwp", - ] + deps = [ ":llvm-dwp" ] source = "llvm-dwp" output = "$root_out_dir/bin/dwp" } @@ -13,9 +11,7 @@ if (llvm_install_binutils_symlinks) { # //:llvm-dwp depends on this symlink target, see comment in //BUILD.gn. group("symlinks") { - deps = [ - ":llvm-dwp", - ] + deps = [ ":llvm-dwp" ] if (llvm_install_binutils_symlinks) { deps += [ ":dwp" ] } diff --git a/llvm/utils/gn/secondary/llvm/tools/llvm-nm/BUILD.gn b/llvm/utils/gn/secondary/llvm/tools/llvm-nm/BUILD.gn index f1b40d5..8b6109c 100644 --- a/llvm/utils/gn/secondary/llvm/tools/llvm-nm/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/tools/llvm-nm/BUILD.gn @@ -3,9 +3,7 @@ import("//llvm/utils/gn/build/symlink_or_copy.gni") if (llvm_install_binutils_symlinks) { symlink_or_copy("nm") { - deps = [ - ":llvm-nm", - ] + deps = [ ":llvm-nm" ] source = "llvm-nm" output = "$root_out_dir/bin/nm" } @@ -13,9 +11,7 @@ if (llvm_install_binutils_symlinks) { # //:llvm-nm depends on this symlink target, see comment in //BUILD.gn. group("symlinks") { - deps = [ - ":llvm-nm", - ] + deps = [ ":llvm-nm" ] if (llvm_install_binutils_symlinks) { deps += [ ":nm" ] } diff --git a/llvm/utils/gn/secondary/llvm/tools/llvm-objcopy/BUILD.gn b/llvm/utils/gn/secondary/llvm/tools/llvm-objcopy/BUILD.gn index d76cc0b..8bac139 100644 --- a/llvm/utils/gn/secondary/llvm/tools/llvm-objcopy/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/tools/llvm-objcopy/BUILD.gn @@ -29,9 +29,7 @@ if (llvm_install_binutils_symlinks) { } foreach(target, symlinks) { symlink_or_copy(target) { - deps = [ - ":llvm-objcopy", - ] + deps = [ ":llvm-objcopy" ] source = "llvm-objcopy" output = "$root_out_dir/bin/$target" } diff --git a/llvm/utils/gn/secondary/llvm/tools/llvm-objdump/BUILD.gn b/llvm/utils/gn/secondary/llvm/tools/llvm-objdump/BUILD.gn index 3b1670bb..06bbf56 100644 --- a/llvm/utils/gn/secondary/llvm/tools/llvm-objdump/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/tools/llvm-objdump/BUILD.gn @@ -3,9 +3,7 @@ import("//llvm/utils/gn/build/symlink_or_copy.gni") if (llvm_install_binutils_symlinks) { symlink_or_copy("objdump") { - deps = [ - ":llvm-objdump", - ] + deps = [ ":llvm-objdump" ] source = "llvm-objdump" output = "$root_out_dir/bin/objdump" } @@ -13,9 +11,7 @@ if (llvm_install_binutils_symlinks) { # //:llvm-objdump depends on this symlink target, see comment in //BUILD.gn. group("symlinks") { - deps = [ - ":llvm-objdump", - ] + deps = [ ":llvm-objdump" ] if (llvm_install_binutils_symlinks) { deps += [ ":objdump" ] } diff --git a/llvm/utils/gn/secondary/llvm/tools/llvm-readobj/BUILD.gn b/llvm/utils/gn/secondary/llvm/tools/llvm-readobj/BUILD.gn index dde560d..da8306b 100644 --- a/llvm/utils/gn/secondary/llvm/tools/llvm-readobj/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/tools/llvm-readobj/BUILD.gn @@ -7,9 +7,7 @@ if (llvm_install_binutils_symlinks) { } foreach(target, symlinks) { symlink_or_copy(target) { - deps = [ - ":llvm-readobj", - ] + deps = [ ":llvm-readobj" ] source = "llvm-readobj" output = "$root_out_dir/bin/$target" } diff --git a/llvm/utils/gn/secondary/llvm/tools/llvm-size/BUILD.gn b/llvm/utils/gn/secondary/llvm/tools/llvm-size/BUILD.gn index 0c70315..df444df 100644 --- a/llvm/utils/gn/secondary/llvm/tools/llvm-size/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/tools/llvm-size/BUILD.gn @@ -3,9 +3,7 @@ import("//llvm/utils/gn/build/symlink_or_copy.gni") if (llvm_install_binutils_symlinks) { symlink_or_copy("size") { - deps = [ - ":llvm-size", - ] + deps = [ ":llvm-size" ] source = "llvm-size" output = "$root_out_dir/bin/size" } @@ -13,9 +11,7 @@ if (llvm_install_binutils_symlinks) { # //:llvm-size depends on this symlink target, see comment in //BUILD.gn. group("symlinks") { - deps = [ - ":llvm-size", - ] + deps = [ ":llvm-size" ] if (llvm_install_binutils_symlinks) { deps += [ ":size" ] } diff --git a/llvm/utils/gn/secondary/llvm/tools/llvm-strings/BUILD.gn b/llvm/utils/gn/secondary/llvm/tools/llvm-strings/BUILD.gn index 6253c4a..26caa2b 100644 --- a/llvm/utils/gn/secondary/llvm/tools/llvm-strings/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/tools/llvm-strings/BUILD.gn @@ -3,9 +3,7 @@ import("//llvm/utils/gn/build/symlink_or_copy.gni") if (llvm_install_binutils_symlinks) { symlink_or_copy("strings") { - deps = [ - ":llvm-strings", - ] + deps = [ ":llvm-strings" ] source = "llvm-strings" output = "$root_out_dir/bin/strings" } @@ -13,9 +11,7 @@ if (llvm_install_binutils_symlinks) { # //:llvm-strings depends on this symlink target, see comment in //BUILD.gn. group("symlinks") { - deps = [ - ":llvm-strings", - ] + deps = [ ":llvm-strings" ] if (llvm_install_binutils_symlinks) { deps += [ ":strings" ] } diff --git a/llvm/utils/gn/secondary/llvm/tools/llvm-symbolizer/BUILD.gn b/llvm/utils/gn/secondary/llvm/tools/llvm-symbolizer/BUILD.gn index 8c3a75b..1e27efbf 100644 --- a/llvm/utils/gn/secondary/llvm/tools/llvm-symbolizer/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/tools/llvm-symbolizer/BUILD.gn @@ -7,9 +7,7 @@ if (llvm_install_binutils_symlinks) { } foreach(target, symlinks) { symlink_or_copy(target) { - deps = [ - ":llvm-symbolizer", - ] + deps = [ ":llvm-symbolizer" ] source = "llvm-symbolizer" output = "$root_out_dir/bin/$target" } diff --git a/llvm/utils/gn/secondary/llvm/unittests/BinaryFormat/BUILD.gn b/llvm/utils/gn/secondary/llvm/unittests/BinaryFormat/BUILD.gn index b6b9dc7..1c1951f 100644 --- a/llvm/utils/gn/secondary/llvm/unittests/BinaryFormat/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/unittests/BinaryFormat/BUILD.gn @@ -1,9 +1,7 @@ import("//llvm/utils/unittest/unittest.gni") unittest("BinaryFormatTests") { - deps = [ - "//llvm/lib/BinaryFormat", - ] + deps = [ "//llvm/lib/BinaryFormat" ] sources = [ "DwarfTest.cpp", "MachOTest.cpp", diff --git a/llvm/utils/gn/secondary/llvm/unittests/Bitstream/BUILD.gn b/llvm/utils/gn/secondary/llvm/unittests/Bitstream/BUILD.gn index 373a26b..336d646 100644 --- a/llvm/utils/gn/secondary/llvm/unittests/Bitstream/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/unittests/Bitstream/BUILD.gn @@ -1,9 +1,7 @@ import("//llvm/utils/unittest/unittest.gni") unittest("BitstreamTests") { - deps = [ - "//llvm/lib/Bitstream/Reader", - ] + deps = [ "//llvm/lib/Bitstream/Reader" ] sources = [ "BitstreamReaderTest.cpp", "BitstreamWriterTest.cpp", diff --git a/llvm/utils/gn/secondary/llvm/unittests/Demangle/BUILD.gn b/llvm/utils/gn/secondary/llvm/unittests/Demangle/BUILD.gn index 7981d94..bfbffbb 100644 --- a/llvm/utils/gn/secondary/llvm/unittests/Demangle/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/unittests/Demangle/BUILD.gn @@ -1,9 +1,7 @@ import("//llvm/utils/unittest/unittest.gni") unittest("DemangleTests") { - deps = [ - "//llvm/lib/Demangle", - ] + deps = [ "//llvm/lib/Demangle" ] sources = [ "DemangleTest.cpp", "ItaniumDemangleTest.cpp", diff --git a/llvm/utils/gn/secondary/llvm/utils/FileCheck/BUILD.gn b/llvm/utils/gn/secondary/llvm/utils/FileCheck/BUILD.gn index 5105ace..164ed5d 100644 --- a/llvm/utils/gn/secondary/llvm/utils/FileCheck/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/utils/FileCheck/BUILD.gn @@ -1,7 +1,5 @@ executable("FileCheck") { - deps = [ - "//llvm/lib/Support", - ] + deps = [ "//llvm/lib/Support" ] sources = [ # Make `gn format` not collapse this, for sync_source_lists_from_cmake.py. "FileCheck.cpp", diff --git a/llvm/utils/gn/secondary/llvm/utils/TableGen/GlobalISel/BUILD.gn b/llvm/utils/gn/secondary/llvm/utils/TableGen/GlobalISel/BUILD.gn index ece670b1..b2d95a0 100644 --- a/llvm/utils/gn/secondary/llvm/utils/TableGen/GlobalISel/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/utils/TableGen/GlobalISel/BUILD.gn @@ -1,7 +1,5 @@ static_library("GlobalISel") { - deps = [ - "//llvm/lib/Support", - ] + deps = [ "//llvm/lib/Support" ] sources = [ "CodeExpander.cpp", "GIMatchDag.cpp", diff --git a/llvm/utils/gn/secondary/llvm/utils/TableGen/tablegen.gni b/llvm/utils/gn/secondary/llvm/utils/TableGen/tablegen.gni index 91863c02..741d3b6 100644 --- a/llvm/utils/gn/secondary/llvm/utils/TableGen/tablegen.gni +++ b/llvm/utils/gn/secondary/llvm/utils/TableGen/tablegen.gni @@ -44,17 +44,13 @@ template("tablegen") { tblgen_target += "($host_toolchain)" tblgen_executable = get_label_info(tblgen_target, "root_out_dir") + "/bin/" + get_label_info(tblgen_target, "name") - deps = [ - tblgen_target, - ] + deps = [ tblgen_target ] if (defined(invoker.td_file)) { td_file = invoker.td_file } else { td_file = "$target_name.td" } - sources = [ - td_file, - ] + sources = [ td_file ] script = "//llvm/utils/gn/build/run_tablegen.py" if (defined(invoker.output_name)) { gen_output = "$target_gen_dir/" + invoker.output_name @@ -82,9 +78,7 @@ template("tablegen") { rebase_path(gen_output, root_build_dir), td_file, ] + invoker.args - outputs = [ - gen_output, - ] + outputs = [ gen_output ] # Let targets depending on this find the generated file. public_configs = [ ":$config_name" ] diff --git a/llvm/utils/gn/secondary/llvm/utils/llvm-lit/BUILD.gn b/llvm/utils/gn/secondary/llvm/utils/llvm-lit/BUILD.gn index c3e4375..7c7198c 100644 --- a/llvm/utils/gn/secondary/llvm/utils/llvm-lit/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/utils/llvm-lit/BUILD.gn @@ -15,9 +15,7 @@ write_cmake_config("llvm-lit") { } # lit's lit/llvm/config.py shells out to llvm-config. - deps = [ - "//llvm/tools/llvm-config", - ] + deps = [ "//llvm/tools/llvm-config" ] # Generate LLVM_LIT_CONFIG_MAP parameter. # llvm-lit contains a mapping from each lit.cfg.py file to the corresponding diff --git a/llvm/utils/gn/secondary/llvm/utils/not/BUILD.gn b/llvm/utils/gn/secondary/llvm/utils/not/BUILD.gn index 016fe6b..73f1862 100644 --- a/llvm/utils/gn/secondary/llvm/utils/not/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/utils/not/BUILD.gn @@ -1,7 +1,5 @@ executable("not") { - deps = [ - "//llvm/lib/Support", - ] + deps = [ "//llvm/lib/Support" ] sources = [ # Make `gn format` not collapse this, for sync_source_lists_from_cmake.py. "not.cpp", diff --git a/llvm/utils/gn/secondary/llvm/utils/unittest/BUILD.gn b/llvm/utils/gn/secondary/llvm/utils/unittest/BUILD.gn index e462029..cc92478 100644 --- a/llvm/utils/gn/secondary/llvm/utils/unittest/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/utils/unittest/BUILD.gn @@ -23,9 +23,7 @@ config("googletest_config") { } static_library("gtest") { - deps = [ - "//llvm/lib/Support", - ] + deps = [ "//llvm/lib/Support" ] include_dirs = [ "googletest", # For including src/gtest.cc "googlemock", # For including src/gmock.cc diff --git a/llvm/utils/gn/secondary/llvm/utils/unittest/UnitTestMain/BUILD.gn b/llvm/utils/gn/secondary/llvm/utils/unittest/UnitTestMain/BUILD.gn index 0940e19..575217c 100644 --- a/llvm/utils/gn/secondary/llvm/utils/unittest/UnitTestMain/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/utils/unittest/UnitTestMain/BUILD.gn @@ -1,13 +1,9 @@ source_set("UnitTestMain") { - deps = [ - "//llvm/lib/Support", - ] + deps = [ "//llvm/lib/Support" ] # Make targets depending on this also depend on gtest, to get the gtest # include_dir. - public_deps = [ - "..:gtest", - ] + public_deps = [ "..:gtest" ] sources = [ # Make `gn format` not collapse this, for sync_source_lists_from_cmake.py. "TestMain.cpp", @@ -18,9 +14,7 @@ source_set("UnitTestMain") { # Nothing depends on this target, but llvm-config expects it to exist when # it runs with `--link-static --system-libs`, so humor it. static_library("gtest_main") { - deps = [ - ":UnitTestMain", - ] + deps = [ ":UnitTestMain" ] complete_static_lib = true testonly = true } diff --git a/llvm/utils/gn/secondary/llvm/utils/yaml-bench/BUILD.gn b/llvm/utils/gn/secondary/llvm/utils/yaml-bench/BUILD.gn index dddfc56..3cbc548 100644 --- a/llvm/utils/gn/secondary/llvm/utils/yaml-bench/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/utils/yaml-bench/BUILD.gn @@ -1,7 +1,5 @@ executable("yaml-bench") { - deps = [ - "//llvm/lib/Support", - ] + deps = [ "//llvm/lib/Support" ] sources = [ # Make `gn format` not collapse this, for sync_source_lists_from_cmake.py. "YAMLBench.cpp", -- 2.7.4