blob: 7f1434d67d3dd82974566cebcde626ca66259533 [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.
driver("hid-buttons") {
sources = [
"hid-buttons.cc",
]
deps = [
"$zx/system/banjo/ddk.protocol.gpio",
"$zx/system/banjo/ddk.protocol.hidbus",
"$zx/system/banjo/ddk.protocol.platform.bus",
"$zx/system/banjo/ddk.protocol.platform.device",
"$zx/system/ulib/ddk",
"$zx/system/ulib/ddktl",
"$zx/system/ulib/fbl",
"$zx/system/ulib/hid",
"$zx/system/ulib/sync",
"$zx/system/ulib/zircon",
"$zx/system/ulib/zx",
]
# TODO(ZX-2863): This driver violates the allowed shlib deps policy.
deprecated_inhibit_driver_shlib_allowlist = true
}
test("hid-buttons-test") {
output_name = "hid-buttons-test"
sources = [
"hid-buttons-test.cc",
"hid-buttons.cc",
]
deps = [
"$zx/system/banjo/ddk.protocol.gpio",
"$zx/system/banjo/ddk.protocol.hidbus",
"$zx/system/banjo/ddk.protocol.platform.bus",
"$zx/system/banjo/ddk.protocol.platform.device",
"$zx/system/dev/lib/fake_ddk",
"$zx/system/ulib/ddk",
"$zx/system/ulib/ddktl",
"$zx/system/ulib/fbl",
"$zx/system/ulib/hid",
"$zx/system/ulib/mock-function",
"$zx/system/ulib/sync",
"$zx/system/ulib/zircon",
"$zx/system/ulib/zx",
"$zx/system/ulib/zxtest",
]
}