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

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

Issue 1919613002: media: Fix gn deps on media/base/* targets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: win issue + rebase Created 4 years, 7 months 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 | no next file » | 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/arm.gni") 6 import("//build/config/arm.gni")
7 import("//build/config/features.gni") 7 import("//build/config/features.gni")
8 import("//build/config/ui.gni") 8 import("//build/config/ui.gni")
9 import("//build/config/linux/pkg_config.gni") 9 import("//build/config/linux/pkg_config.gni")
10 import("//media/media_options.gni") 10 import("//media/media_options.gni")
11 import("//testing/libfuzzer/fuzzer_test.gni") 11 import("//testing/libfuzzer/fuzzer_test.gni")
12 12
13 source_set("base") { 13 source_set("base") {
14 # This is part of the media component. 14 # This is part of the media component.
15 visibility = [ 15 visibility = [
16 ":*",
16 "//media", 17 "//media",
17 "//media/capture", 18 "//media/capture",
18 ] 19 ]
19 sources = [ 20 sources = [
20 "audio_block_fifo.cc", 21 "audio_block_fifo.cc",
21 "audio_block_fifo.h", 22 "audio_block_fifo.h",
22 "audio_buffer.cc", 23 "audio_buffer.cc",
23 "audio_buffer.h", 24 "audio_buffer.h",
24 "audio_buffer_converter.cc", 25 "audio_buffer_converter.cc",
25 "audio_buffer_converter.h", 26 "audio_buffer_converter.h",
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 "mock_demuxer_host.h", 379 "mock_demuxer_host.h",
379 "mock_filters.cc", 380 "mock_filters.cc",
380 "mock_filters.h", 381 "mock_filters.h",
381 "mock_media_log.cc", 382 "mock_media_log.cc",
382 "mock_media_log.h", 383 "mock_media_log.h",
383 "test_data_util.cc", 384 "test_data_util.cc",
384 "test_data_util.h", 385 "test_data_util.h",
385 "test_helpers.cc", 386 "test_helpers.cc",
386 "test_helpers.h", 387 "test_helpers.h",
387 "test_random.h", 388 "test_random.h",
389 "vector_math_testing.h",
388 ] 390 ]
389 configs += [ "//media:media_config" ] 391 configs += [ "//media:media_config" ]
390 deps = [ 392 deps = [
393 "//base",
394 "//base/test:test_support",
395 "//media",
391 "//media:media_features", 396 "//media:media_features",
392 "//media:shared_memory_support", 397 "//media:shared_memory_support",
393 "//testing/gmock", 398 "//testing/gmock",
399 "//ui/gfx/geometry",
394 ] 400 ]
395 } 401 }
396 402
397 source_set("unittests") { 403 source_set("unittests") {
398 testonly = true 404 testonly = true
399 sources = [ 405 sources = [
400 "audio_block_fifo_unittest.cc", 406 "audio_block_fifo_unittest.cc",
401 "audio_buffer_converter_unittest.cc", 407 "audio_buffer_converter_unittest.cc",
402 "audio_buffer_queue_unittest.cc", 408 "audio_buffer_queue_unittest.cc",
403 "audio_buffer_unittest.cc", 409 "audio_buffer_unittest.cc",
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 "ranges_unittest.cc", 444 "ranges_unittest.cc",
439 "run_all_unittests.cc", 445 "run_all_unittests.cc",
440 "seekable_buffer_unittest.cc", 446 "seekable_buffer_unittest.cc",
441 "serial_runner_unittest.cc", 447 "serial_runner_unittest.cc",
442 "sinc_resampler_unittest.cc", 448 "sinc_resampler_unittest.cc",
443 "stream_parser_unittest.cc", 449 "stream_parser_unittest.cc",
444 "text_ranges_unittest.cc", 450 "text_ranges_unittest.cc",
445 "text_renderer_unittest.cc", 451 "text_renderer_unittest.cc",
446 "time_delta_interpolator_unittest.cc", 452 "time_delta_interpolator_unittest.cc",
447 "user_input_monitor_unittest.cc", 453 "user_input_monitor_unittest.cc",
448 "vector_math_testing.h",
449 "vector_math_unittest.cc", 454 "vector_math_unittest.cc",
450 "video_decoder_config_unittest.cc", 455 "video_decoder_config_unittest.cc",
451 "video_frame_pool_unittest.cc", 456 "video_frame_pool_unittest.cc",
452 "video_frame_unittest.cc", 457 "video_frame_unittest.cc",
453 "video_util_unittest.cc", 458 "video_util_unittest.cc",
454 "wall_clock_time_source_unittest.cc", 459 "wall_clock_time_source_unittest.cc",
455 "yuv_convert_unittest.cc", 460 "yuv_convert_unittest.cc",
456 ] 461 ]
457 configs += [ 462 configs += [
458 "//build/config/compiler:no_size_t_to_int_warning", 463 "//build/config/compiler:no_size_t_to_int_warning",
459 "//media:media_config", 464 "//media:media_config",
460 ] 465 ]
461 deps = [ 466 deps = [
462 ":test_support", 467 ":test_support",
468 "//base/test:test_support",
463 "//gpu/command_buffer/common", 469 "//gpu/command_buffer/common",
464 "//media", 470 "//media",
465 "//skia", 471 "//skia",
466 "//testing/gmock", 472 "//testing/gmock",
467 "//testing/gtest", 473 "//testing/gtest",
468 ] 474 ]
469 475
470 # Even if FFmpeg is enabled on Android we don't want these. 476 # Even if FFmpeg is enabled on Android we don't want these.
471 # TODO(watk): Refactor tests that could be made to run on Android. 477 # TODO(watk): Refactor tests that could be made to run on Android.
472 if (media_use_ffmpeg && !is_android) { 478 if (media_use_ffmpeg && !is_android) {
(...skipping 18 matching lines...) Expand all
491 "audio_bus_perftest.cc", 497 "audio_bus_perftest.cc",
492 "audio_converter_perftest.cc", 498 "audio_converter_perftest.cc",
493 "run_all_perftests.cc", 499 "run_all_perftests.cc",
494 "sinc_resampler_perftest.cc", 500 "sinc_resampler_perftest.cc",
495 "vector_math_perftest.cc", 501 "vector_math_perftest.cc",
496 "yuv_convert_perftest.cc", 502 "yuv_convert_perftest.cc",
497 ] 503 ]
498 configs += [ "//media:media_config" ] 504 configs += [ "//media:media_config" ]
499 deps = [ 505 deps = [
500 ":test_support", 506 ":test_support",
507 "//base",
508 "//base/test:test_support",
501 "//media", 509 "//media",
502 "//testing/gmock", 510 "//testing/gmock",
503 "//testing/gtest", 511 "//testing/gtest",
512 "//testing/perf",
504 "//third_party/libyuv", 513 "//third_party/libyuv",
505 ] 514 ]
506 515
507 if (media_use_ffmpeg) { 516 if (media_use_ffmpeg) {
508 sources += [ "demuxer_perftest.cc" ] 517 sources += [ "demuxer_perftest.cc" ]
509 } 518 }
510 519
511 if (is_android) { 520 if (is_android) {
512 deps += [ "//ui/gl" ] 521 deps += [ "//ui/gl" ]
513 } 522 }
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
573 } 582 }
574 } 583 }
575 } 584 }
576 } 585 }
577 586
578 fuzzer_test("media_bit_reader_fuzzer") { 587 fuzzer_test("media_bit_reader_fuzzer") {
579 sources = [ 588 sources = [
580 "bit_reader_fuzzertest.cc", 589 "bit_reader_fuzzertest.cc",
581 ] 590 ]
582 deps = [ 591 deps = [
592 ":test_support",
583 "//base", 593 "//base",
584 "//media", 594 "//media",
585 ] 595 ]
586 } 596 }
587 597
588 fuzzer_test("media_container_names_fuzzer") { 598 fuzzer_test("media_container_names_fuzzer") {
589 sources = [ 599 sources = [
590 "container_names_fuzzertest.cc", 600 "container_names_fuzzertest.cc",
591 ] 601 ]
592 deps = [ 602 deps = [
593 "//base", 603 "//base",
594 "//media", 604 "//media",
595 ] 605 ]
596 } 606 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698