Commit bcaa2760 authored by Nico Weber's avatar Nico Weber Committed by Commit Bot

Reformat all gn files in /ui/gl.

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

Bug: 1041419
Change-Id: I38a8a73da2d421506d7cbeab034ed83850d602f3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1998513
Auto-Submit: Nico Weber <thakis@chromium.org>
Reviewed-by: default avatarEric Karl <ericrk@chromium.org>
Commit-Queue: Eric Karl <ericrk@chromium.org>
Cr-Commit-Position: refs/heads/master@{#731683}
parent dcba3772
......@@ -410,9 +410,7 @@ if (is_mac && use_egl) {
"$root_out_dir/libEGL.dylib",
"$root_out_dir/libGLESv2.dylib",
]
outputs = [
"$root_out_dir/egl_intermediates/{{source_file_part}}",
]
outputs = [ "$root_out_dir/egl_intermediates/{{source_file_part}}" ]
deps = [
"//third_party/angle:libEGL",
"//third_party/angle:libGLESv2",
......@@ -425,9 +423,7 @@ if (is_mac && use_egl) {
"$root_out_dir/libswiftshader_libEGL.dylib",
"$root_out_dir/libswiftshader_libGLESv2.dylib",
]
outputs = [
"$root_out_dir/egl_intermediates/{{source_file_part}}",
]
outputs = [ "$root_out_dir/egl_intermediates/{{source_file_part}}" ]
deps = [
"//third_party/swiftshader/src/OpenGL/libEGL:swiftshader_libEGL",
"//third_party/swiftshader/src/OpenGL/libGLESv2:swiftshader_libGLESv2",
......@@ -504,17 +500,11 @@ jumbo_static_library("test_support") {
source_set("run_all_unittests") {
testonly = true
sources = [
"test/run_all_unittests.cc",
]
sources = [ "test/run_all_unittests.cc" ]
deps = [
"//base",
]
deps = [ "//base" ]
public_deps = [
"//base/test:test_support",
]
public_deps = [ "//base/test:test_support" ]
if (use_ozone) {
deps += [
......@@ -591,9 +581,7 @@ test("gl_unittests") {
"//ui/platform_window:platform_impls",
]
data_deps = [
"//third_party/mesa_headers",
]
data_deps = [ "//third_party/mesa_headers" ]
if (use_x11) {
sources += [ "gl_context_glx_unittest.cc" ]
......@@ -605,9 +593,7 @@ test("gl_unittests") {
# We can't run this test on real Chrome OS hardware for Ozone, so new target.
group("gl_unittests_ozone") {
testonly = true
data_deps = [
":gl_unittests",
]
data_deps = [ ":gl_unittests" ]
}
if (is_android) {
......@@ -621,8 +607,6 @@ if (is_android) {
"../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java",
"../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java",
]
public_deps = [
":surface_jni_headers",
]
public_deps = [ ":surface_jni_headers" ]
}
}
......@@ -30,9 +30,7 @@ jumbo_component("init") {
"//ui/gl:buildflags",
]
public_deps = [
"//ui/gl",
]
public_deps = [ "//ui/gl" ]
if (is_android) {
sources += [
......
......@@ -5,21 +5,13 @@
import("//mojo/public/tools/bindings/mojom.gni")
mojom("mojom") {
sources = [
"gpu_preference.mojom",
]
sources = [ "gpu_preference.mojom" ]
public_deps = [
"//mojo/public/mojom/base",
]
public_deps = [ "//mojo/public/mojom/base" ]
}
mojom("test_interfaces") {
sources = [
"traits_test_service.mojom",
]
sources = [ "traits_test_service.mojom" ]
public_deps = [
":mojom",
]
public_deps = [ ":mojom" ]
}
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