blob: 13c76746cfd30ca2682531271f39945ba842fa0d [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")
executable("bin") {
output_name = "bt-hci-tool"
sources = [
"commands.cc",
"commands.h",
"main.cc",
]
deps = [
"../lib",
"//sdk/lib/fdio",
"//src/connectivity/bluetooth/core/bt-host/common",
"//src/connectivity/bluetooth/core/bt-host/gap",
"//src/connectivity/bluetooth/core/bt-host/hci",
"//zircon/public/lib/fbl",
]
# TODO(fxbug.dev/58162): delete the below and fix compiler warnings
configs += [ "//build/config:Wno-conversion" ]
}
package("bt-hci-tool") {
name = "bt_hci_tool"
deps = [ ":bin" ]
binaries = [
{
name = "bt-hci-tool"
shell = true
},
]
}