blob: f6273985e2db87158070dd47d3a4fcd3d0346161 [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("usb-composite") {
configs += [
"//build/config:all_source",
"//build/config/fuchsia:enable_zircon_asserts",
]
configs += [ "//build/unification/config:zircon-migrated" ]
sources = [
"usb-composite.cc",
"usb-interface.cc",
]
deps = [
"//sdk/banjo/ddk.protocol.usb",
"//sdk/banjo/ddk.protocol.usb.composite",
"//sdk/banjo/ddk.protocol.usb.request",
"//src/devices/lib/driver",
"//src/devices/usb/lib/usb",
"//src/lib/ddk",
# TODO(fxb/38132): Migrate to the new bind rules and delete the below
"//src/lib/ddk:ddk-deprecated-binding-headers",
"//src/lib/ddktl",
"//zircon/public/lib/fbl",
"//zircon/public/lib/sync",
]
}