blob: 5b3353236f29819ae0e3e69333eb369194fa6709 [file] [log] [blame]
// 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.
{
children: [
{
name: "exceptions",
url: "fuchsia-pkg://fuchsia.com/forensics#meta/exceptions.cm",
},
{
name: "feedback",
url: "fuchsia-pkg://fuchsia.com/forensics#meta/feedback.cm",
startup: "eager",
},
],
offer: [
{
protocol: [
"fuchsia.logger.LogSink",
"fuchsia.process.Launcher",
"fuchsia.sys2.CrashIntrospect",
],
from: "parent",
to: "#exceptions",
},
{
protocol: [
"fuchsia.boot.ReadOnlyLog",
"fuchsia.diagnostics.FeedbackArchiveAccessor",
"fuchsia.hardware.power.statecontrol.RebootMethodsWatcherRegister",
"fuchsia.logger.LogSink",
"fuchsia.process.Launcher",
"fuchsia.sysinfo.SysInfo",
],
from: "parent",
to: "#feedback",
},
{
protocol: [
"fuchsia.ui.activity.control.Control",
"fuchsia.ui.activity.Provider",
],
from: "#activity",
to: "#feedback",
},
{
protocol: "fuchsia.metrics.MetricEventLoggerFactory",
from: "#cobalt",
to: "#feedback",
},
{
protocol: [
"fuchsia.hwinfo.Board",
"fuchsia.hwinfo.Product",
],
from: "#hwinfo",
to: "#feedback",
},
{
protocol: "fuchsia.intl.PropertyProvider",
from: "#intl",
to: "#feedback",
// TODO(https://fxbug.dev/42058566): feedback is available in configurations
// where intl is not present. Fix this irrationality somehow.
source_availability: "unknown",
},
{
protocol: "fuchsia.net.interfaces.State",
from: "#network",
to: "#exceptions",
},
{
protocol: [
"fuchsia.net.http.Loader",
"fuchsia.net.interfaces.State",
],
from: "#network",
to: "#feedback",
},
{
protocol: "fuchsia.settings.Privacy",
from: "#setui_service",
to: "#feedback",
// TODO(https://fxbug.dev/42058576): break the cycle
dependency: "weak",
// TODO(https://fxbug.dev/42058576): feedback is available in configurations
// where setui_service is not present. Fix this irrationality somehow.
source_availability: "unknown",
},
{
protocol: "fuchsia.update.channelcontrol.ChannelControl",
from: "#system-update",
to: "#feedback",
dependency: "weak",
source_availability: "unknown",
availability: "optional",
},
{
protocol: "fuchsia.ui.composition.Screenshot",
from: "#ui",
to: "#feedback",
dependency: "weak",
source_availability: "unknown",
},
{
protocol: "fuchsia.feedback.CrashReporter",
from: "#feedback",
to: "#exceptions",
},
{
directory: "config-data",
from: "parent",
to: [
"#exceptions",
"#feedback",
],
subdir: "forensics",
},
{
directory: "build-info",
from: "parent",
to: "#feedback",
},
{
directory: "boot",
from: "parent",
to: "#feedback",
},
{
storage: "tmp",
from: "self",
to: "#exceptions",
},
{
storage: [
"cache",
"data",
"tmp",
],
from: "self",
to: "#feedback",
},
],
expose: [
{
protocol: [
"fuchsia.exception.Handler",
"only_meant_for_outliving_certain_components",
],
from: "#exceptions",
},
{
protocol: [
"fuchsia.feedback.CrashReporter",
"fuchsia.feedback.DataProvider",
],
from: "#feedback",
},
],
}