blob: 4728d221284c7057524d5d1018b4476e36254b3e [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-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/gap",
"//src/connectivity/bluetooth/core/bt-host/hci",
]
public_deps = [
"//sdk/fidl/fuchsia.hardware.bluetooth:fuchsia.hardware.bluetooth_c_client",
"//zircon/public/lib/fit",
"//zircon/system/ulib/fzl",
]
# TODO(fxbug.dev/58162): delete the below and fix compiler warnings
configs += [ "//build/config:Wno-conversion" ]
}
package("bt-intel-tool") {
name = "bt_intel_tool"
deps = [ ":bin" ]
binaries = [
{
name = "bt-intel-tool"
shell = true
},
]
}