1# Copyright 2018 The Chromium Authors. All rights reserved. 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5import("../../build/config/services.gni") 6assert(use_mdns_responder) 7 8source_set("testing") { 9 testonly = true 10 sources = [ 11 "fake_mdns_platform_service.cc", 12 "fake_mdns_platform_service.h", 13 "fake_mdns_responder_adapter.cc", 14 "fake_mdns_responder_adapter.h", 15 ] 16 17 deps = [ 18 "../discovery/mdns:mdns_interface", 19 ] 20 21 public_deps = [ 22 "../../../platform", 23 ] 24} 25 26source_set("unittests") { 27 testonly = true 28 sources = [ 29 "fake_mdns_platform_service_unittest.cc", 30 "fake_mdns_responder_adapter_unittest.cc", 31 ] 32 33 deps = [ 34 ":testing", 35 "../../../third_party/abseil", 36 "../../../third_party/googletest:gtest", 37 ] 38} 39