Commit 168d04c4 authored by Nico Weber's avatar Nico Weber Committed by Commit Bot

Reformat all gn files in /chrome/updater.

`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=sorin@chromium.org

Bug: 1041419
Change-Id: Ic82a4501826f479afc5e84ac855350bc6d4edf7b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1997716
Auto-Submit: Nico Weber <thakis@chromium.org>
Reviewed-by: default avatarSorin Jianu <sorin@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#732513}
parent 9bce3656
......@@ -10,14 +10,10 @@ import("//testing/test.gni")
# TODO(sorin): make the code build on Linux. https://crbug.com/1014320
group("updater") {
if (is_win) {
deps = [
"//chrome/updater/win",
]
deps = [ "//chrome/updater/win" ]
}
if (is_mac) {
deps = [
"//chrome/updater/mac",
]
deps = [ "//chrome/updater/mac" ]
}
if (is_win || is_mac) {
deps += [ "//chrome/updater/tools:tools" ]
......@@ -106,9 +102,7 @@ if (is_win || is_mac) {
"//chrome/updater/win:updater_tests",
]
data_deps = [
"//chrome/updater/win:updater",
]
data_deps = [ "//chrome/updater/win:updater" ]
}
if (is_mac) {
......
......@@ -29,9 +29,7 @@ source_set("network_fetcher_sources") {
source_set("updater_tests") {
testonly = true
sources = [
"net/network_unittest.mm",
]
sources = [ "net/network_unittest.mm" ]
deps = [
":network_fetcher_sources",
......@@ -47,9 +45,7 @@ mac_app_bundle("updater_bundle") {
info_plist = "Info.plist"
output_name = "GoogleUpdate"
sources = [
"main.cc",
]
sources = [ "main.cc" ]
deps = [
":network_fetcher_sources",
":updater_setup_sources",
......@@ -79,9 +75,7 @@ source_set("updater_setup_sources") {
}
executable("updater_setup") {
sources = [
"setup/main.cc",
]
sources = [ "setup/main.cc" ]
deps = [
":updater_bundle",
......@@ -90,10 +84,6 @@ executable("updater_setup") {
}
copy("updater_install_script") {
sources = [
"setup/.install.sh",
]
outputs = [
"$root_build_dir/chrome/updater/.install.sh",
]
sources = [ "setup/.install.sh" ]
outputs = [ "$root_build_dir/chrome/updater/.install.sh" ]
}
......@@ -5,9 +5,7 @@
import("//testing/test.gni")
group("tools") {
deps = [
":certificate_tag",
]
deps = [ ":certificate_tag" ]
}
source_set("certificate_tag_lib") {
......@@ -20,15 +18,11 @@ source_set("certificate_tag_lib") {
# complete and before closing crbug.com/1031734.
cflags_cc = [ "-Wno-unused-const-variable" ]
deps = [
"//base",
]
deps = [ "//base" ]
}
executable("certificate_tag") {
sources = [
"main.cc",
]
sources = [ "main.cc" ]
deps = [
":certificate_tag_lib",
......@@ -39,9 +33,7 @@ executable("certificate_tag") {
source_set("unittest") {
testonly = true
sources = [
"certificate_tag_unittest.cc",
]
sources = [ "certificate_tag_unittest.cc" ]
deps = [
":certificate_tag_lib",
......
......@@ -7,9 +7,7 @@ import("//chrome/process_version_rc_template.gni")
import("//testing/test.gni")
midl("updater_idl_idl") {
sources = [
"com/updater_idl.idl",
]
sources = [ "com/updater_idl.idl" ]
writes_tlb = true
}
......@@ -55,18 +53,12 @@ executable("updater") {
}
copy("uninstall.cmd") {
sources = [
"setup/uninstall.cmd",
]
outputs = [
"$target_gen_dir/uninstall.cmd",
]
sources = [ "setup/uninstall.cmd" ]
outputs = [ "$target_gen_dir/uninstall.cmd" ]
}
process_version_rc_template("version_resources") {
sources = [
"updater.ver",
]
sources = [ "updater.ver" ]
output = "$target_gen_dir/updater_exe.rc"
}
......@@ -151,9 +143,7 @@ source_set("install_progress_observer") {
"install_progress_observer.h",
]
deps = [
"//base",
]
deps = [ "//base" ]
}
# This build target is defined to minimize the impact of -Wno-missing-braces
......
......@@ -41,9 +41,7 @@ process_version_rc_template("version") {
updater_runtime_deps = "$root_gen_dir/updater.runtime_deps"
group("updater_runtime_deps") {
write_runtime_deps = updater_runtime_deps
data_deps = [
"//chrome/updater/win:updater",
]
data_deps = [ "//chrome/updater/win:updater" ]
}
template("generate_installer") {
......@@ -57,9 +55,7 @@ template("generate_installer") {
release_file = "updater.release"
inputs = [
release_file,
]
inputs = [ release_file ]
outputs = [
"$output_dir/updater.packed.7z",
......@@ -135,9 +131,7 @@ test("installer_unittest") {
"string_unittest.cc",
]
public_deps = [
":lib",
]
public_deps = [ ":lib" ]
deps = [
"//base",
"//base/test:test_support",
......
......@@ -39,9 +39,7 @@ source_set("test_executables") {
"test_executables.h",
]
data_deps = [
":updater_test_process",
]
data_deps = [ ":updater_test_process" ]
deps = [
":test_common",
......@@ -54,9 +52,7 @@ source_set("test_executables") {
executable("updater_test_process") {
testonly = true
sources = [
"test_process_main.cc",
]
sources = [ "test_process_main.cc" ]
deps = [
":test_common",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment