Commit 75b747a4 authored by Nico Weber's avatar Nico Weber Committed by Commit Bot

Reformat all gn files in /ui/views.

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

Bug: 1041419
Change-Id: I2bffb2735322f74e3b6349a0ec5b597e80191d6e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1997796
Auto-Submit: Nico Weber <thakis@chromium.org>
Reviewed-by: default avatarPeter Kasting <pkasting@chromium.org>
Commit-Queue: Peter Kasting <pkasting@chromium.org>
Cr-Commit-Position: refs/heads/master@{#730958}
parent 37cbcac1
...@@ -111,9 +111,7 @@ jumbo_component("views_examples_lib") { ...@@ -111,9 +111,7 @@ jumbo_component("views_examples_lib") {
executable("views_examples_exe") { executable("views_examples_exe") {
testonly = true testonly = true
sources = [ sources = [ "examples_main.cc" ]
"examples_main.cc",
]
deps = [ deps = [
":views_examples_lib", ":views_examples_lib",
...@@ -174,9 +172,7 @@ jumbo_component("views_examples_with_content_lib") { ...@@ -174,9 +172,7 @@ jumbo_component("views_examples_with_content_lib") {
executable("views_examples_with_content_exe") { executable("views_examples_with_content_exe") {
testonly = true testonly = true
sources = [ sources = [ "examples_with_content_main_exe.cc" ]
"examples_with_content_main_exe.cc",
]
defines = [ "VIEWS_EXAMPLES_WITH_CONTENT_IMPLEMENTATION" ] defines = [ "VIEWS_EXAMPLES_WITH_CONTENT_IMPLEMENTATION" ]
...@@ -198,13 +194,7 @@ executable("views_examples_with_content_exe") { ...@@ -198,13 +194,7 @@ executable("views_examples_with_content_exe") {
} }
copy("copy_content_resources") { copy("copy_content_resources") {
deps = [ deps = [ "//content:resources" ]
"//content:resources", sources = [ "$root_gen_dir/content/content_resources.pak" ]
] outputs = [ "$root_out_dir/content_resources.pak" ]
sources = [
"$root_gen_dir/content/content_resources.pak",
]
outputs = [
"$root_out_dir/content_resources.pak",
]
} }
...@@ -6,9 +6,7 @@ import("//tools/grit/grit_rule.gni") ...@@ -6,9 +6,7 @@ import("//tools/grit/grit_rule.gni")
import("//tools/grit/repack.gni") import("//tools/grit/repack.gni")
group("resources") { group("resources") {
public_deps = [ public_deps = [ ":resources_grd" ]
":resources_grd",
]
} }
grit("resources_grd") { grit("resources_grd") {
......
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