blob: 2ec96df8df6a02f08749e624915d0f08eb0d9a9d [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-hog"
sources = [
"binding.c",
"hog.c",
"hog.h",
]
deps = [
"//sdk/banjo/ddk.protocol.bt.gattsvc",
"//sdk/banjo/ddk.protocol.hidbus",
"//src/connectivity/bluetooth/lib/device-protocol-bt-gatt-svc",
"//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/zx",
]
}
driver_package("bt-hog") {
deps = [ ":driver" ]
drivers = [
{
name = "bt-hog.so"
},
]
}