| # 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. | |
| group("tests") { | |
| testonly = true | |
| deps = [ ":ffx_update_args_test($host_toolchain)" ] | |
| } | |
| ## BAZEL2GN SENTINEL - DO NOT EDIT BELOW THIS LINE ## | |
| # | |
| # ________ _________ ________ ________ | |
| # |\ ____\|\___ ___\\ __ \|\ __ \ | |
| # \ \ \___|\|___ \ \_\ \ \|\ \ \ \|\ \ | |
| # \ \_____ \ \ \ \ \ \ \\\ \ \ ____\ | |
| # \|____|\ \ \ \ \ \ \ \\\ \ \ \___| | |
| # ____\_\ \ \ \__\ \ \_______\ \__\ | |
| # |\_________\ \|__| \|_______|\|__| | |
| # \|_________| | |
| # | |
| # | |
| # AUTO-GENERATED - DO NOT EDIT | |
| # | |
| # The targets below are auto-generated based on the targets defined in the | |
| # BUILD.bazel file from the same directory. If you made changes to targets in | |
| # Bazel, instead of editing this file manually, run: | |
| # | |
| # > fx bazel2gn | |
| # | |
| # Please do NOT edit this file directly. Instead, edit the BUILD.bazel file and | |
| # rerun bazel2gn. | |
| import("//build/tools/bazel2gn/bazel_migration.gni") | |
| ffx_plugin("ffx_update") { | |
| sources = [ | |
| "src/lib.rs", | |
| "src/server.rs", | |
| ] | |
| args_deps = [ | |
| "//src/developer/ffx/config:lib", | |
| "//src/developer/ffx/core:lib", | |
| "//third_party/rust_crates:argh", | |
| "//third_party/rust_crates:camino", | |
| ] | |
| args_sources = [ "src/args.rs" ] | |
| edition = "2024" | |
| sdk_category = "not-yet-specified" | |
| version = "0.1.0" | |
| visibility = [ | |
| ":*", | |
| "//src/developer/ffx/plugins/target:*", | |
| ] | |
| deps = [ | |
| "//sdk/fidl/fuchsia.buildinfo:fuchsia.buildinfo_rust_fdomain", | |
| "//sdk/fidl/fuchsia.pkg:fuchsia.pkg_rust_fdomain", | |
| "//sdk/fidl/fuchsia.pkg.rewrite:fuchsia.pkg.rewrite_rust_fdomain", | |
| "//sdk/fidl/fuchsia.sys2:fuchsia.sys2_rust_fdomain", | |
| "//sdk/fidl/fuchsia.update:fuchsia.update_rust_fdomain", | |
| "//sdk/fidl/fuchsia.update.channel:fuchsia.update.channel_rust_fdomain", | |
| "//sdk/fidl/fuchsia.update.channelcontrol:fuchsia.update.channelcontrol_rust_fdomain", | |
| "//sdk/rust/zx-status", | |
| "//src/developer/ffx/config:lib", | |
| "//src/developer/ffx/lib/errors:lib", | |
| "//src/developer/ffx/lib/fho:lib", | |
| "//src/developer/ffx/lib/futures:lib", | |
| "//src/developer/ffx/lib/pkg:pkg_fdomain", | |
| "//src/developer/ffx/lib/ssh:lib", | |
| "//src/developer/ffx/lib/target/connector:lib", | |
| "//src/developer/ffx/lib/target/holders:lib", | |
| "//src/developer/ffx/lib/timeout:lib", | |
| "//src/developer/ffx/lib/writer:lib", | |
| "//src/developer/ffx/plugins/repository/server/start:ffx_repository_server_start", | |
| "//src/developer/ffx/plugins/repository/server/start:ffx_repository_server_start_args", | |
| "//src/lib/assembly/product_bundle", | |
| "//src/lib/fdomain/client", | |
| "//src/lib/fidl/rust/fidl", | |
| "//src/lib/fuchsia-async", | |
| "//src/sys/lib/fidl-fuchsia-pkg-ext", | |
| "//src/sys/lib/fidl-fuchsia-pkg-rewrite-ext:fidl-fuchsia-pkg-rewrite-ext_fdomain", | |
| "//src/sys/pkg/fidl/fuchsia.update.installer:fuchsia.update.installer_rust_fdomain", | |
| "//src/sys/pkg/lib/fidl-fuchsia-update-ext", | |
| "//src/sys/pkg/lib/fidl-fuchsia-update-installer-ext", | |
| "//third_party/rust_crates:camino", | |
| "//third_party/rust_crates:futures", | |
| "//third_party/rust_crates:http", | |
| "//third_party/rust_crates:log", | |
| "//third_party/rust_crates:termion", | |
| "//third_party/rust_crates:thiserror", | |
| ] | |
| } | |
| if (is_host) { | |
| rustc_test("ffx_update_args_test") { | |
| sources = [ "src/args.rs" ] | |
| edition = "2024" | |
| source_root = "src/args.rs" | |
| deps = [ | |
| "//src/developer/ffx/config:lib", | |
| "//src/developer/ffx/core:lib", | |
| "//third_party/rust_crates:argh", | |
| "//third_party/rust_crates:camino", | |
| ] + [ "//third_party/rust_crates:assert_matches" ] | |
| } | |
| } |