blob: e18d8951e391dcf190545492c2da4fac106ae901 [file] [log] [blame]
# Copyright 2018 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")
import("//build/test/test_package.gni")
import("//build/testing/environments.gni")
rustc_library("fidl_fuchsia_net_ext") {
with_unit_tests = true
edition = "2018"
deps = [
"//sdk/fidl/fuchsia.net:fuchsia.net-rustc",
"//src/connectivity/lib/net-types",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:serde",
"//third_party/rust_crates:serde_json",
]
sources = [ "src/lib.rs" ]
}
unittest_package("fidl-fuchsia-net-ext-tests") {
deps = [ ":fidl_fuchsia_net_ext_test" ]
tests = [
{
name = "fidl_fuchsia_net_ext_lib_test"
environments = basic_envs
},
]
}