blob: bb215a158e2f284cb5c3705f61e200fbafab31c6 [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")
rustc_library("http-uri-ext") {
name = "http_uri_ext"
version = "0.1.0"
edition = "2018"
with_unit_tests = true
deps = [
"//third_party/rust_crates:http",
"//third_party/rust_crates:thiserror",
]
}
test_package("http-uri-ext-tests") {
deps = [ ":http-uri-ext_test" ]
tests = [
{
name = "http_uri_ext_lib_test"
environments = basic_envs
},
]
}
group("tests") {
testonly = true
deps = [ ":http-uri-ext-tests" ]
}