| # 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") |
| |
| assert(is_host, "ffx_daemon_protocols is for use with the host toolchain only") |
| |
| ffx_protocols("ffx_daemon_protocols") { |
| version = "0.1.0" |
| sources = [ "src/lib.rs" ] |
| visibility = [ "//src/developer/ffx/daemon/*" ] |
| |
| deps = [ |
| "//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/target_collection:ffx_daemon_protocol_target_collection", |
| "//src/developer/ffx/daemon/protocols/testing:ffx_daemon_protocol_testing", |
| ] |
| } |
| |
| group("tests") { |
| testonly = true |
| deps = [ |
| ":ffx_daemon_protocols_lib_test", |
| "echo:tests", |
| "fastboot_target_stream:tests", |
| "forward:tests", |
| "mdns:tests", |
| "target_collection:tests", |
| "testing:tests", |
| ] |
| } |