| // 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: [ | |
| "//src/ui/meta/a11y_routes.shard.cml", | |
| "//src/ui/meta/scene_manager_routes.shard.cml", | |
| "//src/ui/meta/scenic_routes.shard.cml", | |
| "//src/ui/meta/text_manager_routes.shard.cml", | |
| "//src/ui/meta/virtual_keyboard_manager_routes.shard.cml", | |
| "inspect/offer.shard.cml", | |
| "syslog/client.shard.cml", | |
| ], | |
| offer: [ | |
| { | |
| protocol: [ "fuchsia.media.sounds.Player" ], | |
| from: "parent", | |
| to: [ "#scene_manager" ], | |
| availability: "optional", | |
| }, | |
| { | |
| protocol: [ | |
| "fuchsia.factory.MiscFactoryStoreProvider", | |
| "fuchsia.settings.Light", | |
| "fuchsia.ui.brightness.Control", | |
| ], | |
| from: "parent", | |
| to: [ "#scene_manager" ], | |
| availability: "same_as_target", | |
| }, | |
| { | |
| service: "fuchsia.hardware.display.Service", | |
| from: "parent", | |
| to: [ "#scenic" ], | |
| }, | |
| { | |
| protocol: [ "fuchsia.ui.input.internal.InputOwnership" ], | |
| from: "#scenic", | |
| to: [ "#scene_manager" ], | |
| }, | |
| ], | |
| expose: [ | |
| { | |
| protocol: "fuchsia.ui.display.color.Converter", | |
| from: "#scenic", | |
| }, | |
| { | |
| protocol: "fuchsia.lightsensor.Sensor", | |
| from: "#scene_manager", | |
| }, | |
| ], | |
| } |