summaryrefslogtreecommitdiffstats
path: root/chromecast/renderer/media/BUILD.gn
blob: 38efe6ae30fb3f92ee94683d7cec5c68cfe2ee73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Copyright 2015 The Chromium Authors. All rights reserved.
# 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",
    "audio_pipeline_proxy.h",
    "capabilities_message_filter.cc",
    "capabilities_message_filter.h",
    "chromecast_media_renderer_factory.cc",
    "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",
    "media_pipeline_proxy.h",
    "video_pipeline_proxy.cc",
    "video_pipeline_proxy.h",
  ]

  deps = [
    "//base",
    "//chromecast/common/media",
    "//chromecast/media",
    "//content/public/renderer",
    "//ipc",
    "//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",
  ]
}