blob: 45625e898174be74e5bee804cb811defde5b6e0f [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",
]
}
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/zxtest",
]
}