blob: bc2082a5b3f1a9ec51cd13cdd3a55dde64b51d66 [file] [log] [blame]
# Copyright 2019 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")
rustc_library("fuchsia_uri_rewrite") {
version = "0.1.0"
edition = "2018"
with_unit_tests = true
deps = [
"//garnet/lib/rust/fuchsia_uri:fuchsia_uri",
"//sdk/fidl/fuchsia.pkg.rewrite:fuchsia.pkg.rewrite-rustc",
"//third_party/rust_crates:failure",
"//third_party/rust_crates:lazy_static",
"//third_party/rust_crates:regex",
"//third_party/rust_crates:serde",
"//third_party/rust_crates:serde_derive",
"//third_party/rust_crates:serde_json",
"//third_party/rust_crates:url",
]
}
test_package("fuchsia_uri_rewrite_tests") {
deps = [
":fuchsia_uri_rewrite",
]
tests = [
{
name = "fuchsia_uri_rewrite_lib_test"
dest = "fuchsia_uri_rewrite_tests"
environments = basic_envs
},
]
}