| // Copyright 2022 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. | |
| { | |
| include: [ | |
| "//sdk/lib/inspect/client.shard.cml", | |
| "syslog/client.shard.cml", | |
| "trace/use.shard.cml", | |
| ], | |
| program: { | |
| runner: "elf", | |
| binary: "bin/camera_device_bin", | |
| }, | |
| capabilities: [ | |
| { | |
| protocol: [ | |
| "fuchsia.camera3.Device", | |
| "fuchsia.camera3.Stream", | |
| ], | |
| }, | |
| ], | |
| use: [ | |
| { service: "fuchsia.hardware.camera.Service" }, | |
| { | |
| protocol: [ | |
| //"fuchsia.camera2.hal.Controller", | |
| "fuchsia.metrics.MetricEventLoggerFactory", | |
| "fuchsia.sysmem.Allocator", | |
| "fuchsia.sysmem2.Allocator", | |
| "fuchsia.ui.policy.DeviceListenerRegistry", | |
| ], | |
| }, | |
| ], | |
| expose: [ | |
| { | |
| protocol: [ | |
| "fuchsia.camera3.Device", | |
| "fuchsia.camera3.Stream", | |
| ], | |
| from: "self", | |
| }, | |
| ], | |
| } |