| // Copyright 2025 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: [ | |
| "//src/sys/test_runners/rust/default.shard.cml", | |
| "syslog/client.shard.cml", | |
| ], | |
| program: { | |
| binary: "bin/developer_console_integration_test", | |
| }, | |
| children: [ | |
| { | |
| name: "developer-console", | |
| url: "#meta/developer-console.cm", | |
| }, | |
| { | |
| name: "support", | |
| url: "#meta/developer-console-test-support.cm", | |
| }, | |
| { | |
| name: "ptysvc", | |
| url: "#meta/ptysvc.cm", | |
| }, | |
| ], | |
| use: [ | |
| { | |
| protocol: "fuchsia.component.Realm", | |
| from: "framework", | |
| }, | |
| { | |
| protocol: "fuchsia.developer.console.Launcher", | |
| from: "#developer-console", | |
| }, | |
| { | |
| dictionary: "directories", | |
| from: "#support", | |
| path: "/directories", | |
| }, | |
| ], | |
| // The capabilities needed by the launcher. | |
| offer: [ | |
| { | |
| protocol: "fuchsia.process.Launcher", | |
| from: "parent", | |
| to: "#developer-console", | |
| }, | |
| { | |
| protocol: "fuchsia.sys2.RealmQuery", | |
| from: "framework", | |
| to: "#developer-console", | |
| }, | |
| { | |
| protocol: "fuchsia.hardware.pty.Device", | |
| from: "#ptysvc", | |
| to: "#developer-console", | |
| }, | |
| { | |
| protocol: "fuchsia.boot.WriteOnlyLog", | |
| from: "parent", | |
| to: "#ptysvc", | |
| }, | |
| { | |
| directory: "boot", | |
| from: "#support", | |
| to: "#developer-console", | |
| }, | |
| ], | |
| expose: [ | |
| { | |
| protocol: [ "fuchsia.developer.console.Launcher" ], | |
| from: "#developer-console", | |
| }, | |
| ], | |
| } |