| # Copyright 2022 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_setui") { |
| sdk_category = "not-yet-specified" |
| version = "0.1.0" |
| edition = "2021" |
| |
| plugin_deps = [ |
| "accessibility:ffx_setui_accessibility", |
| "audio:ffx_setui_audio", |
| "display:ffx_setui_display", |
| "do_not_disturb:ffx_setui_do_not_disturb", |
| "factory_reset:ffx_setui_factory_reset", |
| "input:ffx_setui_input", |
| "intl:ffx_setui_intl", |
| "keyboard:ffx_setui_keyboard", |
| "light:ffx_setui_light", |
| "night_mode:ffx_setui_night_mode", |
| "privacy:ffx_setui_privacy", |
| "setup:ffx_setui_setup", |
| ] |
| |
| args_sources = [ "src/args.rs" ] |
| args_deps = [ |
| "//src/developer/ffx/core:lib", |
| "//third_party/rust_crates:argh", |
| ] |
| } |
| |
| ffx_tool("ffx_setui_tool") { |
| edition = "2021" |
| output_name = "ffx-setui" |
| deps = [ |
| ":ffx_setui_suite", |
| "//src/lib/fuchsia-async", |
| ] |
| sources = [ "src/main.rs" ] |
| |
| sdk_target_name = "sdk" |
| sdk_category = "partner" |
| } |
| |
| group("setui") { |
| public_deps = [ |
| ":ffx_setui_tool", |
| ":ffx_setui_tool_host_tool", |
| ] |
| } |
| |
| group("bin") { |
| public_deps = [ ":ffx_setui_tool_versioned" ] |
| } |
| |
| group("tests") { |
| testonly = true |
| deps = [ ":ffx_setui_tests($host_toolchain)" ] |
| } |