blob: 5308159b4663bf549ada7d6f6be5f5c1cabf7526 [file] [log] [blame]
# Copyright 2019 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")
driver_module("bt-transport-uart") {
configs += [
"//build/config:all_source",
"//build/config/fuchsia:enable_zircon_asserts",
]
configs += [ "//build/unification/config:zircon-migrated" ]
sources = [ "bt-transport-uart.c" ]
deps = [
"//sdk/banjo/ddk.protocol.bt.hci",
"//sdk/banjo/ddk.protocol.serial",
"//sdk/banjo/ddk.protocol.serialimpl.async",
"//sdk/fidl/fuchsia.hardware.serial:fuchsia.hardware.serial_c",
"//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/sync",
]
# TODO(fxbug.dev/58162): delete the below and fix compiler warnings
configs += [ "//build/config:Wno-conversion" ]
}