blob: cb7d082b773001892c3d2636385300134b037730 [file] [log] [blame]
// 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: [
"syslog/client.shard.cml",
"syslog/elf_stdio.shard.cml",
],
program: {
runner: "elf",
binary: "bin/camera_device_watcher_bin",
},
capabilities: [
{
protocol: [
"fuchsia.camera.test.DeviceWatcherTester",
"fuchsia.camera3.DeviceWatcher",
],
},
],
use: [
{
directory: "dev-camera",
rights: [ "r*" ],
path: "/dev/class/camera",
},
// TODO(fxb/92885) migrate camera_device.cmx to components v2
// and remove this v1 dependency
{
protocol: [ "fuchsia.sys.Launcher" ],
},
],
expose: [
{
protocol: [
"fuchsia.camera.test.DeviceWatcherTester",
"fuchsia.camera3.DeviceWatcher",
],
from: "self",
},
],
}