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/config/android/config.gni") | 5 import("//build/config/android/config.gni") |
6 import("//build/config/arm.gni") | 6 import("//build/config/arm.gni") |
7 import("//build/config/features.gni") | 7 import("//build/config/features.gni") |
8 import("//build/config/linux/pkg_config.gni") | 8 import("//build/config/linux/pkg_config.gni") |
9 import("//build/config/ui.gni") | 9 import("//build/config/ui.gni") |
10 import("//media/media_options.gni") | 10 import("//media/media_options.gni") |
(...skipping 640 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
651 "renderers/skcanvas_video_renderer_unittest.cc", | 651 "renderers/skcanvas_video_renderer_unittest.cc", |
652 "renderers/video_renderer_impl_unittest.cc", | 652 "renderers/video_renderer_impl_unittest.cc", |
653 "video/gpu_memory_buffer_video_frame_pool_unittest.cc", | 653 "video/gpu_memory_buffer_video_frame_pool_unittest.cc", |
654 "video/h264_poc_unittest.cc", | 654 "video/h264_poc_unittest.cc", |
655 ] | 655 ] |
656 | 656 |
657 data = [ | 657 data = [ |
658 "test/data/", | 658 "test/data/", |
659 ] | 659 ] |
660 | 660 |
661 # TODO(wolenetz): Fix size_t to int truncation in win64. | 661 # TODO(wolenetz): Fix size_t to int trunctaion in win64. |
662 # See http://crbug.com/171009 | 662 # See http://crbug.com/171009 |
663 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 663 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
664 | 664 |
665 deps = [ | 665 deps = [ |
666 ":media", | 666 ":media", |
667 ":test_support", | 667 ":test_support", |
668 "//base/allocator", | 668 "//base/allocator", |
669 "//base/test:test_support", | 669 "//base/test:test_support", |
670 "//gpu/command_buffer/common", | 670 "//gpu/command_buffer/common", |
671 "//gpu:test_support", | 671 "//gpu:test_support", |
(...skipping 16 matching lines...) Expand all Loading... |
688 sources -= [ | 688 sources -= [ |
689 "filters/decrypting_audio_decoder_unittest.cc", | 689 "filters/decrypting_audio_decoder_unittest.cc", |
690 "filters/decrypting_video_decoder_unittest.cc", | 690 "filters/decrypting_video_decoder_unittest.cc", |
691 ] | 691 ] |
692 apk_deps = [ | 692 apk_deps = [ |
693 "//media/base/android:media_java", | 693 "//media/base/android:media_java", |
694 "//ui/android:ui_java", | 694 "//ui/android:ui_java", |
695 ] | 695 ] |
696 } | 696 } |
697 | 697 |
698 # If ExternalClearKey is built, we can test CdmAdapter. | |
699 if (enable_pepper_cdms) { | |
700 sources += [ "cdm/cdm_adapter_unittest.cc" ] | |
701 deps += [ "//media/cdm/ppapi:clearkeycdm" ] | |
702 } | |
703 | |
704 if (media_use_ffmpeg) { | 698 if (media_use_ffmpeg) { |
705 sources += [ | 699 sources += [ |
706 "ffmpeg/ffmpeg_common_unittest.cc", | 700 "ffmpeg/ffmpeg_common_unittest.cc", |
707 "filters/audio_decoder_unittest.cc", | 701 "filters/audio_decoder_unittest.cc", |
708 "filters/ffmpeg_demuxer_unittest.cc", | 702 "filters/ffmpeg_demuxer_unittest.cc", |
709 "filters/ffmpeg_glue_unittest.cc", | 703 "filters/ffmpeg_glue_unittest.cc", |
710 ] | 704 ] |
711 | 705 |
712 # Even if FFmpeg is enabled we do not want these files on Android. | 706 # Even if FFmpeg is enabled we do not want these files on Android. |
713 # TODO(watk): Refactor tests that could be made to run on Android. | 707 # TODO(watk): Refactor tests that could be made to run on Android. |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
889 "//media/base:test_support", | 883 "//media/base:test_support", |
890 "//media/test:pipeline_integration_tests", | 884 "//media/test:pipeline_integration_tests", |
891 "//testing/gmock", | 885 "//testing/gmock", |
892 "//testing/gtest", | 886 "//testing/gtest", |
893 "//third_party/ffmpeg", | 887 "//third_party/ffmpeg", |
894 "//ui/gfx/geometry", | 888 "//ui/gfx/geometry", |
895 "//ui/gfx:test_support", | 889 "//ui/gfx:test_support", |
896 ] | 890 ] |
897 } | 891 } |
898 } | 892 } |
OLD | NEW |