| # 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/config/fuchsia/rules.gni") |
| import("//build/package.gni") |
| |
| driver_module("driver") { |
| output_name = "bt-hci-passthrough" |
| |
| sources = [ |
| "passthrough.c", |
| ] |
| |
| deps = [ |
| "//zircon/public/banjo/ddk-protocol-bt-hci", |
| "//zircon/public/lib/ddk", |
| "//zircon/public/lib/driver", |
| "//zircon/public/lib/zx", |
| ] |
| |
| configs += [ "//build/config/fuchsia:enable_zircon_asserts" ] |
| } |
| |
| package("passthrough") { |
| deprecated_system_image = true |
| |
| deps = [ |
| ":driver", |
| ] |
| |
| drivers = [ |
| { |
| name = "bt-hci-passthrough.so" |
| }, |
| ] |
| } |