diff options
author | mark a. foltz <mfoltz@chromium.org> | 2021-07-15 12:25:07 -0700 |
---|---|---|
committer | Openscreen LUCI CQ <openscreen-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2021-07-16 19:21:35 +0000 |
commit | d29ea545e02197c5166c0e0c76b3c181b3e3b370 (patch) | |
tree | 746c47238a40687f7d46d4280af6499b52688c2e /third_party | |
parent | 3eca605e12cb57e49eea49dc0a2ca80a79f93836 (diff) | |
download | openscreen-d29ea545e02197c5166c0e0c76b3c181b3e3b370.tar.gz |
[Open Screen] Replace mDNSResponder.
This replaces the mDNSResponder-based publisher implementation in OSP
with the the Open Screen Library's dnssd module.
third_party/mDNSResponder is removed as well as all of the glue/support
code.
Caveats:
- The OSP listener is not ported to dnssd, that will be done in a future
change.
- Resuming the publisher after Suspend() does not seem to be working
yet.
- The publisher configuration hostname is not used by dnssd.
Bug: b/174207562
Change-Id: I9c7a6339a0f405550effc33ad0d5b5a79fa8e919
Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/2535076
Commit-Queue: mark a. foltz <mfoltz@chromium.org>
Reviewed-by: Ryan Keane <rwkeane@google.com>
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/mDNSResponder/BUILD.gn | 38 | ||||
-rw-r--r-- | third_party/mDNSResponder/README.chromium | 10 |
2 files changed, 0 insertions, 48 deletions
diff --git a/third_party/mDNSResponder/BUILD.gn b/third_party/mDNSResponder/BUILD.gn deleted file mode 100644 index bb0047ee..00000000 --- a/third_party/mDNSResponder/BUILD.gn +++ /dev/null @@ -1,38 +0,0 @@ -# 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. - -config("mdnsresponder_config") { - cflags = [ "-w" ] # Disable all warnings. - - cflags_c = [ - # We need to rename some linked symbols in order to avoid multiple - # definitions. - "-DMD5_Update=MD5_Update_mDNS", - "-DMD5_Init=MD5_Init_mDNS", - "-DMD5_Final=MD5_Final_mDNS", - "-DMD5_Transform=MD5_Transform_mDNS", - ] -} - -source_set("core") { - sources = [ - "src/mDNSCore/DNSCommon.c", - "src/mDNSCore/DNSCommon.h", - "src/mDNSCore/DNSDigest.c", - "src/mDNSCore/mDNS.c", - "src/mDNSCore/mDNSDebug.h", - "src/mDNSCore/mDNSEmbeddedAPI.h", - "src/mDNSCore/uDNS.c", - "src/mDNSCore/uDNS.h", - "src/mDNSShared/mDNSDebug.c", - ] - - configs += [ ":mdnsresponder_config" ] - - if (is_debug) { - defines = [ "MDNS_DEBUGMSGS=2" ] - } - - include_dirs = [ "src/mDNSCore" ] -} diff --git a/third_party/mDNSResponder/README.chromium b/third_party/mDNSResponder/README.chromium deleted file mode 100644 index 77469188..00000000 --- a/third_party/mDNSResponder/README.chromium +++ /dev/null @@ -1,10 +0,0 @@ -Name: mDNSResponder -URL: https://github.com/jevinskie/mDNSResponder -License: Apache License, Version 2.0 -License File: src/LICENSE -Security Critical: no - -Description: - -Pull from Apple Bonjour's MDNS/DNS-SD implementation. Will eventually be -replaced with our custom implementation, currently only used in osp. |