blob: e29711ea182538ccf9ec941130ba054c336c37ff [file]
# Copyright 2024 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_tool.gni")
assert(is_host, "FFX tools can only be compiled in the host toolchain")
bazel_ffx_tool("ffx_bluetooth_tool") {
output_name = "ffx-bluetooth"
}
group("bluetooth") {
deps = [
":ffx_bluetooth_tool",
":ffx_bluetooth_tool_host_tool",
]
}
group("bin") {
public_deps = [ ":ffx_bluetooth_tool_versioned" ]
}
group("tests") {
testonly = true
deps = [
":ffx_bluetooth_tests",
# Plugins migrated to Bazel define standalone unit test targets that are not
# aggregated by `:ffx_bluetooth_tests`.
"src/controller:tests",
"src/pairable:tests",
"src/pandora:tests",
"src/peer:tests",
]
}
## BAZEL2GN SENTINEL - DO NOT EDIT BELOW THIS LINE ##
#
# ________ _________ ________ ________
# |\ ____\|\___ ___\\ __ \|\ __ \
# \ \ \___|\|___ \ \_\ \ \|\ \ \ \|\ \
# \ \_____ \ \ \ \ \ \ \\\ \ \ ____\
# \|____|\ \ \ \ \ \ \ \\\ \ \ \___|
# ____\_\ \ \ \__\ \ \_______\ \__\
# |\_________\ \|__| \|_______|\|__|
# \|_________|
#
#
# AUTO-GENERATED - DO NOT EDIT
#
# The targets below are auto-generated based on the targets defined in the
# BUILD.bazel file from the same directory. If you made changes to targets in
# Bazel, instead of editing this file manually, run:
#
# > fx bazel2gn
#
# Please do NOT edit this file directly. Instead, edit the BUILD.bazel file and
# rerun bazel2gn.
import("//build/tools/bazel2gn/bazel_migration.gni")
ffx_plugin("ffx_bluetooth") {
args_deps = [
"//src/developer/ffx/core:lib",
"//third_party/rust_crates:argh",
]
args_sources = [ "src/args.rs" ]
edition = "2024"
plugin_deps = [
"//src/developer/ffx/tools/bluetooth/src/connectable:ffx_bluetooth_connectable",
"//src/developer/ffx/tools/bluetooth/src/controller:ffx_bluetooth_controller",
"//src/developer/ffx/tools/bluetooth/src/discoverable:ffx_bluetooth_discoverable",
"//src/developer/ffx/tools/bluetooth/src/discovery:ffx_bluetooth_discovery",
"//src/developer/ffx/tools/bluetooth/src/pairable:ffx_bluetooth_pairable",
"//src/developer/ffx/tools/bluetooth/src/pandora:ffx_bluetooth_pandora",
"//src/developer/ffx/tools/bluetooth/src/peer:ffx_bluetooth_peer",
]
}