blob: 383b3fe9904c5bced4c2848d1cd3fa7658e2d5e0 [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.
import("//build/config/fuchsia/rules.gni")
driver_module("aml-i2c") {
configs += [
"//build/config:all_source",
"//build/config/fuchsia:enable_zircon_asserts",
]
configs += [ "//build/unification/config:zircon-migrated" ]
sources = [ "aml-i2c.c" ]
deps = [
"//sdk/banjo/ddk.protocol.i2c",
"//sdk/banjo/ddk.protocol.i2cimpl",
"//sdk/banjo/ddk.protocol.platform.device",
"//src/devices/bus/lib/device-protocol-platform-device",
"//src/devices/lib/driver",
"//src/lib/ddk",
# TODO(fxb/38132): Migrate to the new bind rules and delete the below
"//src/lib/ddk:ddk-deprecated-binding-headers",
"//zircon/public/lib/sync",
"//zircon/system/ulib/trace:trace-driver",
]
}