| # 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. |
| |
| driver("serial") { |
| deps = [ |
| ":common", |
| "$zx/system/ulib/driver", |
| ] |
| } |
| |
| source_set("common") { |
| sources = [ |
| "serial.cc", |
| ] |
| public_deps = [ |
| "$zx/system/banjo/ddk.protocol.serial", |
| "$zx/system/banjo/ddk.protocol.serialimpl", |
| "$zx/system/fidl/fuchsia-hardware-serial:c", |
| "$zx/system/fidl/fuchsia-hardware-serial:llcpp", |
| "$zx/system/ulib/ddk", |
| "$zx/system/ulib/ddktl", |
| "$zx/system/ulib/fbl", |
| "$zx/system/ulib/fidl-utils", |
| "$zx/system/ulib/zircon", |
| "$zx/system/ulib/zircon-internal", |
| "$zx/system/ulib/zx", |
| ] |
| } |