Commit 38b72ab4 authored by Nico Weber's avatar Nico Weber Committed by Commit Bot

Reformat all gn files in /gpu/config.

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

Bug: 1041419
Change-Id: I14c49a96e42dabd429da802c1538e13d5a4850b1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1998620
Auto-Submit: Nico Weber <thakis@chromium.org>
Reviewed-by: default avatarKenneth Russell <kbr@chromium.org>
Commit-Queue: Kenneth Russell <kbr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#730968}
parent 60d8d585
...@@ -10,13 +10,9 @@ import("//gpu/vulkan/features.gni") ...@@ -10,13 +10,9 @@ import("//gpu/vulkan/features.gni")
group("config") { group("config") {
if (is_component_build) { if (is_component_build) {
public_deps = [ public_deps = [ "//gpu" ]
"//gpu",
]
} else { } else {
public_deps = [ public_deps = [ ":config_sources" ]
":config_sources",
]
} }
} }
...@@ -63,9 +59,7 @@ action("process_json") { ...@@ -63,9 +59,7 @@ action("process_json") {
args += [ "linux" ] args += [ "linux" ]
} }
public_deps = [ public_deps = [ ":workaround_list" ]
":workaround_list",
]
} }
action("workaround_list") { action("workaround_list") {
...@@ -77,9 +71,7 @@ action("workaround_list") { ...@@ -77,9 +71,7 @@ action("workaround_list") {
skia_workaround_list, skia_workaround_list,
] ]
outputs = [ outputs = [ "$target_gen_dir/gpu_driver_bug_workaround_autogen.h" ]
"$target_gen_dir/gpu_driver_bug_workaround_autogen.h",
]
args = [ args = [
"--output-file", "--output-file",
...@@ -99,9 +91,7 @@ if (enable_vulkan) { ...@@ -99,9 +91,7 @@ if (enable_vulkan) {
configs += [ "//gpu:gpu_implementation" ] configs += [ "//gpu:gpu_implementation" ]
deps = [ deps = [ "//gpu/ipc/common:vulkan_interface" ]
"//gpu/ipc/common:vulkan_interface",
]
all_dependent_configs = [ "//third_party/vulkan:vulkan_config" ] all_dependent_configs = [ "//third_party/vulkan:vulkan_config" ]
...@@ -176,9 +166,7 @@ jumbo_source_set("config_sources") { ...@@ -176,9 +166,7 @@ jumbo_source_set("config_sources") {
configs += [ "//gpu:gpu_implementation" ] configs += [ "//gpu:gpu_implementation" ]
public_deps = [ public_deps = [ "//components/crash/core/common:crash_key" ]
"//components/crash/core/common:crash_key",
]
if (enable_vulkan) { if (enable_vulkan) {
public_deps += [ ":vulkan_info" ] public_deps += [ ":vulkan_info" ]
......
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