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("//testing/test.gni") |
| 6 |
5 source_set("media") { | 7 source_set("media") { |
6 sources = [ | 8 sources = [ |
7 "audio_pipeline_proxy.cc", | 9 "audio_pipeline_proxy.cc", |
8 "audio_pipeline_proxy.h", | 10 "audio_pipeline_proxy.h", |
9 "capabilities_message_filter.cc", | 11 "capabilities_message_filter.cc", |
10 "capabilities_message_filter.h", | 12 "capabilities_message_filter.h", |
11 "chromecast_media_renderer_factory.cc", | 13 "chromecast_media_renderer_factory.cc", |
12 "chromecast_media_renderer_factory.h", | 14 "chromecast_media_renderer_factory.h", |
13 "cma_message_filter_proxy.cc", | 15 "cma_message_filter_proxy.cc", |
14 "cma_message_filter_proxy.h", | 16 "cma_message_filter_proxy.h", |
| 17 "cma_renderer.cc", |
| 18 "cma_renderer.h", |
| 19 "demuxer_stream_adapter.cc", |
| 20 "demuxer_stream_adapter.h", |
| 21 "hole_frame_factory.cc", |
| 22 "hole_frame_factory.h", |
15 "media_channel_proxy.cc", | 23 "media_channel_proxy.cc", |
16 "media_channel_proxy.h", | 24 "media_channel_proxy.h", |
17 "media_pipeline_proxy.cc", | 25 "media_pipeline_proxy.cc", |
18 "media_pipeline_proxy.h", | 26 "media_pipeline_proxy.h", |
19 "video_pipeline_proxy.cc", | 27 "video_pipeline_proxy.cc", |
20 "video_pipeline_proxy.h", | 28 "video_pipeline_proxy.h", |
21 ] | 29 ] |
22 | 30 |
23 deps = [ | 31 deps = [ |
24 "//base", | 32 "//base", |
25 "//chromecast/common/media", | 33 "//chromecast/common/media", |
26 "//chromecast/media", | 34 "//chromecast/media", |
27 "//content/public/renderer", | 35 "//content/public/renderer", |
28 "//ipc", | 36 "//ipc", |
29 "//media", | 37 "//media", |
30 ] | 38 ] |
31 } | 39 } |
| 40 |
| 41 # GYP target: chromecast_tests.gypi:cast_renderer_media_unittests |
| 42 test("cast_renderer_media_unittests") { |
| 43 sources = [ |
| 44 "demuxer_stream_adapter_unittest.cc", |
| 45 "demuxer_stream_for_test.cc", |
| 46 "demuxer_stream_for_test.h", |
| 47 "multi_demuxer_stream_adapter_unittest.cc", |
| 48 ] |
| 49 |
| 50 deps = [ |
| 51 ":media", |
| 52 "//base", |
| 53 "//base/test:run_all_unittests", |
| 54 "//base/test:test_support", |
| 55 "//chromecast/media/cma/base", |
| 56 "//chromecast/public/media", |
| 57 "//media", |
| 58 "//testing/gtest:gtest", |
| 59 ] |
| 60 } |
OLD | NEW |