| // 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. |
| |
| // Tests that need to provide the ELF runner to children, but otherwise do not |
| // need to use the ELF runner itself (component without a program) may use this |
| // shard to conveniently define an ELF runner component in the root realm. |
| { |
| children: [ |
| { |
| name: "elf_runner", |
| url: "fuchsia-builtin://#elf_runner.cm", |
| }, |
| ], |
| offer: [ |
| { |
| protocol: [ "fuchsia.process.Launcher" ], |
| from: "parent", |
| to: "#elf_runner", |
| }, |
| ], |
| environments: [ |
| { |
| name: "elf-env", |
| extends: "realm", |
| runners: [ |
| { |
| runner: "elf", |
| from: "#elf_runner", |
| }, |
| ], |
| }, |
| ], |
| } |