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 624 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
635 # If ExternalClearKey is built, we can test CdmAdapter. | 635 # If ExternalClearKey is built, we can test CdmAdapter. |
636 if (enable_pepper_cdms) { | 636 if (enable_pepper_cdms) { |
637 sources += [ "cdm/cdm_adapter_unittest.cc" ] | 637 sources += [ "cdm/cdm_adapter_unittest.cc" ] |
638 data_deps += [ "//media/cdm/ppapi:clearkeycdm" ] | 638 data_deps += [ "//media/cdm/ppapi:clearkeycdm" ] |
639 } | 639 } |
640 | 640 |
641 if (media_use_ffmpeg) { | 641 if (media_use_ffmpeg) { |
642 sources += [ | 642 sources += [ |
643 "ffmpeg/ffmpeg_common_unittest.cc", | 643 "ffmpeg/ffmpeg_common_unittest.cc", |
644 "filters/audio_decoder_unittest.cc", | 644 "filters/audio_decoder_unittest.cc", |
| 645 "filters/audio_file_reader_unittest.cc", |
645 "filters/blocking_url_protocol_unittest.cc", | 646 "filters/blocking_url_protocol_unittest.cc", |
| 647 "filters/ffmpeg_demuxer_unittest.cc", |
646 "filters/ffmpeg_glue_unittest.cc", | 648 "filters/ffmpeg_glue_unittest.cc", |
647 "filters/in_memory_url_protocol_unittest.cc", | 649 "filters/in_memory_url_protocol_unittest.cc", |
648 ] | 650 ] |
649 | 651 |
650 if (!is_android) { | 652 if (!is_android) { |
651 sources += [ | 653 sources += [ |
652 # These tests are confused by Android always having proprietary | |
653 # codecs enabled, but ffmpeg_branding=Chromium. These should be | |
654 # fixed, http://crbug.com/570762. | |
655 "filters/audio_file_reader_unittest.cc", | |
656 "filters/ffmpeg_demuxer_unittest.cc", | |
657 | |
658 # FFmpeg on Android does not include video decoders. | 654 # FFmpeg on Android does not include video decoders. |
659 "filters/ffmpeg_video_decoder_unittest.cc", | 655 "filters/ffmpeg_video_decoder_unittest.cc", |
660 ] | 656 ] |
661 } | 657 } |
662 } | 658 } |
663 | 659 |
664 if (current_cpu != "arm" && is_chromeos) { | 660 if (current_cpu != "arm" && is_chromeos) { |
665 sources += [ "filters/h264_bitstream_buffer_unittest.cc" ] | 661 sources += [ "filters/h264_bitstream_buffer_unittest.cc" ] |
666 } | 662 } |
667 | 663 |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
866 | 862 |
867 fuzzer_test("media_vp9_parser_fuzzer") { | 863 fuzzer_test("media_vp9_parser_fuzzer") { |
868 sources = [ | 864 sources = [ |
869 "filters/vp9_parser_fuzzertest.cc", | 865 "filters/vp9_parser_fuzzertest.cc", |
870 ] | 866 ] |
871 deps = [ | 867 deps = [ |
872 ":media", | 868 ":media", |
873 "//base", | 869 "//base", |
874 ] | 870 ] |
875 } | 871 } |
OLD | NEW |