| // Copyright 2019 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. |
| |
| // Realm for the shutdown integration test, it requests the SystemController protocol |
| { |
| children: [ |
| { |
| name: "power_switch", |
| url: "fuchsia-pkg://fuchsia.com/shutdown_integration_test#meta/system_controller_consumer.cm", |
| startup: "eager", |
| }, |
| ], |
| offer: [ |
| // Offer the ELF runner to children. |
| { |
| runner: "elf", |
| from: "realm", |
| to: [ "#power_switch" ], |
| }, |
| { |
| protocol: [ |
| "/svc/fuchsia.logger.LogSink", |
| "/svc/fuchsia.sys2.SystemController", |
| ], |
| from: "realm", |
| to: [ "#power_switch" ], |
| }, |
| ], |
| } |