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", |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
51 "//chromecast/media/cma/backend", | 51 "//chromecast/media/cma/backend", |
52 "//chromecast/media/cma/base", | 52 "//chromecast/media/cma/base", |
53 "//chromecast/media/cma/pipeline", | 53 "//chromecast/media/cma/pipeline", |
54 "//chromecast/public", | 54 "//chromecast/public", |
55 "//media", | 55 "//media", |
56 "//media/base:test_support", | 56 "//media/base:test_support", |
57 "//testing/gmock", | 57 "//testing/gmock", |
58 "//testing/gtest", | 58 "//testing/gtest", |
59 "//ui/display", | 59 "//ui/display", |
60 "//ui/gfx/geometry", | 60 "//ui/gfx/geometry", |
61 | |
62 # TODO(alokp): Remove this dependency by refactoring | |
alokp
2016/12/15 22:37:56
This TODO has now been implemented in a separate p
| |
63 # cma/pipeline/audio_video_pipeline_impl_unittest.cc | |
64 "//chromecast/media/cma/backend:default", | |
61 ] | 65 ] |
62 | 66 |
63 if (chromecast_branding == "public") { | 67 # MultizoneBackendTest verifies rendering delay reported by the backend. |
64 # Link default libcast_media_1.0 statically not to link dummy one | 68 # Since rendering delay is optional on video platforms, enable this test |
65 # dynamically for public unittests. | 69 # on audio devices only. |
66 deps += [ "//chromecast/media/base:libcast_media_1.0_default_core" ] | 70 if (is_cast_audio_only) { |
71 sources += [ "cma/backend/multizone_backend_unittest.cc" ] | |
67 } | 72 } |
68 } | 73 } |
69 | |
70 test("cast_multizone_backend_unittests") { | |
71 sources = [ | |
72 "cma/backend/multizone_backend_unittest.cc", | |
73 "cma/test/run_all_unittests.cc", | |
74 ] | |
75 | |
76 deps = [ | |
77 "//base", | |
78 "//base/test:test_support", | |
79 "//chromecast/base", | |
80 "//chromecast/base/metrics:test_support", | |
81 "//chromecast/media/base:libcast_media_1.0", | |
82 "//chromecast/media/cma/backend", | |
83 "//chromecast/media/cma/base", | |
84 "//chromecast/public", | |
85 "//media", | |
86 "//media/base:test_support", | |
87 "//testing/gmock", | |
88 "//testing/gtest", | |
89 ] | |
90 | |
91 if (chromecast_branding == "public") { | |
92 # Link default libcast_media_1.0 statically not to link dummy one | |
93 # dynamically for public unittests. | |
94 deps += [ "//chromecast/media/base:libcast_media_1.0_default_core" ] | |
95 } | |
96 } | |
OLD | NEW |