blob: 4ee3ea03b9272e4c722560030554d929315551eb [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_pkg") {
version = "0.1.0"
edition = "2018"
with_unit_tests = true
deps = [
"//garnet/public/rust/fuchsia-archive",
"//garnet/public/rust/fuchsia-merkle",
"//garnet/public/rust/mundane",
"//third_party/rust_crates:failure",
"//third_party/rust_crates:lazy_static",
"//third_party/rust_crates:maplit",
"//third_party/rust_crates:proptest",
"//third_party/rust_crates:rand",
"//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:tempfile",
]
}
test_package("fuchsia_pkg_tests") {
deps = [
":fuchsia_pkg_test",
]
tests = [
{
name = "fuchsia_pkg_lib_test"
dest = "fuchsia_pkg_tests"
environments = basic_envs
},
]
}