blob: 8f4076190ee7fac2391048efe62714a773f0ad3f [file] [log] [blame] [edit]
# Copyright 2021 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/rust/rustc_library.gni")
assert(is_host, "port_picker is for use with the host toolchain only")
rustc_library("lib") {
name = "port_picker"
with_unit_tests = true
edition = "2021"
sources = [ "src/lib.rs" ]
}
group("tests") {
testonly = true
deps = [ ":lib_test" ]
}
group("port_picker") {
testonly = true
deps = [
":lib",
":tests",
]
}