| // Copyright 2023 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. | |
| { | |
| children: [ | |
| { | |
| name: "remote-control", | |
| url: "fuchsia-pkg://fuchsia.com/remote-control#meta/remote-control.cm", | |
| startup: "eager", | |
| environment: "#core-env", | |
| }, | |
| { | |
| name: "fdomain-uart-driver", | |
| url: "fuchsia-pkg://fuchsia.com/remote-control#meta/fdomain-uart-driver.cm", | |
| startup: "eager", | |
| environment: "#core-env", | |
| }, | |
| ], | |
| offer: [ | |
| { | |
| config: "fuchsia.rcs.UseDefaultIdentity", | |
| from: "void", | |
| to: "#remote-control", | |
| availability: "optional", | |
| }, | |
| { | |
| protocol: [ "fuchsia.buildinfo.Provider" ], | |
| from: "#build-info", | |
| to: "#remote-control", | |
| }, | |
| { | |
| protocol: "fuchsia.vsock.Connector", | |
| from: "#vsock", | |
| to: "#remote-control", | |
| source_availability: "unknown", | |
| }, | |
| { | |
| dictionary: "diagnostics", | |
| from: "parent", | |
| to: "#remote-control", | |
| }, | |
| { | |
| protocol: [ "fuchsia.fuzzer.Manager" ], | |
| from: "#fuzz-manager", | |
| to: "#remote-control", | |
| source_availability: "unknown", | |
| }, | |
| { | |
| protocol: [ "fuchsia.hwinfo.Device" ], | |
| from: "#hwinfo", | |
| to: "#remote-control", | |
| }, | |
| { | |
| protocol: [ | |
| "fuchsia.net.interfaces.State", | |
| "fuchsia.posix.socket.Provider", | |
| ], | |
| from: "#network", | |
| to: "#remote-control", | |
| }, | |
| { | |
| protocol: [ | |
| "fuchsia.device.NameProvider", | |
| "fuchsia.kernel.Stats", | |
| "fuchsia.sysinfo.SysInfo", | |
| ], | |
| from: "parent", | |
| to: "#remote-control", | |
| }, | |
| { | |
| protocol: [ | |
| "fuchsia.test.manager.SuiteRunner", | |
| "fuchsia.test.manager.TestCaseEnumerator", | |
| ], | |
| from: "#test_manager", | |
| to: "#remote-control", | |
| source_availability: "unknown", | |
| }, | |
| // Note: These protocols are scoped to the root of the component topoology, | |
| // hence the `.root` suffix | |
| { | |
| protocol: [ | |
| "fuchsia.sys2.LifecycleController.root", | |
| "fuchsia.sys2.RealmQuery.root", | |
| "fuchsia.sys2.RouteValidator.root", | |
| ], | |
| from: "parent", | |
| to: "#remote-control", | |
| }, | |
| { | |
| directory: "data", | |
| from: "parent", | |
| to: "#remote-control", | |
| }, | |
| { | |
| protocol: [ | |
| "fuchsia.developer.remotecontrol.connector.Connector", | |
| "fuchsia.developer.remotecontrol.RemoteControl", | |
| ], | |
| from: "#remote-control", | |
| to: "self/toolbox", | |
| target_availability: "unknown", | |
| }, | |
| { | |
| protocol: "fuchsia.developer.remotecontrol.connector.Connector", | |
| from: "#remote-control", | |
| to: "#fdomain-uart-driver", | |
| }, | |
| { | |
| directory: "dev-class", | |
| from: "parent", | |
| as: "dev-class-serial", | |
| to: "#fdomain-uart-driver", | |
| subdir: "serial", | |
| }, | |
| { | |
| config: [ | |
| "fuchsia.dev.fdomain.uart", | |
| "fuchsia.dev.fdomain.uart.baud", | |
| ], | |
| from: "parent/boot_args", | |
| to: "#fdomain-uart-driver", | |
| }, | |
| ], | |
| } |