| # Copyright 2020 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_packaging") { | |
| version = "0.1.0" | |
| edition = "2018" | |
| with_unit_tests = true | |
| config_data = [ "data/config.json" ] | |
| deps = [ | |
| "//src/lib/fuchsia-async", | |
| "//src/sys/pkg/lib/fuchsia-archive", | |
| "//src/sys/pkg/lib/fuchsia-merkle", | |
| "//src/sys/pkg/lib/fuchsia-pkg", | |
| "//src/sys/pkg/lib/tuf", | |
| "//third_party/rust_crates:chrono", | |
| "//third_party/rust_crates:home", | |
| "//third_party/rust_crates:lazy_static", | |
| "//third_party/rust_crates:ring", | |
| "//third_party/rust_crates:tempfile", | |
| ] | |
| sources = [ | |
| "src/archive.rs", | |
| "src/args.rs", | |
| "src/constants.rs", | |
| "src/lib.rs", | |
| "src/repository.rs", | |
| "src/tuf_repo.rs", | |
| ] | |
| inputs = [ "data/config.json" ] | |
| } |