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 592 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
603 ":shared_memory_support", | 603 ":shared_memory_support", |
604 "//base", | 604 "//base", |
605 "//gpu/command_buffer/common", | 605 "//gpu/command_buffer/common", |
606 "//media/base:base_for_cast_ios", | 606 "//media/base:base_for_cast_ios", |
607 "//media/base/mac", | 607 "//media/base/mac", |
608 "//ui/gfx/geometry", | 608 "//ui/gfx/geometry", |
609 ] | 609 ] |
610 } | 610 } |
611 } | 611 } |
612 | 612 |
| 613 # TODO(GYP): Delete this after we've converted everything to GN. |
| 614 # The _run targets exist only for compatibility w/ GYP. |
| 615 group("media_unittests_run") { |
| 616 testonly = true |
| 617 deps = [ |
| 618 ":media_unittests", |
| 619 ] |
| 620 } |
| 621 |
613 test("media_unittests") { | 622 test("media_unittests") { |
614 sources = [ | 623 sources = [ |
615 "capture/content/animated_content_sampler_unittest.cc", | 624 "capture/content/animated_content_sampler_unittest.cc", |
616 "capture/content/capture_resolution_chooser_unittest.cc", | 625 "capture/content/capture_resolution_chooser_unittest.cc", |
617 "capture/content/feedback_signal_accumulator_unittest.cc", | 626 "capture/content/feedback_signal_accumulator_unittest.cc", |
618 "capture/content/smooth_event_sampler_unittest.cc", | 627 "capture/content/smooth_event_sampler_unittest.cc", |
619 "capture/content/video_capture_oracle_unittest.cc", | 628 "capture/content/video_capture_oracle_unittest.cc", |
620 "capture/video/fake_video_capture_device_unittest.cc", | 629 "capture/video/fake_video_capture_device_unittest.cc", |
621 "capture/video/video_capture_device_unittest.cc", | 630 "capture/video/video_capture_device_unittest.cc", |
622 "capture/webm_muxer_unittest.cc", | 631 "capture/webm_muxer_unittest.cc", |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
823 ] | 832 ] |
824 if (is_android) { | 833 if (is_android) { |
825 deps += [ "//ui/gl" ] | 834 deps += [ "//ui/gl" ] |
826 isolate_file = "media_perftests.isolate" | 835 isolate_file = "media_perftests.isolate" |
827 } | 836 } |
828 if (media_use_ffmpeg) { | 837 if (media_use_ffmpeg) { |
829 deps += [ "//third_party/ffmpeg" ] # Direct dependency required to inherit
config. | 838 deps += [ "//third_party/ffmpeg" ] # Direct dependency required to inherit
config. |
830 } | 839 } |
831 } | 840 } |
832 | 841 |
| 842 # TODO(GYP): Delete this after we've converted everything to GN. |
| 843 # The _run targets exist only for compatibility w/ GYP. |
| 844 group("audio_unittests_run") { |
| 845 testonly = true |
| 846 deps = [ |
| 847 ":audio_unittests", |
| 848 ] |
| 849 } |
| 850 |
833 # For running the subset of media_unittests that might require audio hardware | 851 # For running the subset of media_unittests that might require audio hardware |
834 # separately on GPU bots. media_unittests includes these too. | 852 # separately on GPU bots. media_unittests includes these too. |
835 test("audio_unittests") { | 853 test("audio_unittests") { |
836 sources = [ | 854 sources = [ |
837 "base/run_all_unittests.cc", | 855 "base/run_all_unittests.cc", |
838 ] | 856 ] |
839 deps = [ | 857 deps = [ |
840 ":test_support", | 858 ":test_support", |
841 "//base/test:test_support", | 859 "//base/test:test_support", |
842 "//media/audio:unittests", | 860 "//media/audio:unittests", |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
909 "//media/base:test_support", | 927 "//media/base:test_support", |
910 "//media/test:pipeline_integration_tests", | 928 "//media/test:pipeline_integration_tests", |
911 "//testing/gmock", | 929 "//testing/gmock", |
912 "//testing/gtest", | 930 "//testing/gtest", |
913 "//third_party/ffmpeg", | 931 "//third_party/ffmpeg", |
914 "//ui/gfx:test_support", | 932 "//ui/gfx:test_support", |
915 "//ui/gfx/geometry", | 933 "//ui/gfx/geometry", |
916 ] | 934 ] |
917 } | 935 } |
918 } | 936 } |
OLD | NEW |