| # 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("hid") { |
| sources = [ |
| "hid-fifo.c", |
| "hid-parser-lib.cpp", |
| "hid.c", |
| ] |
| deps = [ |
| "$zx/system/banjo/ddk.protocol.hidbus", |
| "$zx/system/fidl/fuchsia-hardware-input:c", |
| "$zx/system/ulib/ddk", |
| "$zx/system/ulib/fbl", |
| "$zx/system/ulib/hid-parser", |
| "$zx/system/ulib/trace:trace-driver", |
| "$zx/system/ulib/zircon", |
| |
| # TODO(BLD-353): This is actually a transitive dependency of the ddk |
| # library, but the library doesn't express it properly because of |
| # legacy complications. |
| "$zx/system/ulib/trace:headers", |
| ] |
| } |