| # Copyright 2021 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_protocols.gni") |
| |
| if (is_host) { |
| ffx_protocols("ffx_daemon_protocols") { |
| version = "0.1.0" |
| sources = [ "src/lib.rs" ] |
| deps = [ |
| "//src/developer/ffx/daemon/protocols/diagnostics:ffx_daemon_protocol_diagnostics", |
| "//src/developer/ffx/daemon/protocols/echo:ffx_daemon_protocol_echo", |
| "//src/developer/ffx/daemon/protocols/fastboot_target_stream:ffx_daemon_protocol_fastboot_target_stream", |
| "//src/developer/ffx/daemon/protocols/forward:ffx_daemon_protocol_forward", |
| "//src/developer/ffx/daemon/protocols/mdns:ffx_daemon_protocol_mdns", |
| "//src/developer/ffx/daemon/protocols/repo:ffx_daemon_protocol_repo", |
| "//src/developer/ffx/daemon/protocols/target_collection:ffx_daemon_protocol_target_collection", |
| "//src/developer/ffx/daemon/protocols/testing:ffx_daemon_protocol_testing", |
| "//src/developer/ffx/daemon/protocols/tracing:ffx_daemon_protocol_tracing", |
| ] |
| } |
| } |
| |
| group("tests") { |
| testonly = true |
| deps = [ |
| ":ffx_daemon_protocols_lib_test($host_toolchain)", |
| "diagnostics:tests($host_toolchain)", |
| "echo:tests($host_toolchain)", |
| "fastboot_target_stream:tests($host_toolchain)", |
| "forward:tests($host_toolchain)", |
| "mdns:tests($host_toolchain)", |
| "repo:tests($host_toolchain)", |
| "target_collection:tests($host_toolchain)", |
| "testing:tests($host_toolchain)", |
| "tracing:tests($host_toolchain)", |
| ] |
| } |