aboutsummaryrefslogtreecommitdiff
path: root/cast/sender/BUILD.gn
blob: fd295b92fc020b3c9344458fa77ef57e363e4b54 (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
61
62
63
# Copyright 2019 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.

source_set("channel") {
  sources = [
    "channel/cast_auth_util.cc",
    "channel/cast_auth_util.h",
    "channel/message_util.cc",
    "channel/message_util.h",
    "channel/sender_socket_factory.cc",
    "channel/sender_socket_factory.h",
  ]

  deps = [
    "../../util",
    "../common:channel",
    "../common/certificate/proto:certificate_proto",
    "../common/channel/proto:channel_proto",
  ]

  public_deps = [
    "../../platform",
    "../../third_party/boringssl",
    "../common:certificate",
    "../common:channel",
  ]
}

source_set("sender") {
  sources = [
    "cast_app_availability_tracker.cc",
    "cast_app_availability_tracker.h",
    "public/cast_media_source.cc",
    "public/cast_media_source.h",
  ]

  public_deps = [
    ":channel",
    "../../platform",
    "../../util",
  ]
}

source_set("unittests") {
  testonly = true
  sources = [
    "cast_app_availability_tracker_unittest.cc",
    "channel/cast_auth_util_unittest.cc",
  ]

  deps = [
    ":channel",
    ":sender",
    "../../platform",
    "../../platform:test",
    "../../testing/util",
    "../../third_party/googletest:gmock",
    "../../third_party/googletest:gtest",
    "../common/certificate/proto:certificate_proto",
    "../common/certificate/proto:certificate_unittest_proto",
  ]
}