blob: 70a5d4bd70a626d9174bd941223d7b37ccb3d53a [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",
},
{
name: "feedback-config",
url: "fuchsia-pkg://fuchsia.com/feedback-config#meta/feedback-config.cm",
},
],
offer: [
{
protocol: [
"fuchsia.driver.crash.CrashIntrospect",
"fuchsia.process.Launcher",
"fuchsia.sys2.CrashIntrospect",
],
from: "parent",
to: "#exceptions",
},
{
protocol: [
"fuchsia.boot.ReadOnlyLog",
"fuchsia.hardware.power.statecontrol.ShutdownWatcherRegister",
"fuchsia.process.Launcher",
"fuchsia.sysinfo.SysInfo",
],
from: "parent",
to: "#feedback",
},
{
protocol: "fuchsia.diagnostics.ArchiveAccessor.feedback",
from: "parent/diagnostics-accessors",
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.feedback.CrashReporter",
from: "#feedback",
to: "#exceptions",
},
{
directory: "config-data",
from: "parent",
to: [
"#exceptions",
"#feedback",
],
subdir: "forensics",
},
{
directory: "feedback-config",
from: "#feedback-config",
to: [ "#feedback" ],
rights: [ "r*" ],
},
{
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.ComponentDataRegister",
"fuchsia.feedback.CrashReporter",
"fuchsia.feedback.DataProvider",
],
from: "#feedback",
},
],
}