blob: 3ccea815e67d486d5d637eb6a88d66d84ab1c293 [file] [log] [blame]
# Copyright 2018 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/config/fuchsia/rules.gni")
import("//build/driver_package.gni")
driver_module("driver") {
output_name = "bt-hci-emulator"
testonly = true
sources = [
"device.cc",
"device.h",
"driver.cc",
"log.h",
"peer.cc",
"peer.h",
]
deps = [
"//sdk/banjo/ddk.protocol.test",
"//sdk/fidl/fuchsia.bluetooth.test",
"//sdk/fidl/fuchsia.hardware.bluetooth:fuchsia.hardware.bluetooth_c_client",
"//sdk/lib/syslog/cpp:backend_legacy",
"//src/connectivity/bluetooth/core/bt-host:fidl_helpers",
"//src/connectivity/bluetooth/core/bt-host/hci",
"//src/connectivity/bluetooth/core/bt-host/testing:fake_controller",
"//src/connectivity/bluetooth/lib/fidl",
"//src/devices/lib/driver",
"//src/lib/ddk",
# TODO(fxb/38132): Migrate to the new bind rules and delete the below
"//src/lib/ddk:ddk-deprecated-binding-headers",
"//zircon/public/lib/async-cpp",
"//zircon/public/lib/fbl",
"//zircon/public/lib/sync",
"//zircon/public/lib/zx",
"//zircon/system/ulib/async-default",
]
}
driver_package("emulator") {
testonly = true
deps = [ ":driver" ]
drivers = [
{
name = "bt-hci-emulator.so"
},
]
}