aboutsummaryrefslogtreecommitdiff
path: root/osp/impl/testing/BUILD.gn
blob: 2917685472628c1e2b4fe9adc65d826e707be9e9 (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
# 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.

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 = [
    "../../../platform",
    "../discovery/mdns:mdns_interface",
  ]
}

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",
  ]
}