blob: 009068bfe55769ec1a5fccf93044cccb86670b85 [file] [log] [blame]
# Copyright 2017 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/package.gni")
# Package containing command-line developer tools. bt-snoop lives in a separate
# package defined under the bt-snoop/ directory.
package("bluetooth-tools") {
name = "bluetooth_tools"
deps = [
"bt-avdtp-tool",
"bt-avrcp-controller",
"bt-bredr-profile",
"bt-cli",
"bt-hci-emulator",
"bt-hci-tool",
"bt-intel-tool",
"bt-le-central",
"bt-le-peripheral",
"bt-pairing-tool",
"bt-snoop-cli",
]
binaries = [
{
name = "bt_avdtp_tool"
dest = "bt-avdtp-tool"
shell = true
},
{
name = "bt_avrcp_controller"
dest = "bt-avrcp-controller"
shell = true
},
{
name = "bt_bredr_profile"
dest = "bt-bredr-profile"
shell = true
},
{
name = "bt_cli"
dest = "bt-cli"
shell = true
},
{
name = "bt_snoop_cli"
dest = "bt-snoop-cli"
shell = true
},
{
name = "bt_hci_emulator"
dest = "bt-hci-emulator"
shell = true
},
{
name = "bt-hci-tool"
shell = true
},
{
name = "bt-intel-tool"
shell = true
},
{
name = "bt_le_central"
dest = "bt-le-central"
shell = true
},
{
name = "bt_le_peripheral"
dest = "bt-le-peripheral"
shell = true
},
{
name = "bt_pairing_tool"
dest = "bt-pairing-tool"
shell = true
},
]
}
group("tools") {
testonly = true
deps = [ ":bluetooth-tools" ]
}
group("tests") {
testonly = true
deps = [
"bt-avdtp-tool:tests",
"bt-avrcp-controller:tests",
"bt-bredr-profile:tests",
"bt-cli:tests",
"bt-le-central:tests",
"bt-le-peripheral:tests",
"bt-snoop:tests",
"tests",
]
}