OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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("//chromecast/chromecast.gni") | 5 import("//chromecast/chromecast.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 | 7 |
8 group("media") { | 8 group("media") { |
9 public_deps = [ | 9 public_deps = [ |
10 "//chromecast/media/audio", | 10 "//chromecast/media/audio", |
11 "//chromecast/media/base", | 11 "//chromecast/media/base", |
12 "//chromecast/media/cdm", | 12 "//chromecast/media/cdm", |
13 "//chromecast/media/cma", | 13 "//chromecast/media/cma", |
14 ] | 14 ] |
15 } | 15 } |
16 | 16 |
17 test("cast_media_unittests") { | 17 test("cast_media_unittests") { |
18 sources = [ | 18 sources = [ |
| 19 "audio/cast_audio_manager_unittest.cc", |
19 "audio/cast_audio_mixer_unittest.cc", | 20 "audio/cast_audio_mixer_unittest.cc", |
20 "audio/cast_audio_output_stream_unittest.cc", | 21 "audio/cast_audio_output_stream_unittest.cc", |
21 "base/media_resource_tracker_unittest.cc", | 22 "base/media_resource_tracker_unittest.cc", |
22 "base/supported_codec_profile_levels_memo_unittest.cc", | 23 "base/supported_codec_profile_levels_memo_unittest.cc", |
23 "test/run_all_unittests.cc", | 24 "test/run_all_unittests.cc", |
24 ] | 25 ] |
25 | 26 |
26 deps = [ | 27 deps = [ |
27 ":media", | 28 ":media", |
28 "//base", | 29 "//base", |
29 "//base/test:test_support", | 30 "//base/test:test_support", |
30 "//chromecast/base", | 31 "//chromecast/base", |
31 "//chromecast/base/metrics:test_support", | 32 "//chromecast/base/metrics:test_support", |
| 33 "//chromecast/media/cma:test_support", |
32 "//chromecast/public", | 34 "//chromecast/public", |
33 "//media", | 35 "//media", |
34 "//media/audio:test_support", | 36 "//media/audio:test_support", |
35 "//media/base:test_support", | 37 "//media/base:test_support", |
36 "//testing/gmock", | 38 "//testing/gmock", |
37 "//testing/gtest", | 39 "//testing/gtest", |
38 ] | 40 ] |
39 | 41 |
40 if (!is_android) { | 42 if (!is_android) { |
41 deps += [ "//chromecast/media/cma:unittests" ] | 43 deps += [ "//chromecast/media/cma:unittests" ] |
42 } | 44 } |
43 } | 45 } |
OLD | NEW |