aboutsummaryrefslogtreecommitdiff
path: root/cast/common/channel/BUILD.gn
blob: 7a362e3cfbbb1db272d85a4f8ea6730bd2ee592e (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
# 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 = [
    "cast_socket.cc",
    "cast_socket.h",
    "message_framer.cc",
    "message_framer.h",
    "message_util.h",
  ]

  deps = [
    "../../../util",
    "proto",
  ]

  public_deps = [
    "../../../platform",
    "../../../third_party/abseil",
  ]
}

source_set("unittests") {
  testonly = true
  sources = [
    "cast_socket_unittest.cc",
    "message_framer_unittest.cc",
  ]

  deps = [
    ":channel",
    "../../../platform",
    "../../../third_party/googletest:gmock",
    "../../../third_party/googletest:gtest",
    "../../../util",
    "../../common/certificate/proto:unittest_proto",
    "proto",
  ]
}