| 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 630 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 641 deps += [ "//media/base/mac:unit_tests" ] | 641 deps += [ "//media/base/mac:unit_tests" ] |
| 642 } | 642 } |
| 643 | 643 |
| 644 # If ExternalClearKey is built, we can test CdmAdapter. | 644 # If ExternalClearKey is built, we can test CdmAdapter. |
| 645 if (enable_pepper_cdms) { | 645 if (enable_pepper_cdms) { |
| 646 sources += [ "cdm/cdm_adapter_unittest.cc" ] | 646 sources += [ "cdm/cdm_adapter_unittest.cc" ] |
| 647 data_deps += [ "//media/cdm/ppapi:clearkeycdm" ] | 647 data_deps += [ "//media/cdm/ppapi:clearkeycdm" ] |
| 648 } | 648 } |
| 649 | 649 |
| 650 if (media_use_ffmpeg) { | 650 if (media_use_ffmpeg) { |
| 651 deps += [ "//media/ffmpeg:ffmpeg_unittests" ] | |
| 652 sources += [ | 651 sources += [ |
| 653 "filters/audio_decoder_unittest.cc", | 652 "filters/audio_decoder_unittest.cc", |
| 654 "filters/audio_file_reader_unittest.cc", | 653 "filters/audio_file_reader_unittest.cc", |
| 655 "filters/blocking_url_protocol_unittest.cc", | 654 "filters/blocking_url_protocol_unittest.cc", |
| 656 "filters/ffmpeg_demuxer_unittest.cc", | 655 "filters/ffmpeg_demuxer_unittest.cc", |
| 657 "filters/ffmpeg_glue_unittest.cc", | 656 "filters/ffmpeg_glue_unittest.cc", |
| 658 "filters/in_memory_url_protocol_unittest.cc", | 657 "filters/in_memory_url_protocol_unittest.cc", |
| 659 ] | 658 ] |
| 660 | 659 |
| 660 deps += [ |
| 661 "//media/ffmpeg:ffmpeg_unittests", |
| 662 |
| 663 # Direct dependency needed for the config |
| 664 "//third_party/opus", |
| 665 ] |
| 666 |
| 661 if (!is_android) { | 667 if (!is_android) { |
| 662 sources += [ | 668 sources += [ |
| 663 # FFmpeg on Android does not include video decoders. | 669 # FFmpeg on Android does not include video decoders. |
| 664 "filters/ffmpeg_video_decoder_unittest.cc", | 670 "filters/ffmpeg_video_decoder_unittest.cc", |
| 665 ] | 671 ] |
| 666 } | 672 } |
| 667 } | 673 } |
| 668 | 674 |
| 669 if (current_cpu != "arm" && is_chromeos) { | 675 if (current_cpu != "arm" && is_chromeos) { |
| 670 sources += [ "filters/h264_bitstream_buffer_unittest.cc" ] | 676 sources += [ "filters/h264_bitstream_buffer_unittest.cc" ] |
| (...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 948 fuzzer_test("media_mp4_avcc_parser_fuzzer") { | 954 fuzzer_test("media_mp4_avcc_parser_fuzzer") { |
| 949 sources = [ | 955 sources = [ |
| 950 "formats/mp4/mp4_avcc_parser_fuzzer.cc", | 956 "formats/mp4/mp4_avcc_parser_fuzzer.cc", |
| 951 ] | 957 ] |
| 952 deps = [ | 958 deps = [ |
| 953 ":media", | 959 ":media", |
| 954 "//base", | 960 "//base", |
| 955 ] | 961 ] |
| 956 } | 962 } |
| 957 } | 963 } |
| OLD | NEW |