| // 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. | |
| { | |
| include: [ | |
| "//sdk/lib/sys/component/realm_builder.shard.cml", | |
| "//src/lib/fake-clock/lib/client.shard.cml", | |
| "//src/sys/test_runners/rust/default.shard.cml", | |
| "inspect/client.shard.cml", | |
| "syslog/client.shard.cml", | |
| ], | |
| program: { | |
| binary: "bin/src_sys_time_example", | |
| }, | |
| use: [ | |
| { | |
| protocol: [ "test.time.realm.RealmFactory" ], | |
| from: "parent", | |
| }, | |
| { | |
| protocol: [ "fuchsia.testing.FakeClockControl" ], | |
| from: "parent", | |
| }, | |
| ], | |
| offer: [ | |
| { | |
| protocol: [ | |
| "fuchsia.metrics.MetricEventLoggerFactory", | |
| "fuchsia.time.external.PushSource", | |
| ], | |
| from: "parent", | |
| to: "#realm_builder", | |
| }, | |
| ], | |
| } |