OLD | NEW |
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/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
6 import("//build/config/android/config.gni") | 6 import("//build/config/android/config.gni") |
7 import("//build/config/arm.gni") | 7 import("//build/config/arm.gni") |
8 import("//build/config/features.gni") | 8 import("//build/config/features.gni") |
9 import("//build/config/linux/pkg_config.gni") | 9 import("//build/config/linux/pkg_config.gni") |
10 import("//build/config/ui.gni") | 10 import("//build/config/ui.gni") |
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
478 "filters/source_buffer_state_unittest.cc", | 478 "filters/source_buffer_state_unittest.cc", |
479 "filters/source_buffer_stream_unittest.cc", | 479 "filters/source_buffer_stream_unittest.cc", |
480 "filters/video_cadence_estimator_unittest.cc", | 480 "filters/video_cadence_estimator_unittest.cc", |
481 "filters/video_decoder_selector_unittest.cc", | 481 "filters/video_decoder_selector_unittest.cc", |
482 "filters/video_frame_stream_unittest.cc", | 482 "filters/video_frame_stream_unittest.cc", |
483 "filters/video_renderer_algorithm_unittest.cc", | 483 "filters/video_renderer_algorithm_unittest.cc", |
484 "filters/vp8_bool_decoder_unittest.cc", | 484 "filters/vp8_bool_decoder_unittest.cc", |
485 "filters/vp8_parser_unittest.cc", | 485 "filters/vp8_parser_unittest.cc", |
486 "filters/vp9_parser_unittest.cc", | 486 "filters/vp9_parser_unittest.cc", |
487 "filters/vp9_raw_bits_reader_unittest.cc", | 487 "filters/vp9_raw_bits_reader_unittest.cc", |
488 "formats/ac3/ac3_util_unittest.cc", | |
489 "formats/common/offset_byte_queue_unittest.cc", | |
490 "formats/webm/cluster_builder.cc", | |
491 "formats/webm/cluster_builder.h", | |
492 "formats/webm/opus_packet_builder.cc", | |
493 "formats/webm/opus_packet_builder.h", | |
494 "formats/webm/tracks_builder.cc", | |
495 "formats/webm/tracks_builder.h", | |
496 "formats/webm/webm_cluster_parser_unittest.cc", | |
497 "formats/webm/webm_content_encodings_client_unittest.cc", | |
498 "formats/webm/webm_crypto_helpers_unittest.cc", | |
499 "formats/webm/webm_parser_unittest.cc", | |
500 "formats/webm/webm_stream_parser_unittest.cc", | |
501 "formats/webm/webm_tracks_parser_unittest.cc", | |
502 "formats/webm/webm_webvtt_parser_unittest.cc", | |
503 "muxers/webm_muxer_unittest.cc", | 488 "muxers/webm_muxer_unittest.cc", |
504 "renderers/audio_renderer_impl_unittest.cc", | 489 "renderers/audio_renderer_impl_unittest.cc", |
505 "renderers/renderer_impl_unittest.cc", | 490 "renderers/renderer_impl_unittest.cc", |
506 "renderers/skcanvas_video_renderer_unittest.cc", | 491 "renderers/skcanvas_video_renderer_unittest.cc", |
507 "renderers/video_renderer_impl_unittest.cc", | 492 "renderers/video_renderer_impl_unittest.cc", |
508 "video/gpu_memory_buffer_video_frame_pool_unittest.cc", | 493 "video/gpu_memory_buffer_video_frame_pool_unittest.cc", |
509 "video/h264_poc_unittest.cc", | 494 "video/h264_poc_unittest.cc", |
510 "video/half_float_maker_unittest.cc", | 495 "video/half_float_maker_unittest.cc", |
511 ] | 496 ] |
512 | 497 |
513 data = [ | 498 data = [ |
514 "test/data/", | 499 "test/data/", |
515 ] | 500 ] |
516 | 501 |
517 # TODO(wolenetz): Fix size_t to int truncation in win64. | 502 # TODO(wolenetz): Fix size_t to int truncation in win64. |
518 # See http://crbug.com/171009 | 503 # See http://crbug.com/171009 |
519 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 504 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
520 | 505 |
521 deps = [ | 506 deps = [ |
522 ":cdm_api", | 507 ":cdm_api", |
523 ":cdm_paths", | 508 ":cdm_paths", |
524 ":media", | 509 ":media", |
525 ":test_support", | 510 ":test_support", |
526 "//base/test:test_support", | 511 "//base/test:test_support", |
527 "//crypto", | 512 "//crypto", |
528 "//gpu:test_support", | 513 "//gpu:test_support", |
529 "//gpu/command_buffer/common", | 514 "//gpu/command_buffer/common", |
530 "//media/audio:test_support", | 515 "//media/audio:test_support", |
531 "//media/base:test_support", | 516 "//media/base:test_support", |
| 517 "//media/formats:unit_tests", |
532 "//ppapi/features", | 518 "//ppapi/features", |
533 "//skia", # Direct dependency required to inherit config. | 519 "//skia", # Direct dependency required to inherit config. |
534 "//testing/gmock", | 520 "//testing/gmock", |
535 "//testing/gtest", | 521 "//testing/gtest", |
536 "//third_party/libwebm", | 522 "//third_party/libwebm", |
537 "//third_party/libyuv", | 523 "//third_party/libyuv", |
538 "//third_party/widevine/cdm:headers", | 524 "//third_party/widevine/cdm:headers", |
539 "//ui/gfx:test_support", | 525 "//ui/gfx:test_support", |
540 "//url", | 526 "//url", |
541 ] | 527 ] |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
579 # FFmpeg on Android does not include video decoders. | 565 # FFmpeg on Android does not include video decoders. |
580 sources += [ "filters/ffmpeg_video_decoder_unittest.cc" ] | 566 sources += [ "filters/ffmpeg_video_decoder_unittest.cc" ] |
581 } | 567 } |
582 } | 568 } |
583 | 569 |
584 if (current_cpu != "arm" && is_chromeos) { | 570 if (current_cpu != "arm" && is_chromeos) { |
585 sources += [ "filters/h264_bitstream_buffer_unittest.cc" ] | 571 sources += [ "filters/h264_bitstream_buffer_unittest.cc" ] |
586 } | 572 } |
587 | 573 |
588 if (proprietary_codecs) { | 574 if (proprietary_codecs) { |
589 sources += [ | |
590 "cdm/cenc_utils_unittest.cc", | |
591 "filters/h264_to_annex_b_bitstream_converter_unittest.cc", | |
592 "formats/common/stream_parser_test_base.cc", | |
593 "formats/common/stream_parser_test_base.h", | |
594 "formats/mp4/aac_unittest.cc", | |
595 "formats/mp4/avc_unittest.cc", | |
596 "formats/mp4/box_reader_unittest.cc", | |
597 "formats/mp4/es_descriptor_unittest.cc", | |
598 "formats/mp4/mp4_stream_parser_unittest.cc", | |
599 "formats/mp4/sample_to_group_iterator_unittest.cc", | |
600 "formats/mp4/track_run_iterator_unittest.cc", | |
601 "formats/mpeg/adts_stream_parser_unittest.cc", | |
602 "formats/mpeg/mpeg1_audio_stream_parser_unittest.cc", | |
603 ] | |
604 if (enable_mse_mpeg2ts_stream_parser) { | |
605 sources += [ | |
606 "formats/mp2t/es_adapter_video_unittest.cc", | |
607 "formats/mp2t/es_parser_adts_unittest.cc", | |
608 "formats/mp2t/es_parser_h264_unittest.cc", | |
609 "formats/mp2t/es_parser_mpeg1audio_unittest.cc", | |
610 "formats/mp2t/es_parser_test_base.cc", | |
611 "formats/mp2t/es_parser_test_base.h", | |
612 "formats/mp2t/mp2t_stream_parser_unittest.cc", | |
613 "formats/mp2t/timestamp_unroller_unittest.cc", | |
614 ] | |
615 } | |
616 if (media_use_ffmpeg) { | 575 if (media_use_ffmpeg) { |
617 sources += [ | 576 sources += [ |
618 "filters/ffmpeg_aac_bitstream_converter_unittest.cc", | 577 "filters/ffmpeg_aac_bitstream_converter_unittest.cc", |
619 "filters/ffmpeg_h264_to_annex_b_bitstream_converter_unittest.cc", | 578 "filters/ffmpeg_h264_to_annex_b_bitstream_converter_unittest.cc", |
620 ] | 579 ] |
621 } | 580 } |
622 if (enable_hevc_demuxing) { | 581 if (enable_hevc_demuxing) { |
623 sources += [ "filters/h265_parser_unittest.cc" ] | 582 sources += [ "filters/h265_parser_unittest.cc" ] |
624 } | 583 } |
625 if (enable_hls_sample_aes) { | 584 if (enable_hls_sample_aes) { |
626 deps += [ "//third_party/boringssl" ] | 585 deps += [ "//third_party/boringssl" ] |
627 } | 586 } |
628 if (enable_dolby_vision_demuxing) { | |
629 sources += [ "formats/mp4/dolby_vision_unittest.cc" ] | |
630 } | |
631 } | 587 } |
632 | 588 |
633 if (is_mac || is_ios) { | 589 if (is_mac || is_ios) { |
634 libs = [ | 590 libs = [ |
635 "AppKit.framework", | 591 "AppKit.framework", |
636 "Foundation.framework", | 592 "Foundation.framework", |
637 ] | 593 ] |
638 } | 594 } |
639 | 595 |
640 configs += [ ":media_config" ] | 596 configs += [ ":media_config" ] |
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
893 fuzzer_test("media_mp4_avcc_parser_fuzzer") { | 849 fuzzer_test("media_mp4_avcc_parser_fuzzer") { |
894 sources = [ | 850 sources = [ |
895 "formats/mp4/mp4_avcc_parser_fuzzer.cc", | 851 "formats/mp4/mp4_avcc_parser_fuzzer.cc", |
896 ] | 852 ] |
897 deps = [ | 853 deps = [ |
898 ":media", | 854 ":media", |
899 "//base", | 855 "//base", |
900 ] | 856 ] |
901 } | 857 } |
902 } | 858 } |
OLD | NEW |