| // 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/client.shard.cml", |
| "syslog/client.shard.cml", |
| ], |
| capabilities: [ |
| { |
| protocol: [ |
| "fuchsia.ui.app.ViewProvider", |
| "test.placeholders.Echo", |
| ], |
| }, |
| ], |
| use: [ |
| { |
| protocol: [ |
| "fuchsia.sysmem.Allocator", |
| "fuchsia.sysmem2.Allocator", |
| "fuchsia.tracing.provider.Registry", |
| "fuchsia.ui.composition.Allocator", |
| "fuchsia.ui.composition.Flatland", |
| "fuchsia.ui.input3.Keyboard", |
| "fuchsia.vulkan.loader.Loader", |
| ], |
| }, |
| { |
| storage: "cache", |
| path: "/cache", |
| }, |
| { |
| directory: "dev-input-report", |
| rights: [ "r*" ], |
| path: "/dev/class/input-report", |
| }, |
| { |
| directory: "dev-display-coordinator", |
| rights: [ "r*" ], |
| path: "/dev/class/display-coordinator", |
| }, |
| { |
| directory: "dev-input", |
| rights: [ "r*" ], |
| path: "/dev/class/input", |
| }, |
| ], |
| expose: [ |
| // This is necessary to start the component from a session. A session |
| // would connect to this protocol in order to start the component. |
| { |
| protocol: "fuchsia.component.Binder", |
| from: "framework", |
| }, |
| { |
| protocol: [ |
| "fuchsia.ui.app.ViewProvider", |
| "test.placeholders.Echo", |
| ], |
| from: "self", |
| }, |
| ], |
| } |