blob: 760d1fdc7637a86129ee1463dd89efec34cfa71c [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/components.gni")
executable("bin") {
output_name = "bt-intel-tool"
sources = [
"command_channel.cc",
"command_channel.h",
"commands.cc",
"commands.h",
"intel_firmware_loader.cc",
"intel_firmware_loader.h",
"main.cc",
]
deps = [
"../lib",
"//sdk/lib/fdio",
"//src/connectivity/bluetooth/core/bt-host/common",
"//src/connectivity/bluetooth/core/bt-host/hci",
"//src/connectivity/bluetooth/core/bt-host/hci-spec",
"//src/connectivity/bluetooth/core/bt-host/transport",
]
public_deps = [
"//sdk/fidl/fuchsia.hardware.bluetooth:fuchsia.hardware.bluetooth_c_client",
"//sdk/lib/fit",
"//zircon/system/ulib/fzl",
]
# TODO(https://fxbug.dev/58162): delete the below and fix compiler warnings
configs += [ "//build/config:Wno-conversion" ]
# TODO(fxbug.dev/95833): This target uses the deprecated C bindings.
# Consider switching to the C++ bindings. See linked bug for details.
configs += [ "//build/c:fidl-deprecated-c-bindings" ]
}
fuchsia_shell_package("bt-intel-tool") {
deps = [ ":bin" ]
}