| # 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("i2c-hid") { |
| sources = [ |
| "i2c-hid.c", |
| ] |
| deps = [ |
| "$zx/system/banjo/ddk.protocol.hidbus", |
| "$zx/system/banjo/ddk.protocol.i2c", |
| "$zx/system/ulib/ddk", |
| "$zx/system/ulib/hid", |
| "$zx/system/ulib/sync", |
| "$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", |
| ] |
| } |