| // This is a CML shard, to be included by users of the fuchsia_component_test |
| // library |
| { |
| include: [ "//sdk/lib/diagnostics/syslog/client.shard.cml" ], |
| children: [ |
| { |
| name: "fuchsia_component_test_framework_intermediary", |
| url: "fuchsia-pkg://fuchsia.com/fuchsia-component-test#meta/framework-intermediary.cm", |
| }, |
| ], |
| collections: [ |
| { |
| name: "fuchsia_component_test_collection", |
| environment: "#realm_builder_env", |
| durability: "transient", |
| }, |
| ], |
| use: [ |
| { |
| protocol: "fuchsia.sys2.Realm", |
| from: "framework", |
| }, |
| ], |
| offer: [ |
| { |
| protocol: "fuchsia.logger.LogSink", |
| from: "parent", |
| to: [ "#fuchsia_component_test_framework_intermediary" ], |
| }, |
| |
| // [START collection_offers] |
| { |
| protocol: [ |
| "fuchsia.diagnostics.ArchiveAccessor", |
| "fuchsia.logger.LogSink", |
| "fuchsia.sys2.EventSource", |
| ], |
| from: "parent", |
| to: [ "#fuchsia_component_test_collection" ], |
| }, |
| |
| // [END collection_offers] |
| { |
| protocol: [ |
| "fuchsia.sys.Environment", |
| "fuchsia.sys.Loader", |
| ], |
| from: "parent", |
| to: [ "#fuchsia_component_test_framework_intermediary" ], |
| }, |
| ], |
| environments: [ |
| { |
| name: "realm_builder_env", |
| extends: "realm", |
| runners: [ |
| { |
| runner: "realm_builder", |
| from: "#fuchsia_component_test_framework_intermediary", |
| }, |
| ], |
| resolvers: [ |
| { |
| resolver: "realm_builder_resolver", |
| from: "#fuchsia_component_test_framework_intermediary", |
| scheme: "realm-builder", |
| }, |
| ], |
| }, |
| ], |
| } |