blob: 5f9225e99f012d648c23eea4a453a4451ac3cb27 [file] [log] [blame]
# 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/host.gni")
import("//build/rust/rustc_library.gni")
if (is_host) {
rustc_library("update_packages_manifest") {
edition = "2021"
name = "assembly_update_packages_manifest"
version = "0.1.0"
with_unit_tests = true
deps = [
"//src/lib/fuchsia-url",
"//src/sys/pkg/lib/fuchsia-hash",
"//src/sys/pkg/lib/fuchsia-pkg",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:serde",
]
test_deps = [ "//third_party/rust_crates:serde_json" ]
sources = [
"src/lib.rs",
"src/update_packages_manifest.rs",
]
}
group("host_tests") {
testonly = true
deps = [ ":update_packages_manifest_test" ]
}
}