-
Notifications
You must be signed in to change notification settings - Fork 79
/
Copy pathui_minimal.core_shard.cml
66 lines (65 loc) · 1.85 KB
/
ui_minimal.core_shard.cml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
// 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/ui_routes_base.shard.cml" ],
children: [
{
name: "ui",
url: "fuchsia-pkg://fuchsia.com/ui#meta/ui_minimal.cm",
environment: "#core-env",
},
],
// Protocols used from a child are routed to the v1 sys realm.
// See also //src/sys/appmgr/meta/appmgr.core_shard.cml
use: [
{
protocol: [ "fuchsia.session.scene.Manager" ],
from: "#ui",
dependency: "weak_for_migration",
},
{
protocol: [ "fuchsia.lightsensor.Sensor" ],
from: "#ui",
dependency: "weak_for_migration",
},
],
offer: [
{
protocol: [ "fuchsia.settings.Keyboard" ],
from: "#setui_service",
to: "#ui",
},
{
protocol: [ "fuchsia.media.sounds.Player" ],
from: "#soundplayer",
to: "#ui",
},
{
protocol: [ "fuchsia.session.scene.Manager" ],
from: "#ui",
to: "#session-manager",
},
{
protocol: [ "fuchsia.ui.policy.Presenter" ],
from: "void",
to: "#session-manager",
availability: "optional",
},
{
protocol: [ "fuchsia.factory.MiscFactoryStoreProvider" ],
from: "#factory_store_providers",
to: "#ui",
},
{
protocol: [ "fuchsia.ui.brightness.Control" ],
from: "#brightness_manager",
to: "#ui",
},
{
protocol: [ "fuchsia.settings.Light" ],
from: "#setui_service",
to: "#ui",
},
],
}