blob: 57a8cff77c4f0df2c84fddc4d5bb2fd2e0014972 [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("sg-micro") {
sources = [
"sgm37603a.cpp",
]
deps = [
"$zx/system/banjo/ddk.protocol.composite",
"$zx/system/banjo/ddk.protocol.gpio",
"$zx/system/banjo/ddk.protocol.i2c",
"$zx/system/dev/lib/mmio",
"$zx/system/fidl/fuchsia-hardware-backlight:c",
"$zx/system/ulib/ddk",
"$zx/system/ulib/ddktl",
"$zx/system/ulib/fbl",
"$zx/system/ulib/fidl",
"$zx/system/ulib/sync",
"$zx/system/ulib/zircon",
"$zx/system/ulib/zx",
"$zx/system/ulib/zxcpp",
]
}
test("sgm37603a-test") {
output_name = "sgm37603a-test"
sources = [
"sgm37603a-test.cpp",
"sgm37603a.cpp",
]
deps = [
"$zx/system/banjo/ddk.protocol.composite",
"$zx/system/dev/lib/mock-i2c",
"$zx/system/fidl/fuchsia-hardware-backlight:c",
"$zx/system/ulib/ddk",
"$zx/system/ulib/ddktl",
"$zx/system/ulib/driver",
"$zx/system/ulib/fbl",
"$zx/system/ulib/fidl",
"$zx/system/ulib/sync",
"$zx/system/ulib/zircon",
"$zx/system/ulib/zx",
"$zx/system/ulib/zxcpp",
"$zx/system/ulib/zxtest",
]
}