| # 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") |
| import("//src/developer/ffx/build/ffx_tool.gni") |
| |
| ffx_plugin("ffx_platform") { |
| sdk_category = "not-yet-specified" |
| version = "0.1.0" |
| edition = "2024" |
| with_unit_tests = true |
| plugin_deps = [ "preflight:ffx_preflight" ] |
| args_sources = [ "src/args.rs" ] |
| args_deps = [ |
| "//src/developer/ffx/core:lib", |
| "//third_party/rust_crates:argh", |
| ] |
| } |
| |
| ffx_tool("ffx_platform_tool") { |
| edition = "2024" |
| output_name = "ffx-platform" |
| deps = [ |
| ":ffx_platform_suite", |
| "//src/lib/fuchsia-async", |
| ] |
| sources = [ "src/main.rs" ] |
| } |