blob: 627ab6d29483da3ad337796580c4a6f96a2fd4f0 [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("lite-on") {
sources = [
"ltr-578als.cc",
]
deps = [
"$zx/system/banjo/ddk.protocol.hidbus",
"$zx/system/banjo/ddk.protocol.i2c",
"$zx/system/dev/lib/device-protocol-i2c",
"$zx/system/dev/lib/device-protocol-i2c-channel",
"$zx/system/dev/lib/mmio",
"$zx/system/ulib/ddk",
"$zx/system/ulib/ddktl",
"$zx/system/ulib/fbl",
"$zx/system/ulib/fit",
"$zx/system/ulib/hid",
"$zx/system/ulib/simplehid",
"$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("ltr-578als-test") {
output_name = "ltr-578als-test"
sources = [
"ltr-578als-test.cc",
"ltr-578als.cc",
]
deps = [
"$zx/system/dev/lib/device-protocol-i2c",
"$zx/system/dev/lib/device-protocol-i2c-channel",
"$zx/system/dev/lib/fake_ddk",
"$zx/system/dev/lib/mmio",
"$zx/system/dev/lib/mock-hidbus-ifc",
"$zx/system/dev/lib/mock-i2c",
"$zx/system/ulib/ddk",
"$zx/system/ulib/ddktl",
"$zx/system/ulib/driver",
"$zx/system/ulib/fbl",
"$zx/system/ulib/fit",
"$zx/system/ulib/hid",
"$zx/system/ulib/simplehid",
"$zx/system/ulib/sync",
"$zx/system/ulib/unittest",
"$zx/system/ulib/zircon",
"$zx/system/ulib/zx",
"$zx/system/ulib/zxtest",
]
}