blob: e529c89feeecc865079e501e4249989e344f4b96 [file]
# Copyright 2026 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.
load("//build/bazel/rules/host_tests:host_rustc_test.bzl", "host_rustc_test")
load("//src/developer/ffx/build:ffx_plugin.bzl", "ffx_plugin")
package(default_applicable_licenses = ["//:license"])
ffx_plugin(
name = "ffx_product_bundle_create",
srcs = [
"src/assembly.rs",
"src/lib.rs",
],
args_deps = [
"//src/developer/ffx/core:lib",
"//src/developer/ffx/lib/pbms:lib",
"//third_party/rust_crates/vendor:argh",
"//third_party/rust_crates/vendor:camino",
],
args_srcs = ["src/args.rs"],
edition = "2024",
sdk_category = "not-yet-specified",
version = "0.1.0",
visibility = ["//src/developer/ffx/plugins/product_bundle:__pkg__"],
deps = [
"//src/developer/ffx/config:lib",
"//src/developer/ffx/lib/errors:lib",
"//src/developer/ffx/lib/fho:lib",
"//src/developer/ffx/lib/pbms:lib",
"//src/developer/ffx/lib/writer:lib",
"//src/lib/assembly/android_config",
"//src/lib/assembly/api",
"//src/lib/assembly/artifact_cache",
"//src/lib/assembly/assembled_system",
"//src/lib/assembly/cli_args",
"//src/lib/assembly/config_schema",
"//src/lib/assembly/container",
"//src/lib/assembly/product_bundle",
"//src/lib/assembly/release_info",
"//src/lib/assembly/tool",
"//src/lib/assembly/util",
"//src/lib/gcs",
"//src/lib/structured_ui",
"//src/storage/lib/delivery_blob",
"//third_party/rust_crates/vendor:anyhow",
"//third_party/rust_crates/vendor:camino",
"//third_party/rust_crates/vendor:futures",
"//third_party/rust_crates/vendor:tempfile",
],
)
host_rustc_test(
name = "ffx_product_bundle_create_test",
crate = ":ffx_product_bundle_create",
visibility = ["//src/developer/ffx:__pkg__"],
)