xref: /aosp_15_r20/external/openscreen/osp/impl/BUILD.gn (revision 3f982cf4871df8771c9d4abe6e9a6f8d829b2736)
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    "dns_sd_publisher_client.cc",
10    "dns_sd_publisher_client.h",
11    "dns_sd_service_publisher_factory.cc",
12    "message_demuxer.cc",
13    "network_service_manager.cc",
14    "presentation/presentation_common.cc",
15    "presentation/presentation_common.h",
16    "presentation/presentation_connection.cc",
17    "presentation/presentation_controller.cc",
18    "presentation/presentation_receiver.cc",
19    "presentation/url_availability_requester.cc",
20    "presentation/url_availability_requester.h",
21    "receiver_list.cc",
22    "receiver_list.h",
23    "service_listener_impl.cc",
24    "service_listener_impl.h",
25    "service_publisher_impl.cc",
26    "service_publisher_impl.h",
27    "with_destruction_callback.cc",
28    "with_destruction_callback.h",
29  ]
30  public_deps = [
31    "../msgs",
32    "../public",
33  ]
34  deps = [
35    "../../discovery:dnssd",
36    "../../discovery:public",
37    "../../platform",
38    "../../third_party/abseil",
39    "../../util",
40    "quic",
41  ]
42}
43
44if (use_chromium_quic) {
45  source_set("chromium_quic_integration") {
46    sources = [
47      "protocol_connection_client_factory.cc",
48      "protocol_connection_server_factory.cc",
49      "quic/quic_connection_factory_impl.cc",
50      "quic/quic_connection_factory_impl.h",
51      "quic/quic_connection_impl.cc",
52      "quic/quic_connection_impl.h",
53    ]
54
55    public_configs = [ "../../third_party/chromium_quic:chromium_quic_config" ]
56
57    deps = [
58      "../../platform",
59      "../../third_party/abseil",
60      "../../third_party/chromium_quic",
61      "../../util",
62      "../msgs",
63      "quic",
64    ]
65  }
66}
67