| # Copyright 2026 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("//build/components.gni") | |
| executable("bin") { | |
| output_name = "adb_client" | |
| testonly = true | |
| sources = [ | |
| "adb_client.cc", | |
| "main.cc", | |
| ] | |
| deps = [ | |
| "//sdk/fidl/fuchsia.hardware.usb:fuchsia.hardware.usb_cpp", | |
| "//sdk/fidl/fuchsia.hardware.usb.descriptor:fuchsia.hardware.usb.descriptor_cpp", | |
| "//sdk/fidl/fuchsia.hardware.usb.device:fuchsia.hardware.usb.device_cpp", | |
| "//sdk/fidl/fuchsia.hardware.usb.endpoint:fuchsia.hardware.usb.endpoint_cpp", | |
| "//sdk/lib/async-loop:async-loop-cpp", | |
| "//sdk/lib/async-loop:async-loop-default", | |
| "//sdk/lib/component/incoming/cpp", | |
| "//sdk/lib/component/outgoing/cpp", | |
| "//sdk/lib/device-watcher/cpp", | |
| "//sdk/lib/syslog/cpp", | |
| "//src/developer/adb/testing/fidl:fuchsia.testing.adb_cpp", | |
| "//src/developer/adb/third_party/adb", | |
| "//src/devices/usb/lib/usb", | |
| ] | |
| } | |
| fuchsia_component("adb_client") { | |
| testonly = true | |
| manifest = "meta/adb_client.cml" | |
| deps = [ ":bin" ] | |
| } |