blob: 15b181a53a20fbd3402ff17e1cb5645e64e8ff9c [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")
assert(is_host, "Assembly libraries are host-only")
rustc_library("base_package") {
edition = "2021"
name = "assembly_base_package"
version = "0.1.0"
with_unit_tests = true
deps = [
"//src/lib/assembly/package_list",
"//src/lib/assembly/util",
"//src/sys/pkg/lib/fuchsia-pkg",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:camino",
]
test_deps = [
"//src/lib/assembly/test_util",
"//src/lib/fuchsia-url",
"//src/sys/pkg/lib/far/rust:fuchsia-archive",
"//src/sys/pkg/lib/fuchsia-hash",
"//third_party/rust_crates:tempfile",
]
sources = [
"src/base_package.rs",
"src/lib.rs",
]
}