chromium/chrome/browser/extensions/api/mdns/BUILD.gn

# Copyright 2024 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//chrome/common/features.gni")
import("//extensions/buildflags/buildflags.gni")

assert(enable_extensions)
assert(enable_service_discovery)

source_set("mdns") {
  sources = [
    "mdns_api.cc",
    "mdns_api.h",
  ]

  public_deps = [
    "//base",
    "//chrome/browser/media/router/discovery",
    "//extensions/browser",
  ]

  deps = [
    "//chrome/browser/extensions",
    "//chrome/common/extensions/api",
    "//content/public/browser",
    "//extensions/common",
    "//extensions/common:mojom",
  ]

  configs += [ "//build/config/compiler:wexit_time_destructors" ]
}