You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
817 B
39 lines
817 B
# 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",
|
|
]
|
|
}
|