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