| # 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/package.gni") |
| |
| driver_module("driver") { |
| output_name = "bt-hog" |
| |
| sources = [ |
| "binding.c", |
| "hog.c", |
| "hog.h", |
| ] |
| |
| deps = [ |
| "//zircon/public/banjo/ddk.protocol.bt.gattsvc", |
| "//zircon/public/banjo/ddk.protocol.hidbus", |
| "//zircon/public/lib/ddk", |
| "//zircon/public/lib/driver", |
| "//zircon/public/lib/zx", |
| ] |
| } |
| |
| package("bt-hog") { |
| deprecated_system_image = true |
| |
| deps = [ |
| ":driver", |
| ] |
| |
| drivers = [ |
| { |
| name = "bt-hog.so" |
| }, |
| ] |
| } |