0

Reformat all gn files in /courgette.

`gn format` recently changed its formatting behavior
for deps, source, and a few other elements when they
are assigned (with =) single-element lists to be consistent
with the formatting of updates (with +=) with single-element.

Now that we've rolled in a GN binary with the change,
reformat all files so that people don't get presubmit
warnings due to this.

This CL was uploaded by git cl split.

R=wfh@chromium.org

Bug: 1041419
Change-Id: I206e7e4c8e89f16b2349ed1cd361a63524e688a3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1996999
Auto-Submit: Nico Weber <thakis@chromium.org>
Reviewed-by: Will Harris <wfh@chromium.org>
Commit-Queue: Will Harris <wfh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#730753}
This commit is contained in:
Nico Weber
2020-01-13 20:02:26 +00:00
committed by Commit Bot
parent 0792dc5faa
commit dd348636f6

@ -84,12 +84,8 @@ source_set("courgette_common") {
}
source_set("paged_array") {
sources = [
"third_party/bsdiff/paged_array.h",
]
deps = [
"//base",
]
sources = [ "third_party/bsdiff/paged_array.h" ]
deps = [ "//base" ]
}
source_set("bsdiff") {
@ -132,9 +128,7 @@ if (!is_ios) {
output_name = "courgette64"
}
sources = [
"courgette_tool.cc",
]
sources = [ "courgette_tool.cc" ]
if (is_win) {
ldflags = [ "/LARGEADDRESSAWARE" ]
@ -148,9 +142,7 @@ if (!is_ios) {
}
executable("courgette_minimal_tool") {
sources = [
"courgette_minimal_tool.cc",
]
sources = [ "courgette_minimal_tool.cc" ]
deps = [
":courgette_lib",
@ -165,15 +157,9 @@ if (!is_ios) {
# in the official build archives, remove this once they have been updated.
# https://crbug.com/629243
copy("copy_courgette_binaries") {
sources = [
"$root_out_dir/courgette64.exe",
]
outputs = [
"$root_out_dir/courgette.exe",
]
deps = [
":courgette",
]
sources = [ "$root_out_dir/courgette64.exe" ]
outputs = [ "$root_out_dir/courgette.exe" ]
deps = [ ":courgette" ]
}
} else {
# Make sure that we have a copy of courgette64.exe(.pdb) in the root out
@ -190,28 +176,16 @@ if (!is_ios) {
if (symbol_level > 0) {
copy("copy_courgette_pdb") {
visibility = [ ":copy_courgette_binaries" ]
sources = [
"$courgette64_out_dir/courgette64.exe.pdb",
]
outputs = [
"$root_out_dir/{{source_file_part}}",
]
deps = [
courgette64_label,
]
sources = [ "$courgette64_out_dir/courgette64.exe.pdb" ]
outputs = [ "$root_out_dir/{{source_file_part}}" ]
deps = [ courgette64_label ]
}
}
copy("copy_courgette_binaries") {
sources = [
"$courgette64_out_dir/courgette64.exe",
]
outputs = [
"$root_out_dir/{{source_file_part}}",
]
deps = [
courgette64_label,
]
sources = [ "$courgette64_out_dir/courgette64.exe" ]
outputs = [ "$root_out_dir/{{source_file_part}}" ]
deps = [ courgette64_label ]
if (symbol_level > 0) {
deps += [ ":copy_courgette_pdb" ]
}
@ -259,9 +233,7 @@ test("courgette_unittests") {
"//testing/gtest",
]
data = [
"testdata/",
]
data = [ "testdata/" ]
}
test("courgette_fuzz") {