blob: 699d6f9b0e963de634d3c7e0569db2e56ad80958 [file] [log] [blame]
# Copyright 2020 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/package.gni")
import("//build/rust/rustc_library.gni")
import("//build/test/test_package.gni")
import("//build/testing/environments.gni")
group("rust") {
public_deps = [ ":mdns" ]
}
rustc_library("mdns") {
name = "mdns"
edition = "2018"
with_unit_tests = true
deps = [
"//src/lib/network/packet",
"//src/lib/zerocopy",
"//third_party/rust_crates:byteorder",
]
sources = [
"src/lib.rs",
"src/protocol.rs",
]
}
group("tests") {
testonly = true
deps = [ ":mdns_test" ]
}