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

Side by Side Diff: media/BUILD.gn

Issue 1727953005: Enable AudioDecoder unit tests on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added media.gyp changes Created 4 years, 9 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 | media/base/audio_hash.h » ('j') | 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/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 622 matching lines...) Expand 10 before | Expand all | Expand 10 after
633 "cdm/external_clear_key_test_helper.cc", 633 "cdm/external_clear_key_test_helper.cc",
634 "cdm/external_clear_key_test_helper.h", 634 "cdm/external_clear_key_test_helper.h",
635 "cdm/json_web_key_unittest.cc", 635 "cdm/json_web_key_unittest.cc",
636 "cdm/simple_cdm_allocator.cc", 636 "cdm/simple_cdm_allocator.cc",
637 "cdm/simple_cdm_allocator.h", 637 "cdm/simple_cdm_allocator.h",
638 "cdm/simple_cdm_allocator_unittest.cc", 638 "cdm/simple_cdm_allocator_unittest.cc",
639 "cdm/simple_cdm_buffer.cc", 639 "cdm/simple_cdm_buffer.cc",
640 "cdm/simple_cdm_buffer.h", 640 "cdm/simple_cdm_buffer.h",
641 "filters/audio_clock_unittest.cc", 641 "filters/audio_clock_unittest.cc",
642 "filters/audio_decoder_selector_unittest.cc", 642 "filters/audio_decoder_selector_unittest.cc",
643 "filters/audio_decoder_test.h",
644 "filters/audio_decoder_unittest.cc",
645 "filters/audio_decoder_unittest_chromium.cc",
643 "filters/audio_renderer_algorithm_unittest.cc", 646 "filters/audio_renderer_algorithm_unittest.cc",
644 "filters/chunk_demuxer_unittest.cc", 647 "filters/chunk_demuxer_unittest.cc",
645 "filters/decrypting_audio_decoder_unittest.cc", 648 "filters/decrypting_audio_decoder_unittest.cc",
646 "filters/decrypting_demuxer_stream_unittest.cc", 649 "filters/decrypting_demuxer_stream_unittest.cc",
647 "filters/decrypting_video_decoder_unittest.cc", 650 "filters/decrypting_video_decoder_unittest.cc",
648 "filters/fake_video_decoder.cc", 651 "filters/fake_video_decoder.cc",
649 "filters/fake_video_decoder.h", 652 "filters/fake_video_decoder.h",
650 "filters/fake_video_decoder_unittest.cc", 653 "filters/fake_video_decoder_unittest.cc",
651 "filters/file_data_source_unittest.cc", 654 "filters/file_data_source_unittest.cc",
652 "filters/frame_processor_unittest.cc", 655 "filters/frame_processor_unittest.cc",
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
736 } 739 }
737 740
738 if (media_use_ffmpeg) { 741 if (media_use_ffmpeg) {
739 sources += [ 742 sources += [
740 "ffmpeg/ffmpeg_common_unittest.cc", 743 "ffmpeg/ffmpeg_common_unittest.cc",
741 "filters/blocking_url_protocol_unittest.cc", 744 "filters/blocking_url_protocol_unittest.cc",
742 "filters/ffmpeg_glue_unittest.cc", 745 "filters/ffmpeg_glue_unittest.cc",
743 "filters/in_memory_url_protocol_unittest.cc", 746 "filters/in_memory_url_protocol_unittest.cc",
744 ] 747 ]
745 748
749 if (!is_android || ffmpeg_branding == "Chrome") {
Tima Vaisburd 2016/02/26 20:58:48 On GYP side ffmpeg_branding seems not defined for
750 sources += [ "filters/audio_decoder_unittest_ffmpeg.cc" ]
751 }
752
746 if (!is_android) { 753 if (!is_android) {
747 sources += [ 754 sources += [
748 # These tests are confused by Android always having proprietary 755 # These tests are confused by Android always having proprietary
749 # codecs enabled, but ffmpeg_branding=Chromium. These should be 756 # codecs enabled, but ffmpeg_branding=Chromium. These should be
750 # fixed, http://crbug.com/570762. 757 # fixed, http://crbug.com/570762.
751 "filters/audio_decoder_unittest.cc",
752 "filters/audio_file_reader_unittest.cc", 758 "filters/audio_file_reader_unittest.cc",
753 "filters/ffmpeg_demuxer_unittest.cc", 759 "filters/ffmpeg_demuxer_unittest.cc",
754 760
755 # FFmpeg on Android does not include video decoders. 761 # FFmpeg on Android does not include video decoders.
756 "filters/ffmpeg_video_decoder_unittest.cc", 762 "filters/ffmpeg_video_decoder_unittest.cc",
757 ] 763 ]
758 } 764 }
759 } 765 }
760 766
761 if (current_cpu != "arm" && is_chromeos) { 767 if (current_cpu != "arm" && is_chromeos) {
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
938 if (proprietary_codecs) { 944 if (proprietary_codecs) {
939 fuzzer_test("media_cenc_utils_fuzzer") { 945 fuzzer_test("media_cenc_utils_fuzzer") {
940 sources = [ 946 sources = [
941 "cdm/cenc_utils_fuzzertest.cc", 947 "cdm/cenc_utils_fuzzertest.cc",
942 ] 948 ]
943 deps = [ 949 deps = [
944 ":media", 950 ":media",
945 ] 951 ]
946 } 952 }
947 } 953 }
OLDNEW
« no previous file with comments | « no previous file | media/base/audio_hash.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698