| Index: chromecast/renderer/media/BUILD.gn
|
| diff --git a/chromecast/renderer/media/BUILD.gn b/chromecast/renderer/media/BUILD.gn
|
| index 6bbba526ff1d76b2abb0498224eb0c1c0a4ae297..38efe6ae30fb3f92ee94683d7cec5c68cfe2ee73 100644
|
| --- a/chromecast/renderer/media/BUILD.gn
|
| +++ b/chromecast/renderer/media/BUILD.gn
|
| @@ -2,6 +2,8 @@
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| +import("//testing/test.gni")
|
| +
|
| source_set("media") {
|
| sources = [
|
| "audio_pipeline_proxy.cc",
|
| @@ -12,6 +14,12 @@ source_set("media") {
|
| "chromecast_media_renderer_factory.h",
|
| "cma_message_filter_proxy.cc",
|
| "cma_message_filter_proxy.h",
|
| + "cma_renderer.cc",
|
| + "cma_renderer.h",
|
| + "demuxer_stream_adapter.cc",
|
| + "demuxer_stream_adapter.h",
|
| + "hole_frame_factory.cc",
|
| + "hole_frame_factory.h",
|
| "media_channel_proxy.cc",
|
| "media_channel_proxy.h",
|
| "media_pipeline_proxy.cc",
|
| @@ -29,3 +37,24 @@ source_set("media") {
|
| "//media",
|
| ]
|
| }
|
| +
|
| +# GYP target: chromecast_tests.gypi:cast_renderer_media_unittests
|
| +test("cast_renderer_media_unittests") {
|
| + sources = [
|
| + "demuxer_stream_adapter_unittest.cc",
|
| + "demuxer_stream_for_test.cc",
|
| + "demuxer_stream_for_test.h",
|
| + "multi_demuxer_stream_adapter_unittest.cc",
|
| + ]
|
| +
|
| + deps = [
|
| + ":media",
|
| + "//base",
|
| + "//base/test:run_all_unittests",
|
| + "//base/test:test_support",
|
| + "//chromecast/media/cma/base",
|
| + "//chromecast/public/media",
|
| + "//media",
|
| + "//testing/gtest:gtest",
|
| + ]
|
| +}
|
|
|