aboutsummaryrefslogtreecommitdiff
path: root/osp/impl/testing/BUILD.gn
blob: 94bcc50460d912698d5e7fdf4920df47921698d6 (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
# Copyright 2018 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/config/services.gni")
assert(use_mdns_responder)

source_set("testing") {
  testonly = true
  sources = [
    "fake_mdns_platform_service.cc",
    "fake_mdns_platform_service.h",
    "fake_mdns_responder_adapter.cc",
    "fake_mdns_responder_adapter.h",
  ]

  deps = [
    "../discovery/mdns:mdns_interface",
  ]

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

source_set("unittests") {
  testonly = true
  sources = [
    "fake_mdns_platform_service_unittest.cc",
    "fake_mdns_responder_adapter_unittest.cc",
  ]

  deps = [
    ":testing",
    "../../../third_party/abseil",
    "../../../third_party/googletest:gtest",
  ]
}