blob: 2add8224e1dedaf20659e5958cafaf7e02fa8601 [file] [log] [blame]
// Copyright 2023 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.
// Adds sl4f to core
{
children: [
{
name: "sl4f",
url: "fuchsia-pkg://fuchsia.com/sl4f#meta/sl4f.cm",
environment: "#laboratory-env",
},
{
name: "data_proxy",
url: "fuchsia-pkg://fuchsia.com/sl4f#meta/data_proxy.cm",
environment: "#core-env",
},
{
name: "audio_recording",
url: "fuchsia-pkg://fuchsia.com/sl4f#meta/audio_recording.cm",
environment: "#core-env",
},
],
offer: [
{
protocol: [
"fuchsia.bluetooth.bredr.Profile",
"fuchsia.bluetooth.gatt2.Server",
"fuchsia.bluetooth.le.Central",
"fuchsia.bluetooth.le.Peripheral",
"fuchsia.bluetooth.rfcomm.test.RfcommTest", //test only
"fuchsia.bluetooth.sys.Access",
"fuchsia.bluetooth.sys.Configuration",
"fuchsia.bluetooth.sys.HostWatcher",
"fuchsia.bluetooth.sys.Pairing",
],
from: "#bluetooth-core",
to: "#sl4f",
source_availability: "unknown",
},
{
protocol: "fuchsia.buildinfo.Provider",
from: "#build-info",
to: "#sl4f",
},
{
protocol: "fuchsia.location.namedplace.RegulatoryRegionConfigurator",
from: "#regulatory_region",
to: "#sl4f",
},
{
protocol: "fuchsia.recovery.FactoryReset",
from: "#factory_reset",
to: "#sl4f",
},
{
protocol: "fuchsia.feedback.DataProvider",
from: "#feedback",
to: "#sl4f",
},
{
protocol: [
"fuchsia.hwinfo.Board",
"fuchsia.hwinfo.Device",
"fuchsia.hwinfo.Product",
],
from: "#hwinfo",
to: "#sl4f",
},
{
protocol: "fuchsia.memorypressure.Provider",
from: "#memory_monitor",
to: "#sl4f",
},
{
protocol: [
"fuchsia.net.interfaces.State",
"fuchsia.net.name.Lookup",
"fuchsia.posix.socket.Provider",
],
from: "#network",
to: [
"#data_proxy",
"#sl4f",
],
},
{
protocol: [
"fuchsia.settings.Audio",
"fuchsia.settings.Display",
"fuchsia.settings.Input",
"fuchsia.settings.Intl",
"fuchsia.settings.Setup",
],
from: "#setui_service",
to: "#sl4f",
source_availability: "unknown",
},
{
protocol: "fuchsia.media.sessions2.ActiveSession",
from: "#mediasession",
to: "#sl4f",
source_availability: "unknown",
},
{
protocol: "fuchsia.media.sessions2.Publisher",
from: "#mediasession",
to: "#sl4f",
source_availability: "unknown",
},
{
protocol: "fuchsia.media.sounds.Player",
from: "#soundplayer",
to: "#sl4f",
source_availability: "unknown",
},
{
protocol: "fuchsia.web.Debug",
from: "#context_provider",
as: "fuchsia.web.Debug-context_provider",
to: "#sl4f",
source_availability: "unknown",
},
{
protocol: "fuchsia.power.metrics.Recorder",
from: "#metrics-logger",
to: "#sl4f",
source_availability: "unknown",
},
{
protocol: [
"fuchsia.element.GraphicalPresenter",
"fuchsia.input.injection.InputDeviceRegistry", // test-only
"fuchsia.ui.composition.Allocator",
"fuchsia.ui.composition.Flatland",
"fuchsia.ui.composition.Screenshot",
"fuchsia.ui.scenic.Scenic",
],
from: "#ui",
to: "#sl4f",
dependency: "weak",
source_availability: "unknown",
},
{
protocol: [
"fuchsia.wlan.policy.AccessPointListener",
"fuchsia.wlan.policy.AccessPointProvider",
"fuchsia.wlan.policy.ClientListener",
"fuchsia.wlan.policy.ClientProvider",
"fuchsia.wlan.product.deprecatedconfiguration.DeprecatedConfigurator",
],
from: "#wlancfg",
to: "#sl4f",
source_availability: "unknown",
},
{
protocol: [ "fuchsia.wlan.device.service.DeviceMonitor" ],
from: "#wlandevicemonitor",
to: "#sl4f",
source_availability: "unknown",
},
{
protocol: [
"fuchsia.device.NameProvider",
"fuchsia.diagnostics.ArchiveAccessor",
"fuchsia.diagnostics.FeedbackArchiveAccessor",
"fuchsia.diagnostics.LegacyMetricsArchiveAccessor",
"fuchsia.hardware.power.statecontrol.Admin",
"fuchsia.logger.LogSink",
"fuchsia.paver.Paver",
"fuchsia.sys2.LifecycleController.root",
"fuchsia.sys2.RealmQuery.root",
"fuchsia.sysmem.Allocator",
"fuchsia.sysmem2.Allocator",
],
from: "parent",
to: "#sl4f",
},
{
protocol: "fuchsia.weave.FactoryDataManager",
from: "#weave_auth",
to: "#sl4f",
source_availability: "unknown",
},
{
protocol: [ "fuchsia.tracing.controller.Controller" ],
from: "#trace_manager",
to: [ "#sl4f" ],
source_availability: "unknown",
},
{
protocol: [ "fuchsia.media.ProfileProvider" ],
from: "#audio_core",
to: "#sl4f",
source_availability: "unknown",
},
{
protocol: [
"fuchsia.session.Launcher",
"fuchsia.session.Restarter",
],
from: "#session-manager",
to: "#sl4f",
source_availability: "unknown",
},
{
protocol: [ "fuchsia.web.Debug" ],
from: "#session-manager",
to: "#sl4f",
source_availability: "unknown",
},
{
event_stream: "stopped",
from: "parent",
as: "stopped_v2",
to: "#sl4f",
scope: "#sl4f",
},
{
protocol: "fuchsia.logger.LogSink",
from: "parent",
to: [
"#audio_recording",
"#data_proxy",
],
},
{
protocol: "fuchsia.testing.proxy.TcpProxyControl",
from: "#data_proxy",
to: "#sl4f",
},
{
protocol: "fuchsia.test.audio.recording.AudioRecordingControl",
from: "#audio_recording",
to: "#sl4f",
},
{
protocol: [
"fuchsia.factory.AlphaFactoryStoreProvider",
"fuchsia.factory.CastCredentialsFactoryStoreProvider",
"fuchsia.factory.MiscFactoryStoreProvider",
"fuchsia.factory.PlayReadyFactoryStoreProvider",
"fuchsia.factory.WeaveFactoryStoreProvider",
"fuchsia.factory.WidevineFactoryStoreProvider",
],
from: "#factory_store_providers",
to: "#sl4f",
// See: https://fxbug.dev/42054039
source_availability: "unknown",
},
// TODO(https://fxbug.dev/42181129): Remove once fixed.
{
directory: "data",
from: "parent",
to: "#sl4f",
},
// TODO(https://fxbug.dev/42181123): Remove once https://fxbug.dev/42167600 is fixed.
{
directory: "tmp",
from: "parent",
to: "#sl4f",
},
{
directory: "dev-class",
from: "parent",
as: "dev-temperature",
to: "#sl4f",
subdir: "temperature",
},
{
directory: "dev-topological",
from: "parent",
to: "#audio_recording",
},
],
}