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("../../osp/build/config/services.gni") 6 7source_set("impl") { 8 sources = [ 9 "mdns_platform_service.cc", 10 "mdns_platform_service.h", 11 "message_demuxer.cc", 12 "network_service_manager.cc", 13 "presentation/presentation_common.cc", 14 "presentation/presentation_common.h", 15 "presentation/presentation_connection.cc", 16 "presentation/presentation_controller.cc", 17 "presentation/presentation_receiver.cc", 18 "presentation/url_availability_requester.cc", 19 "presentation/url_availability_requester.h", 20 "receiver_list.cc", 21 "receiver_list.h", 22 "service_listener_impl.cc", 23 "service_listener_impl.h", 24 "service_publisher_impl.cc", 25 "service_publisher_impl.h", 26 "with_destruction_callback.cc", 27 "with_destruction_callback.h", 28 ] 29 30 if (use_mdns_responder) { 31 sources += [ 32 "internal_services.cc", 33 "internal_services.h", 34 "mdns_responder_service.cc", 35 "mdns_responder_service.h", 36 "mdns_service_listener_factory.cc", 37 "mdns_service_publisher_factory.cc", 38 ] 39 } 40 41 public_deps = [ 42 "../msgs", 43 "../public", 44 ] 45 deps = [ 46 "../../platform", 47 "../../third_party/abseil", 48 "../../util", 49 "quic", 50 ] 51} 52 53if (use_chromium_quic) { 54 source_set("chromium_quic_integration") { 55 sources = [ 56 "protocol_connection_client_factory.cc", 57 "protocol_connection_server_factory.cc", 58 "quic/quic_connection_factory_impl.cc", 59 "quic/quic_connection_factory_impl.h", 60 "quic/quic_connection_impl.cc", 61 "quic/quic_connection_impl.h", 62 ] 63 64 public_configs = [ "../../third_party/chromium_quic:chromium_quic_config" ] 65 66 deps = [ 67 "../../platform", 68 "../../third_party/abseil", 69 "../../third_party/chromium_quic", 70 "../../util", 71 "../msgs", 72 "quic", 73 ] 74 } 75} 76