aboutsummaryrefslogtreecommitdiff
path: root/cast/common/BUILD.gn
blob: 8704ef23c3ed7fb059809d86606dd0c9210329fa (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
# 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.

import("//build_overrides/build.gni")

source_set("mdns") {
  sources = [
    "mdns/mdns_constants.h",
    "mdns/mdns_reader.cc",
    "mdns/mdns_reader.h",
    "mdns/mdns_records.cc",
    "mdns/mdns_records.h",
    "mdns/mdns_writer.cc",
    "mdns/mdns_writer.h",
  ]

  deps = [
    "../../platform",
    "../../third_party/abseil",
    "../../util",
  ]

  configs += [ "../../build:allow_build_from_embedder" ]
}

source_set("mdns_unittests") {
  testonly = true

  sources = [
    "mdns/mdns_reader_unittest.cc",
    "mdns/mdns_records_unittest.cc",
    "mdns/mdns_writer_unittest.cc",
  ]

  deps = [
    ":mdns",
    "../../platform",
    "../../third_party/abseil",
    "../../third_party/googletest:gmock",
    "../../third_party/googletest:gtest",
    "../../util",
  ]

  configs += [ "../../build:allow_build_from_embedder" ]
}