| // Copyright 2024 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. |
| |
| // Add test_manager to bootstrap |
| { |
| children: [ |
| { |
| name: "test_manager", |
| url: "fuchsia-boot:///test_manager#meta/test_manager_for_bootstrap.cm", |
| }, |
| { |
| name: "test_manager_memfs", |
| url: "fuchsia-boot:///test_manager#meta/memfs.cm", |
| }, |
| ], |
| capabilities: [ |
| { |
| storage: "tmp", |
| from: "#test_manager_memfs", |
| subdir: "tmp", |
| backing_dir: "memfs", |
| storage_id: "static_instance_id_or_moniker", |
| }, |
| ], |
| offer: [ |
| { |
| dictionary: "diagnostics", |
| from: "self", |
| to: [ |
| "#test_manager", |
| "#test_manager_memfs", |
| ], |
| }, |
| { |
| dictionary: "diagnostics-accessors", |
| from: "#archivist", |
| to: "#test_manager", |
| }, |
| { |
| protocol: [ "fuchsia.tracing.provider.Registry" ], |
| from: "parent", |
| to: [ |
| "#test_manager", |
| "#test_manager_memfs", |
| ], |
| availability: "optional", |
| }, |
| { |
| protocol: "fuchsia.scheduler.RoleManager", |
| from: "#role_manager", |
| to: "#test_manager_memfs", |
| source_availability: "unknown", |
| }, |
| { |
| protocol: "fuchsia.component.resolution.Resolver", |
| from: "parent", |
| to: "#test_manager", |
| }, |
| { |
| protocol: "fuchsia.process.Launcher", |
| from: "parent", |
| to: "#test_manager", |
| }, |
| { |
| storage: "tmp", |
| from: "self", |
| to: "#test_manager", |
| }, |
| { |
| event_stream: [ |
| "capability_requested", |
| "destroyed", |
| "started", |
| "stopped", |
| ], |
| from: "parent", |
| to: "#test_manager", |
| scope: "#test_manager", |
| }, |
| ], |
| } |