blob: 767891d6517f25f8b21e4c7500f3196cb821619f [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 = [
"binding.c",
"ltr-578als.cpp",
]
deps = [
"$zx/system/banjo/ddk.protocol.hidbus",
"$zx/system/banjo/ddk.protocol.i2c",
"$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",
"$zx/system/ulib/zxcpp",
]
}
test("ltr-578als-test") {
output_name = "ltr-578als-test"
sources = [
"ltr-578als-test.cpp",
"ltr-578als.cpp",
]
deps = [
"$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/zxcpp",
"$zx/system/ulib/zxtest",
]
}