blob: 4f7c97dc40a555b721cc0f6e2c39e227db9fd6d7 [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.
zx_driver("pwm") {
sources = [
"pwm.cc",
]
deps = [
":common",
]
}
zx_test("pwm-test") {
testonly = true
output_name = "pwm-test"
sources = [
"pwm-test.cc",
"pwm.cc",
]
deps = [
":common",
"$zx/system/dev/lib/fake_ddk",
"$zx/system/ulib/zx",
"$zx/system/ulib/zxtest",
]
}
group("common") {
public_deps = [
"$zx/system/banjo/ddk.protocol.pwm",
"$zx/system/dev/lib/amlogic",
"$zx/system/ulib/ddk",
"$zx/system/ulib/ddktl",
"$zx/system/ulib/fbl",
"$zx/system/ulib/zircon",
"$zx/system/ulib/zircon-internal",
]
}