Commit 102095cc authored by Nico Weber's avatar Nico Weber Committed by Commit Bot

Reformat all gn files in /third_party/blink/public.

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

Bug: 1041419
Change-Id: I45a68dce550384b6788c1d666d39d7dfbd94fb08
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1998858
Auto-Submit: Nico Weber <thakis@chromium.org>
Reviewed-by: default avatarJeremy Roman <jbroman@chromium.org>
Commit-Queue: Jeremy Roman <jbroman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#732443}
parent 3cb0b82f
...@@ -203,8 +203,6 @@ source_set("headers") { ...@@ -203,8 +203,6 @@ source_set("headers") {
if (is_android || is_win) { if (is_android || is_win) {
proto_library("font_unique_name_table_proto") { proto_library("font_unique_name_table_proto") {
sources = [ sources = [ "font_unique_name_lookup/font_unique_name_table.proto" ]
"font_unique_name_lookup/font_unique_name_table.proto",
]
} }
} }
...@@ -341,9 +341,7 @@ mojom("mojom_core") { ...@@ -341,9 +341,7 @@ mojom("mojom_core") {
# to a type in renderer/modules. This also means these interfaces are not # to a type in renderer/modules. This also means these interfaces are not
# available from renderer/platform or renderer/core. # available from renderer/platform or renderer/core.
mojom("mojom_modules") { mojom("mojom_modules") {
sources = [ sources = [ "indexeddb/indexeddb.mojom" ]
"indexeddb/indexeddb.mojom",
]
public_deps = [ public_deps = [
":android_mojo_bindings", ":android_mojo_bindings",
...@@ -380,13 +378,9 @@ mojom("web_bluetooth_mojo_bindings") { ...@@ -380,13 +378,9 @@ mojom("web_bluetooth_mojo_bindings") {
"//third_party/blink/renderer/platform:blink_platform_public_deps", "//third_party/blink/renderer/platform:blink_platform_public_deps",
] ]
sources = [ sources = [ "bluetooth/web_bluetooth.mojom" ]
"bluetooth/web_bluetooth.mojom",
]
public_deps = [ public_deps = [ "//device/bluetooth/public/mojom" ]
"//device/bluetooth/public/mojom",
]
# The chromium variant must be linked with content and use the same export # The chromium variant must be linked with content and use the same export
# settings in component build because of the WebBluetoothDeviceId typemap # settings in component build because of the WebBluetoothDeviceId typemap
...@@ -407,9 +401,7 @@ mojom("web_bluetooth_mojo_bindings") { ...@@ -407,9 +401,7 @@ mojom("web_bluetooth_mojo_bindings") {
mojom("mojom_broadcastchannel_bindings") { mojom("mojom_broadcastchannel_bindings") {
visibility = [ "//content/*" ] visibility = [ "//content/*" ]
visibility_blink = [ "//third_party/blink/renderer/core/*" ] visibility_blink = [ "//third_party/blink/renderer/core/*" ]
sources = [ sources = [ "broadcastchannel/broadcast_channel.mojom" ]
"broadcastchannel/broadcast_channel.mojom",
]
public_deps = [ public_deps = [
":mojom_core", ":mojom_core",
"//url/mojom:url_mojom_origin", "//url/mojom:url_mojom_origin",
...@@ -434,9 +426,7 @@ mojom("mojom_broadcastchannel_bindings") { ...@@ -434,9 +426,7 @@ mojom("mojom_broadcastchannel_bindings") {
mojom("mojom_mhtml_load_result") { mojom("mojom_mhtml_load_result") {
generate_java = true generate_java = true
sources = [ sources = [ "loader/mhtml_load_result.mojom" ]
"loader/mhtml_load_result.mojom",
]
export_class_attribute = "BLINK_COMMON_EXPORT" export_class_attribute = "BLINK_COMMON_EXPORT"
export_define = "BLINK_COMMON_IMPLEMENTATION=1" export_define = "BLINK_COMMON_IMPLEMENTATION=1"
...@@ -462,9 +452,7 @@ mojom_component("web_feature_mojo_bindings") { ...@@ -462,9 +452,7 @@ mojom_component("web_feature_mojo_bindings") {
# content dependencies. # content dependencies.
mojom("web_client_hints_types_mojo_bindings") { mojom("web_client_hints_types_mojo_bindings") {
generate_java = true generate_java = true
sources = [ sources = [ "web_client_hints/web_client_hints_types.mojom" ]
"web_client_hints/web_client_hints_types.mojom",
]
} }
# The embedded_frame_sink_mojo_bindings is separated from the rest of mojom # The embedded_frame_sink_mojo_bindings is separated from the rest of mojom
...@@ -473,12 +461,8 @@ mojom("web_client_hints_types_mojo_bindings") { ...@@ -473,12 +461,8 @@ mojom("web_client_hints_types_mojo_bindings") {
mojom("embedded_frame_sink_mojo_bindings") { mojom("embedded_frame_sink_mojo_bindings") {
visibility = [ "//content/*" ] visibility = [ "//content/*" ]
visibility_blink = [ "//third_party/blink/renderer/platform" ] visibility_blink = [ "//third_party/blink/renderer/platform" ]
sources = [ sources = [ "frame_sinks/embedded_frame_sink.mojom" ]
"frame_sinks/embedded_frame_sink.mojom", deps = [ "//services/viz/public/mojom" ]
]
deps = [
"//services/viz/public/mojom",
]
component_output_prefix = "blink_embedded_frame_sink_mojo_bindings" component_output_prefix = "blink_embedded_frame_sink_mojo_bindings"
...@@ -495,9 +479,7 @@ mojom("embedded_frame_sink_mojo_bindings") { ...@@ -495,9 +479,7 @@ mojom("embedded_frame_sink_mojo_bindings") {
# This is a separate target because it needs unscrambled message IDs. # This is a separate target because it needs unscrambled message IDs.
mojom("authenticator_test_mojo_bindings") { mojom("authenticator_test_mojo_bindings") {
generate_java = true generate_java = true
sources = [ sources = [ "webauthn/virtual_authenticator.mojom" ]
"webauthn/virtual_authenticator.mojom",
]
public_deps = [ public_deps = [
":android_mojo_bindings", ":android_mojo_bindings",
......
...@@ -11,9 +11,7 @@ mojom("usb") { ...@@ -11,9 +11,7 @@ mojom("usb") {
# target in the parent directory. But as we need |scramble_message_ids| to # target in the parent directory. But as we need |scramble_message_ids| to
# be "false" for its mojom JS file will be used in external WPT tests. # be "false" for its mojom JS file will be used in external WPT tests.
# To limit this option's influence scope, we make it a separate target. # To limit this option's influence scope, we make it a separate target.
sources = [ sources = [ "web_usb_service.mojom" ]
"web_usb_service.mojom",
]
deps = [ deps = [
"//mojo/public/mojom/base", "//mojo/public/mojom/base",
......
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