blob: fa603dcd65772a7c776558eed65c8f249fdafa37 [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("//src/developer/ffx/build/ffx_plugin.gni")
ffx_plugin("ffx_repository_packages") {
sdk_category = "not-yet-specified"
version = "0.1.0"
edition = "2021"
with_unit_tests = true
deps = [
"//src/developer/ffx/config:lib",
"//src/developer/ffx/lib/errors:lib",
"//src/developer/ffx/lib/fho:lib",
"//src/developer/ffx/lib/pkg",
"//src/developer/ffx/lib/writer:lib",
"//src/lib/fuchsia-hyper",
"//src/sys/pkg/lib/fuchsia-hash",
"//src/sys/pkg/lib/fuchsia-pkg",
"//src/sys/pkg/lib/fuchsia-repo",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:async-trait",
"//third_party/rust_crates:camino",
"//third_party/rust_crates:chrono",
"//third_party/rust_crates:humansize",
"//third_party/rust_crates:prettytable-rs",
"//third_party/rust_crates:serde",
]
test_deps = [
"//src/developer/ffx/lib/pkg:empty-repo-keys",
"//src/developer/ffx/lib/pkg:empty-repo-metadata",
"//src/developer/ffx/lib/timeout:lib",
"//src/developer/ffx/plugins/package/archive:lib",
"//src/lib/fuchsia",
"//src/sys/lib/fidl-fuchsia-pkg-ext",
"//third_party/rust_crates:pretty_assertions",
"//third_party/rust_crates:tempfile",
]
args_sources = [ "src/args.rs" ]
args_deps = [
"//src/developer/ffx/core:lib",
"//third_party/rust_crates:argh",
]
sources = [ "src/lib.rs" ]
}