| // 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. |
| { |
| include: [ "syslog/offer.shard.cml" ], |
| children: [ |
| { |
| name: "elf_runner", |
| url: "#meta/elf_runner.cm", |
| }, |
| { |
| name: "colocated-runner", |
| url: "#meta/colocated-runner.cm", |
| environment: "#colocated-runner-env", |
| }, |
| ], |
| collections: [ |
| { |
| name: "collection", |
| environment: "#colocated-env", |
| durability: "single_run", |
| }, |
| ], |
| offer: [ |
| { |
| protocol: "fuchsia.process.Launcher", |
| from: "parent", |
| to: "#elf_runner", |
| }, |
| ], |
| environments: [ |
| { |
| name: "colocated-runner-env", |
| extends: "realm", |
| runners: [ |
| { |
| runner: "elf", |
| from: "#elf_runner", |
| }, |
| ], |
| }, |
| { |
| name: "colocated-env", |
| extends: "realm", |
| runners: [ |
| { |
| runner: "colocated", |
| from: "#colocated-runner", |
| }, |
| ], |
| }, |
| ], |
| } |