Commit d77e027c authored by Nico Weber's avatar Nico Weber Committed by Commit Bot

Reformat all gn files in /components.

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

Bug: 1041419
Change-Id: I3d2049d684bba4a4a5bb99837af05479793564b9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1997704
Auto-Submit: Nico Weber <thakis@chromium.org>
Reviewed-by: default avatarJochen Eisinger <jochen@chromium.org>
Commit-Queue: Jochen Eisinger <jochen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#732483}
parent 1f0b7c2a
......@@ -19,9 +19,7 @@ group("resources") {
grit("components_resources") {
source = "components_resources.grd"
inputs = [
about_credits_file,
]
inputs = [ about_credits_file ]
outputs = [
"grit/components_resources.h",
......@@ -40,9 +38,7 @@ grit("components_resources") {
"enable_print_preview=$enable_print_preview",
]
deps = [
":about_credits",
]
deps = [ ":about_credits" ]
}
grit("dev_ui_components_resources") {
......@@ -78,9 +74,7 @@ action("about_credits") {
"../about_ui/resources/about_credits_entry.tmpl",
]
outputs = [
about_credits_file,
]
outputs = [ about_credits_file ]
args = [
"--target-os=$target_os",
......
......@@ -32,9 +32,7 @@ grit("components_strings") {
"enable_print_preview=$enable_print_preview",
]
outputs = [
"grit/components_strings.h",
]
outputs = [ "grit/components_strings.h" ]
foreach(locale, locales_with_fake_bidi) {
outputs += [ "components_strings_$locale.pak" ]
}
......@@ -49,17 +47,13 @@ if (is_android) {
grit_output_dir = "$root_gen_dir/components/strings/java/res"
generated_files =
rebase_path(android_components_strings_java_resources, "java/res", ".")
deps = [
":components_strings",
]
deps = [ ":components_strings" ]
}
}
grit("components_chromium_strings") {
source = "../components_chromium_strings.grd"
outputs = [
"grit/components_chromium_strings.h",
]
outputs = [ "grit/components_chromium_strings.h" ]
foreach(locale, locales_with_fake_bidi) {
outputs += [ "components_chromium_strings_$locale.pak" ]
}
......@@ -67,9 +61,7 @@ grit("components_chromium_strings") {
grit("components_google_chrome_strings") {
source = "../components_google_chrome_strings.grd"
outputs = [
"grit/components_google_chrome_strings.h",
]
outputs = [ "grit/components_google_chrome_strings.h" ]
foreach(locale, locales_with_fake_bidi) {
outputs += [ "components_google_chrome_strings_$locale.pak" ]
}
......@@ -85,9 +77,7 @@ if (is_android) {
grit("components_locale_settings") {
source = "../components_locale_settings.grd"
outputs = [
"grit/components_locale_settings.h",
]
outputs = [ "grit/components_locale_settings.h" ]
foreach(locale, locales_with_fake_bidi) {
outputs += [ "components_locale_settings_$locale.pak" ]
}
......@@ -104,8 +94,6 @@ if (is_android) {
rebase_path(android_components_locale_settings_java_resources,
"java/res",
".")
deps = [
":components_locale_settings",
]
deps = [ ":components_locale_settings" ]
}
}
......@@ -23,9 +23,7 @@ source_set("test_support") {
"//ui/resources:ui_test_pak",
]
public_deps = [
"//base/test:test_support",
]
public_deps = [ "//base/test:test_support" ]
if (is_ios) {
sources += [
......@@ -49,11 +47,7 @@ source_set("test_support") {
source_set("run_all_unittests") {
testonly = true
sources = [
"run_all_unittests.cc",
]
sources = [ "run_all_unittests.cc" ]
deps = [
":test_support",
]
deps = [ ":test_support" ]
}
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