| // Copyright 2022 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: [ "inspect/offer.shard.cml" ], |
| children: [ |
| { |
| name: "test_driver", |
| url: "fuchsia-pkg://fuchsia.com/libopencl_test#meta/libopencl_test_driver.cm", |
| }, |
| { |
| name: "fake_opencl_loader", |
| url: "fuchsia-pkg://fuchsia.com/libopencl_test#meta/fake_opencl_loader.cm", |
| }, |
| ], |
| offer: [ |
| { |
| protocol: [ |
| "fuchsia.logger.Log", |
| "fuchsia.logger.LogSink", |
| ], |
| from: "parent", |
| to: [ |
| "#fake_opencl_loader", |
| "#test_driver", |
| ], |
| }, |
| { |
| protocol: "fuchsia.opencl.loader.Loader", |
| from: "#fake_opencl_loader", |
| to: [ "#test_driver" ], |
| }, |
| ], |
| expose: [ |
| { |
| protocol: "fuchsia.test.Suite", |
| from: "#test_driver", |
| }, |
| ], |
| } |