Skip to content

Commit

Permalink
Reformat all gn files in /rlz.
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=rogerta@chromium.org

Bug: 1041419
Change-Id: I547929714aea77a1451a2b54591464aee29cd215
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1998052
Auto-Submit: Nico Weber <thakis@chromium.org>
Reviewed-by: Roger Tawa <rogerta@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#730860}
  • Loading branch information
nico authored and Commit Bot committed Jan 13, 2020
1 parent b036801 commit bfd8bf5
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions rlz/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,9 @@ source_set("rlz_utils") {
"lib/string_utils.h",
]

public_deps = [
"//base",
]
public_deps = [ "//base" ]

deps = [
"//third_party/zlib",
]
deps = [ "//third_party/zlib" ]
}

if (!is_android) {
Expand Down Expand Up @@ -159,9 +155,7 @@ if (!is_android) {
"//base/test:test_support",
"//testing/gtest",
]
deps = [
":rlz_lib",
]
deps = [ ":rlz_lib" ]
if (is_chromeos) {
public_deps += [ "//chromeos/system" ]
}
Expand Down Expand Up @@ -206,9 +200,7 @@ if (!is_android) {

if (!is_ios && !is_android) {
executable("rlz_id") {
sources = [
"examples/rlz_id.cc",
]
sources = [ "examples/rlz_id.cc" ]
deps = [
":rlz_lib",
"//build/win:default_exe_manifest",
Expand Down

0 comments on commit bfd8bf5

Please sign in to comment.