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

Side by Side Diff: media/BUILD.gn

Issue 1653003006: Move gn _run target generation into test(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 | « jingle/BUILD.gn ('k') | media/blink/BUILD.gn » ('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 592 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
622 test("media_unittests") { 613 test("media_unittests") {
623 sources = [ 614 sources = [
624 "capture/content/animated_content_sampler_unittest.cc", 615 "capture/content/animated_content_sampler_unittest.cc",
625 "capture/content/capture_resolution_chooser_unittest.cc", 616 "capture/content/capture_resolution_chooser_unittest.cc",
626 "capture/content/feedback_signal_accumulator_unittest.cc", 617 "capture/content/feedback_signal_accumulator_unittest.cc",
627 "capture/content/smooth_event_sampler_unittest.cc", 618 "capture/content/smooth_event_sampler_unittest.cc",
628 "capture/content/video_capture_oracle_unittest.cc", 619 "capture/content/video_capture_oracle_unittest.cc",
629 "capture/video/fake_video_capture_device_unittest.cc", 620 "capture/video/fake_video_capture_device_unittest.cc",
630 "capture/video/video_capture_device_unittest.cc", 621 "capture/video/video_capture_device_unittest.cc",
631 "capture/webm_muxer_unittest.cc", 622 "capture/webm_muxer_unittest.cc",
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
832 ] 823 ]
833 if (is_android) { 824 if (is_android) {
834 deps += [ "//ui/gl" ] 825 deps += [ "//ui/gl" ]
835 isolate_file = "media_perftests.isolate" 826 isolate_file = "media_perftests.isolate"
836 } 827 }
837 if (media_use_ffmpeg) { 828 if (media_use_ffmpeg) {
838 deps += [ "//third_party/ffmpeg" ] # Direct dependency required to inherit config. 829 deps += [ "//third_party/ffmpeg" ] # Direct dependency required to inherit config.
839 } 830 }
840 } 831 }
841 832
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
851 # For running the subset of media_unittests that might require audio hardware 833 # For running the subset of media_unittests that might require audio hardware
852 # separately on GPU bots. media_unittests includes these too. 834 # separately on GPU bots. media_unittests includes these too.
853 test("audio_unittests") { 835 test("audio_unittests") {
854 sources = [ 836 sources = [
855 "base/run_all_unittests.cc", 837 "base/run_all_unittests.cc",
856 ] 838 ]
857 deps = [ 839 deps = [
858 ":test_support", 840 ":test_support",
859 "//base/test:test_support", 841 "//base/test:test_support",
860 "//media/audio:unittests", 842 "//media/audio:unittests",
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
927 "//media/base:test_support", 909 "//media/base:test_support",
928 "//media/test:pipeline_integration_tests", 910 "//media/test:pipeline_integration_tests",
929 "//testing/gmock", 911 "//testing/gmock",
930 "//testing/gtest", 912 "//testing/gtest",
931 "//third_party/ffmpeg", 913 "//third_party/ffmpeg",
932 "//ui/gfx:test_support", 914 "//ui/gfx:test_support",
933 "//ui/gfx/geometry", 915 "//ui/gfx/geometry",
934 ] 916 ]
935 } 917 }
936 } 918 }
OLDNEW
« no previous file with comments | « jingle/BUILD.gn ('k') | media/blink/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698