blob: 2e3483ff149e857f98068859ce34819183df9082 [file] [edit]
// Copyright 2026 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.
{
name: "usb-adb-function",
include: [ "driver/dml/usb.constants.dml" ],
program: {
colocate: "true",
default_dispatcher_opts: [ "allow_sync_calls" ],
bind: {
protocol: "fuchsia.usb.BIND_PROTOCOL.FUNCTION",
usb: {
class: "usb.CLASS.VENDOR_SPECIFIC",
subclass: "usb.GOOGLE_SUBCLASS.ADB",
protocol: "usb.GOOGLE_PROTOCOL.ADB",
},
},
},
capabilities: [
{ service: "fuchsia.hardware.adb.Service" },
],
use: [
{ service: "fuchsia.driver.compat.Service" },
{ service: "fuchsia.hardware.usb.function.UsbFunctionService" },
{ protocol: "fuchsia.hardware.usb.endpoint.Endpoint" },
],
expose: [
{
service: "fuchsia.hardware.adb.Service",
from: "self",
},
],
}