| # 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_pdk_fetch") { |
| version = "0.1.0" |
| edition = "2018" |
| with_unit_tests = true |
| |
| deps = [ |
| "//src/developer/ffx/plugins/pdk/lib:ffx_pdk_lib", |
| "//src/lib/fuchsia-async", |
| "//src/lib/fuchsia-hyper", |
| "//third_party/rust_crates:async-fs", |
| "//third_party/rust_crates:futures", |
| "//third_party/rust_crates:futures-lite", |
| "//third_party/rust_crates:hyper", |
| "//third_party/rust_crates:serde", |
| "//third_party/rust_crates:serde_json", |
| ] |
| |
| test_deps = [ |
| "//src/developer/ffx/lib/pkg:empty-repo", |
| "//src/developer/ffx/lib/pkg:pkg", |
| "//src/sys/pkg/lib/fuchsia-pkg", |
| "//third_party/rust_crates:maplit", |
| "//third_party/rust_crates:tempfile", |
| ] |
| |
| args_sources = [ "src/args.rs" ] |
| |
| sources = [ "src/lib.rs" ] |
| } |