Commit 03d16d2b authored by Nico Weber's avatar Nico Weber Committed by Commit Bot

Reformat all gn files in /components/crx_file.

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

Bug: 1041419
Change-Id: I8bd35171cb1e83eb86d245fbd7c70c38547fc593
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1994513
Auto-Submit: Nico Weber <thakis@chromium.org>
Reviewed-by: default avatarBen Wells <benwells@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#731939}
parent ebc8e42b
...@@ -18,9 +18,7 @@ static_library("crx_file") { ...@@ -18,9 +18,7 @@ static_library("crx_file") {
"//crypto", "//crypto",
] ]
public_deps = [ public_deps = [ ":crx3_proto" ]
":crx3_proto",
]
} }
static_library("crx_creator") { static_library("crx_creator") {
...@@ -35,9 +33,7 @@ static_library("crx_creator") { ...@@ -35,9 +33,7 @@ static_library("crx_creator") {
"//crypto", "//crypto",
] ]
public_deps = [ public_deps = [ ":crx3_proto" ]
":crx3_proto",
]
} }
bundle_data("unit_tests_bundle_data") { bundle_data("unit_tests_bundle_data") {
...@@ -51,10 +47,8 @@ bundle_data("unit_tests_bundle_data") { ...@@ -51,10 +47,8 @@ bundle_data("unit_tests_bundle_data") {
"//components/test/data/crx_file/valid_publisher.crx3", "//components/test/data/crx_file/valid_publisher.crx3",
"//components/test/data/crx_file/valid_test_publisher.crx3", "//components/test/data/crx_file/valid_test_publisher.crx3",
] ]
outputs = [ outputs = [ "{{bundle_resources_dir}}/" +
"{{bundle_resources_dir}}/" + "{{source_root_relative_dir}}/{{source_file_part}}" ]
"{{source_root_relative_dir}}/{{source_file_part}}",
]
} }
source_set("unit_tests") { source_set("unit_tests") {
...@@ -76,7 +70,5 @@ source_set("unit_tests") { ...@@ -76,7 +70,5 @@ source_set("unit_tests") {
} }
proto_library("crx3_proto") { proto_library("crx3_proto") {
sources = [ sources = [ "crx3.proto" ]
"crx3.proto",
]
} }
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