| // 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" ], |
| program: { |
| runner: "elf", |
| binary: "bin/remote_control_bin", |
| args: [ "remote-control" ], |
| }, |
| capabilities: [ |
| { protocol: "fuchsia.developer.remotecontrol.RemoteControl" }, |
| ], |
| use: [ |
| { |
| directory: "hub", |
| from: "parent", |
| rights: [ "rw*" ], |
| path: "/discovery_root", |
| }, |
| { |
| directory: "config-data", |
| rights: [ "r*" ], |
| path: "/config/data", |
| }, |
| { |
| protocol: [ |
| "fuchsia.buildinfo.Provider", |
| "fuchsia.developer.remotecontrol.RemoteDiagnosticsBridge", |
| "fuchsia.device.NameProvider", |
| "fuchsia.hwinfo.Device", |
| "fuchsia.net.interfaces.State", |
| "fuchsia.overnet.Overnet", |
| "fuchsia.overnet.ServicePublisher", |
| "fuchsia.posix.socket.Provider", |
| "fuchsia.sys.Launcher", |
| "fuchsia.sys2.LifecycleController.root", |
| "fuchsia.sys2.RealmExplorer.root", |
| "fuchsia.sys2.RealmQuery.root", |
| "fuchsia.sys2.RouteValidator.root", |
| "fuchsia.test.manager.Query", |
| "fuchsia.test.manager.RunBuilder", |
| ], |
| }, |
| ], |
| expose: [ |
| { |
| protocol: "fuchsia.developer.remotecontrol.RemoteControl", |
| from: "self", |
| }, |
| ], |
| } |