Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(441)

Side by Side Diff: media/cast/BUILD.gn

Issue 2462863002: Fix direct dependencies in //media/cast/BUILD.gn. (Closed)
Patch Set: Depend on //media rather than //media/base, etc Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | media/cast/cast_config.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/android/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 import("//testing/test.gni") 8 import("//testing/test.gni")
9 import("//third_party/protobuf/proto_library.gni") 9 import("//third_party/protobuf/proto_library.gni")
10 10
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 "net/rtp/rtp_parser.cc", 99 "net/rtp/rtp_parser.cc",
100 "net/rtp/rtp_parser.h", 100 "net/rtp/rtp_parser.h",
101 "net/rtp/rtp_sender.cc", 101 "net/rtp/rtp_sender.cc",
102 "net/rtp/rtp_sender.h", 102 "net/rtp/rtp_sender.h",
103 "net/udp_transport.cc", 103 "net/udp_transport.cc",
104 "net/udp_transport.h", 104 "net/udp_transport.h",
105 ] 105 ]
106 106
107 deps = [ 107 deps = [
108 ":common", 108 ":common",
109 "//base",
110 "//net",
109 ] 111 ]
110 112
111 public_deps = [ 113 public_deps = [
112 ":common", 114 ":common",
113 ] 115 ]
114 } 116 }
115 117
116 source_set("sender") { 118 source_set("sender") {
117 sources = [ 119 sources = [
118 "cast_sender.h", 120 "cast_sender.h",
(...skipping 27 matching lines...) Expand all
146 "sender/video_sender.h", 148 "sender/video_sender.h",
147 "sender/vp8_encoder.cc", 149 "sender/vp8_encoder.cc",
148 "sender/vp8_encoder.h", 150 "sender/vp8_encoder.h",
149 "sender/vp8_quantizer_parser.cc", 151 "sender/vp8_quantizer_parser.cc",
150 "sender/vp8_quantizer_parser.h", 152 "sender/vp8_quantizer_parser.h",
151 ] 153 ]
152 154
153 deps = [ 155 deps = [
154 ":common", 156 ":common",
155 ":net", 157 ":net",
158 "//base",
156 "//media", 159 "//media",
157 "//media:media_features", 160 "//media:media_features",
158 "//media:shared_memory_support", 161 "//media:shared_memory_support",
159 "//third_party/libvpx", 162 "//third_party/libvpx",
160 "//third_party/opus", 163 "//third_party/opus",
161 "//ui/gfx/geometry", 164 "//ui/gfx/geometry",
162 ] 165 ]
163 166
164 libs = [] 167 libs = []
165 168
(...skipping 28 matching lines...) Expand all
194 "receiver/cast_receiver_impl.h", 197 "receiver/cast_receiver_impl.h",
195 "receiver/frame_receiver.cc", 198 "receiver/frame_receiver.cc",
196 "receiver/frame_receiver.h", 199 "receiver/frame_receiver.h",
197 "receiver/video_decoder.cc", 200 "receiver/video_decoder.cc",
198 "receiver/video_decoder.h", 201 "receiver/video_decoder.h",
199 ] 202 ]
200 203
201 deps = [ 204 deps = [
202 ":common", 205 ":common",
203 ":net", 206 ":net",
207 "//base",
204 "//media", 208 "//media",
205 "//media:shared_memory_support", 209 "//media:shared_memory_support",
206 "//third_party/libvpx", 210 "//third_party/libvpx",
207 "//third_party/libyuv", 211 "//third_party/libyuv",
208 "//third_party/opus", 212 "//third_party/opus",
209 "//ui/gfx/geometry", 213 "//ui/gfx/geometry",
210 ] 214 ]
211 } 215 }
212 216
213 static_library("test_support") { 217 static_library("test_support") {
(...skipping 25 matching lines...) Expand all
239 "test/utility/test_util.h", 243 "test/utility/test_util.h",
240 "test/utility/udp_proxy.cc", 244 "test/utility/udp_proxy.cc",
241 "test/utility/udp_proxy.h", 245 "test/utility/udp_proxy.h",
242 "test/utility/video_utility.cc", 246 "test/utility/video_utility.cc",
243 "test/utility/video_utility.h", 247 "test/utility/video_utility.h",
244 ] 248 ]
245 249
246 deps = [ 250 deps = [
247 ":net", 251 ":net",
248 ":receiver", 252 ":receiver",
253 ":sender",
249 "//base/test:test_support", 254 "//base/test:test_support",
250 "//media:test_support", 255 "//media:test_support",
251 "//media/base:test_support", 256 "//media/base:test_support",
257 "//net",
252 "//testing/gtest", 258 "//testing/gtest",
253 "//third_party/libyuv", 259 "//third_party/libyuv",
254 "//third_party/mt19937ar", 260 "//third_party/mt19937ar",
255 "//ui/gfx:test_support", 261 "//ui/gfx:test_support",
256 ] 262 ]
257 263
258 # FFMPEG software video decoders are not available on Android and/or 264 # FFMPEG software video decoders are not available on Android and/or
259 # Chromecast content_shell builds. 265 # Chromecast content_shell builds.
260 # 266 #
261 # TODO(miu): There *are* hardware decoder APIs available via FFMPEG, and we 267 # TODO(miu): There *are* hardware decoder APIs available via FFMPEG, and we
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 "sender/video_encoder_unittest.cc", 323 "sender/video_encoder_unittest.cc",
318 "sender/video_sender_unittest.cc", 324 "sender/video_sender_unittest.cc",
319 "sender/vp8_quantizer_parser_unittest.cc", 325 "sender/vp8_quantizer_parser_unittest.cc",
320 "test/end2end_unittest.cc", 326 "test/end2end_unittest.cc",
321 "test/utility/audio_utility_unittest.cc", 327 "test/utility/audio_utility_unittest.cc",
322 "test/utility/barcode_unittest.cc", 328 "test/utility/barcode_unittest.cc",
323 ] 329 ]
324 330
325 deps = [ 331 deps = [
326 ":common", 332 ":common",
333 ":net",
327 ":receiver", 334 ":receiver",
328 ":sender", 335 ":sender",
329 ":test_support", 336 ":test_support",
337 "//base",
330 "//base/test:run_all_unittests", 338 "//base/test:run_all_unittests",
339 "//base/test:test_support",
340 "//media",
341 "//media/base:test_support",
342 "//net",
331 "//testing/gmock", 343 "//testing/gmock",
332 "//testing/gtest", 344 "//testing/gtest",
345 "//third_party/opus",
333 ] 346 ]
334 347
335 if (is_android) { 348 if (is_android) {
336 deps += [ "//testing/android/native_test:native_test_native_code" ] 349 deps += [ "//testing/android/native_test:native_test_native_code" ]
337 } 350 }
338 351
339 if (is_ios || is_mac) { 352 if (is_ios || is_mac) {
340 sources += [ "sender/h264_vt_encoder_unittest.cc" ] 353 sources += [ "sender/h264_vt_encoder_unittest.cc" ]
341 354
342 deps += [ "//third_party/ffmpeg" ] 355 deps += [ "//third_party/ffmpeg" ]
(...skipping 20 matching lines...) Expand all
363 testonly = true 376 testonly = true
364 sources = [ 377 sources = [
365 "test/cast_benchmarks.cc", 378 "test/cast_benchmarks.cc",
366 ] 379 ]
367 deps = [ 380 deps = [
368 ":common", 381 ":common",
369 ":net", 382 ":net",
370 ":receiver", 383 ":receiver",
371 ":sender", 384 ":sender",
372 ":test_support", 385 ":test_support",
386 "//base",
387 "//base/test:test_support",
388 "//media",
389 "//media/base:test_support",
373 "//net", 390 "//net",
374 "//testing/gtest", 391 "//testing/gtest",
392 "//ui/gfx/geometry",
375 ] 393 ]
376 } 394 }
377 395
378 executable("cast_receiver_app") { 396 executable("cast_receiver_app") {
379 testonly = true 397 testonly = true
380 sources = [ 398 sources = [
381 "test/receiver.cc", 399 "test/receiver.cc",
382 ] 400 ]
383 deps = [ 401 deps = [
384 ":common", 402 ":common",
385 ":net", 403 ":net",
386 ":receiver", 404 ":receiver",
387 ":test_support", 405 ":test_support",
406 "//base",
388 "//build/win:default_exe_manifest", 407 "//build/win:default_exe_manifest",
408 "//media",
409 "//net",
410 "//ui/gfx/geometry",
389 ] 411 ]
390 412
391 if (is_linux && !is_chromeos && use_x11) { 413 if (is_linux && !is_chromeos && use_x11) {
392 sources += [ 414 sources += [
393 "test/linux_output_window.cc", 415 "test/linux_output_window.cc",
394 "test/linux_output_window.h", 416 "test/linux_output_window.h",
395 ] 417 ]
396 configs += [ 418 configs += [
397 "//build/config/linux:x11", 419 "//build/config/linux:x11",
398 "//build/config/linux:xext", 420 "//build/config/linux:xext",
399 ] 421 ]
400 deps += [ "//third_party/libyuv" ] 422 deps += [ "//third_party/libyuv" ]
401 } 423 }
402 } 424 }
403 425
404 executable("cast_sender_app") { 426 executable("cast_sender_app") {
405 testonly = true 427 testonly = true
406 sources = [ 428 sources = [
407 "test/sender.cc", 429 "test/sender.cc",
408 ] 430 ]
409 deps = [ 431 deps = [
410 ":common", 432 ":common",
411 ":net", 433 ":net",
412 ":sender", 434 ":sender",
413 ":test_support", 435 ":test_support",
436 "//base",
414 "//build/win:default_exe_manifest", 437 "//build/win:default_exe_manifest",
438 "//media",
415 ] 439 ]
416 } 440 }
417 441
418 proto_library("network_simulation_model_proto") { 442 proto_library("network_simulation_model_proto") {
419 visibility = [ ":cast_simulator" ] 443 visibility = [ ":cast_simulator" ]
420 sources = [ 444 sources = [
421 "test/proto/network_simulation_model.proto", 445 "test/proto/network_simulation_model.proto",
422 ] 446 ]
423 } 447 }
424 448
425 executable("cast_simulator") { 449 executable("cast_simulator") {
426 testonly = true 450 testonly = true
427 sources = [ 451 sources = [
428 "test/simulator.cc", 452 "test/simulator.cc",
429 ] 453 ]
430 deps = [ 454 deps = [
431 ":common", 455 ":common",
432 ":net", 456 ":net",
433 ":network_simulation_model_proto", 457 ":network_simulation_model_proto",
458 ":receiver",
434 ":sender", 459 ":sender",
435 ":test_support", 460 ":test_support",
461 "//base",
462 "//base/test:test_support",
436 "//build/win:default_exe_manifest", 463 "//build/win:default_exe_manifest",
464 "//media",
465 "//media/base:test_support",
437 ] 466 ]
438 } 467 }
439 468
440 executable("generate_barcode_video") { 469 executable("generate_barcode_video") {
441 testonly = true 470 testonly = true
442 sources = [ 471 sources = [
443 "test/utility/generate_barcode_video.cc", 472 "test/utility/generate_barcode_video.cc",
444 ] 473 ]
445 deps = [ 474 deps = [
446 ":test_support", 475 ":test_support",
(...skipping 21 matching lines...) Expand all
468 executable("udp_proxy") { 497 executable("udp_proxy") {
469 testonly = true 498 testonly = true
470 sources = [ 499 sources = [
471 "test/utility/udp_proxy_main.cc", 500 "test/utility/udp_proxy_main.cc",
472 ] 501 ]
473 deps = [ 502 deps = [
474 ":test_support", 503 ":test_support",
475 "//base", 504 "//base",
476 "//build/config/sanitizers:deps", 505 "//build/config/sanitizers:deps",
477 "//build/win:default_exe_manifest", 506 "//build/win:default_exe_manifest",
507 "//net",
478 ] 508 ]
479 } 509 }
480 } else { # !(is_win || is_mac || (is_linux && !is_chromeos)) 510 } else { # !(is_win || is_mac || (is_linux && !is_chromeos))
481 # The testing tools are only built for the desktop platforms. 511 # The testing tools are only built for the desktop platforms.
482 group("testing_tools") { 512 group("testing_tools") {
483 } 513 }
484 } 514 }
485 515
486 if (is_linux && !is_chromeos) { 516 if (is_linux && !is_chromeos) {
487 test("tap_proxy") { 517 test("tap_proxy") {
488 sources = [ 518 sources = [
489 "test/utility/tap_proxy.cc", 519 "test/utility/tap_proxy.cc",
490 ] 520 ]
491 521
492 deps = [ 522 deps = [
493 ":test_support", 523 ":test_support",
494 "//base", 524 "//base",
495 "//media", 525 "//media",
526 "//net",
496 ] 527 ]
497 } 528 }
498 } 529 }
499 530
500 # Projects external to Chromium can build cast_sender and/or cast_receiver to 531 # Projects external to Chromium can build cast_sender and/or cast_receiver to
501 # produce libraries to link with their applications. Chromium targets should 532 # produce libraries to link with their applications. Chromium targets should
502 # not reference these. 533 # not reference these.
503 534
504 static_library("cast_sender") { 535 static_library("cast_sender") {
505 complete_static_lib = true 536 complete_static_lib = true
506 deps = [ 537 deps = [
507 ":sender", 538 ":sender",
508 ] 539 ]
509 } 540 }
510 541
511 static_library("cast_receiver") { 542 static_library("cast_receiver") {
512 complete_static_lib = true 543 complete_static_lib = true
513 deps = [ 544 deps = [
514 ":receiver", 545 ":receiver",
515 ] 546 ]
516 } 547 }
OLDNEW
« no previous file with comments | « no previous file | media/cast/cast_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698