| 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 803 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 814 ] | 814 ] |
| 815 if (is_android) { | 815 if (is_android) { |
| 816 deps += [ "//ui/gl" ] | 816 deps += [ "//ui/gl" ] |
| 817 isolate_file = "media_perftests.isolate" | 817 isolate_file = "media_perftests.isolate" |
| 818 } | 818 } |
| 819 if (media_use_ffmpeg) { | 819 if (media_use_ffmpeg) { |
| 820 deps += [ "//third_party/ffmpeg" ] # Direct dependency required to inherit
config. | 820 deps += [ "//third_party/ffmpeg" ] # Direct dependency required to inherit
config. |
| 821 } | 821 } |
| 822 } | 822 } |
| 823 | 823 |
| 824 # TODO(GYP): Delete this after we've converted everything to GN. |
| 825 # The _run targets exist only for compatibility w/ GYP. |
| 826 group("audio_unittests_run") { |
| 827 testonly = true |
| 828 deps = [ |
| 829 ":audio_unittests", |
| 830 ] |
| 831 } |
| 832 |
| 824 # 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 |
| 825 # separately on GPU bots. media_unittests includes these too. | 834 # separately on GPU bots. media_unittests includes these too. |
| 826 test("audio_unittests") { | 835 test("audio_unittests") { |
| 827 sources = [ | 836 sources = [ |
| 828 "base/run_all_unittests.cc", | 837 "base/run_all_unittests.cc", |
| 829 ] | 838 ] |
| 830 deps = [ | 839 deps = [ |
| 831 ":test_support", | 840 ":test_support", |
| 832 "//base/test:test_support", | 841 "//base/test:test_support", |
| 833 "//media/audio:unittests", | 842 "//media/audio:unittests", |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 900 "//media/base:test_support", | 909 "//media/base:test_support", |
| 901 "//media/test:pipeline_integration_tests", | 910 "//media/test:pipeline_integration_tests", |
| 902 "//testing/gmock", | 911 "//testing/gmock", |
| 903 "//testing/gtest", | 912 "//testing/gtest", |
| 904 "//third_party/ffmpeg", | 913 "//third_party/ffmpeg", |
| 905 "//ui/gfx:test_support", | 914 "//ui/gfx:test_support", |
| 906 "//ui/gfx/geometry", | 915 "//ui/gfx/geometry", |
| 907 ] | 916 ] |
| 908 } | 917 } |
| 909 } | 918 } |
| OLD | NEW |