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

Reformat all gn files in /media/cast.

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

Bug: 1041419
Change-Id: I286d8d48c666171a21289b458825eae8fd61a482
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1997790
Auto-Submit: Nico Weber <thakis@chromium.org>
Reviewed-by: default avatarYuri Wiitala <miu@chromium.org>
Commit-Queue: Yuri Wiitala <miu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#731824}
parent d432e7b7
...@@ -10,9 +10,7 @@ import("//testing/test.gni") ...@@ -10,9 +10,7 @@ import("//testing/test.gni")
import("//third_party/protobuf/proto_library.gni") import("//third_party/protobuf/proto_library.gni")
proto_library("logging_proto") { proto_library("logging_proto") {
sources = [ sources = [ "logging/proto/raw_events.proto" ]
"logging/proto/raw_events.proto",
]
} }
# Common code shared by all cast components. # Common code shared by all cast components.
...@@ -120,9 +118,7 @@ jumbo_source_set("net") { ...@@ -120,9 +118,7 @@ jumbo_source_set("net") {
"//net", "//net",
] ]
public_deps = [ public_deps = [ ":common" ]
":common",
]
} }
jumbo_source_set("sender") { jumbo_source_set("sender") {
...@@ -391,9 +387,7 @@ if (is_win || is_mac || (is_linux && !is_chromeos)) { ...@@ -391,9 +387,7 @@ if (is_win || is_mac || (is_linux && !is_chromeos)) {
test("cast_benchmarks") { test("cast_benchmarks") {
testonly = true testonly = true
sources = [ sources = [ "test/cast_benchmarks.cc" ]
"test/cast_benchmarks.cc",
]
deps = [ deps = [
":common", ":common",
":net", ":net",
...@@ -411,9 +405,7 @@ if (is_win || is_mac || (is_linux && !is_chromeos)) { ...@@ -411,9 +405,7 @@ if (is_win || is_mac || (is_linux && !is_chromeos)) {
executable("cast_receiver_app") { executable("cast_receiver_app") {
testonly = true testonly = true
sources = [ sources = [ "test/receiver.cc" ]
"test/receiver.cc",
]
deps = [ deps = [
":common", ":common",
":net", ":net",
...@@ -441,9 +433,7 @@ if (is_win || is_mac || (is_linux && !is_chromeos)) { ...@@ -441,9 +433,7 @@ if (is_win || is_mac || (is_linux && !is_chromeos)) {
executable("cast_sender_app") { executable("cast_sender_app") {
testonly = true testonly = true
sources = [ sources = [ "test/sender.cc" ]
"test/sender.cc",
]
deps = [ deps = [
":common", ":common",
":net", ":net",
...@@ -457,16 +447,12 @@ if (is_win || is_mac || (is_linux && !is_chromeos)) { ...@@ -457,16 +447,12 @@ if (is_win || is_mac || (is_linux && !is_chromeos)) {
proto_library("network_simulation_model_proto") { proto_library("network_simulation_model_proto") {
visibility = [ ":cast_simulator" ] visibility = [ ":cast_simulator" ]
sources = [ sources = [ "test/proto/network_simulation_model.proto" ]
"test/proto/network_simulation_model.proto",
]
} }
executable("cast_simulator") { executable("cast_simulator") {
testonly = true testonly = true
sources = [ sources = [ "test/simulator.cc" ]
"test/simulator.cc",
]
deps = [ deps = [
":common", ":common",
":net", ":net",
...@@ -483,9 +469,7 @@ if (is_win || is_mac || (is_linux && !is_chromeos)) { ...@@ -483,9 +469,7 @@ if (is_win || is_mac || (is_linux && !is_chromeos)) {
executable("generate_barcode_video") { executable("generate_barcode_video") {
testonly = true testonly = true
sources = [ sources = [ "test/utility/generate_barcode_video.cc" ]
"test/utility/generate_barcode_video.cc",
]
deps = [ deps = [
":test_support", ":test_support",
"//base", "//base",
...@@ -496,9 +480,7 @@ if (is_win || is_mac || (is_linux && !is_chromeos)) { ...@@ -496,9 +480,7 @@ if (is_win || is_mac || (is_linux && !is_chromeos)) {
executable("generate_timecode_audio") { executable("generate_timecode_audio") {
testonly = true testonly = true
sources = [ sources = [ "test/utility/generate_timecode_audio.cc" ]
"test/utility/generate_timecode_audio.cc",
]
deps = [ deps = [
":test_support", ":test_support",
"//base", "//base",
...@@ -509,9 +491,7 @@ if (is_win || is_mac || (is_linux && !is_chromeos)) { ...@@ -509,9 +491,7 @@ if (is_win || is_mac || (is_linux && !is_chromeos)) {
executable("udp_proxy") { executable("udp_proxy") {
testonly = true testonly = true
sources = [ sources = [ "test/utility/udp_proxy_main.cc" ]
"test/utility/udp_proxy_main.cc",
]
deps = [ deps = [
":test_support", ":test_support",
"//base", "//base",
...@@ -527,9 +507,7 @@ if (is_win || is_mac || (is_linux && !is_chromeos)) { ...@@ -527,9 +507,7 @@ if (is_win || is_mac || (is_linux && !is_chromeos)) {
if (is_linux && !is_chromeos) { if (is_linux && !is_chromeos) {
test("tap_proxy") { test("tap_proxy") {
sources = [ sources = [ "test/utility/tap_proxy.cc" ]
"test/utility/tap_proxy.cc",
]
deps = [ deps = [
":test_support", ":test_support",
...@@ -548,15 +526,11 @@ if (is_linux && !is_chromeos) { ...@@ -548,15 +526,11 @@ if (is_linux && !is_chromeos) {
static_library("cast_sender") { static_library("cast_sender") {
complete_static_lib = true complete_static_lib = true
configs -= [ "//build/config/compiler:thin_archive" ] configs -= [ "//build/config/compiler:thin_archive" ]
deps = [ deps = [ ":sender" ]
":sender",
]
} }
static_library("cast_receiver") { static_library("cast_receiver") {
complete_static_lib = true complete_static_lib = true
configs -= [ "//build/config/compiler:thin_archive" ] configs -= [ "//build/config/compiler:thin_archive" ]
deps = [ deps = [ ":receiver" ]
":receiver",
]
} }
...@@ -5,15 +5,11 @@ ...@@ -5,15 +5,11 @@
import("//third_party/protobuf/proto_library.gni") import("//third_party/protobuf/proto_library.gni")
source_set("proto") { source_set("proto") {
public_deps = [ public_deps = [ ":cast_network_simulation_proto" ]
":cast_network_simulation_proto",
]
public_configs = [ "//third_party/protobuf:protobuf_config" ] public_configs = [ "//third_party/protobuf:protobuf_config" ]
} }
proto_library("cast_network_simulation_proto") { proto_library("cast_network_simulation_proto") {
visibility = [ ":proto" ] visibility = [ ":proto" ]
sources = [ sources = [ "network_simulation_model.proto" ]
"network_simulation_model.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