Skip to content

Commit

Permalink
Reformat all gn files in /components/open_from_clipboard.
Browse files Browse the repository at this point in the history
`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=olivierrobin@chromium.org

Bug: 1041419
Change-Id: I4de6faee4a5121f9b57c78b52b06a554de3d562f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1998714
Auto-Submit: Nico Weber <thakis@chromium.org>
Reviewed-by: Olivier Robin <olivierrobin@chromium.org>
Commit-Queue: Olivier Robin <olivierrobin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#731330}
  • Loading branch information
nico authored and Commit Bot committed Jan 14, 2020
1 parent d23302b commit 33ff4bc
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions components/open_from_clipboard/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@ source_set("feature_flags") {
"clipboard_recent_content_features.cc",
"clipboard_recent_content_features.h",
]
deps = [
"//base",
]
deps = [ "//base" ]
}

# Helper classes used by "open_from_clipboard" target. These classes must have
Expand All @@ -46,9 +44,7 @@ source_set("open_from_clipboard_impl") {
"clipboard_recent_content_impl_ios.h",
"clipboard_recent_content_impl_ios.mm",
]
deps = [
"//base",
]
deps = [ "//base" ]
assert_no_deps = [ "//base:i18n" ]
if (is_ios) {
configs += [ "//build/config/compiler:enable_arc" ]
Expand All @@ -74,9 +70,7 @@ static_library("test_support") {

source_set("unit_tests") {
testonly = true
sources = [
"clipboard_recent_content_ios_unittest.mm",
]
sources = [ "clipboard_recent_content_ios_unittest.mm" ]

deps = [
":open_from_clipboard",
Expand Down

0 comments on commit 33ff4bc

Please sign in to comment.