blob: 692c68e314f3b7fea0b94787dfa930a55c788f59 [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.
{
include: [ "inspect/offer.shard.cml" ],
children: [
{
name: "persistence",
url: "fuchsia-pkg://fuchsia.com/diagnostics-persistence#meta/diagnostics-persistence.cm",
},
],
offer: [
{
protocol: "fuchsia.logger.LogSink",
from: "parent",
to: "all",
},
{
protocol: [ "fuchsia.diagnostics.FeedbackArchiveAccessor" ],
from: "parent",
to: [ "#persistence" ],
},
{
directory: "diagnostics-persistence-config-data",
from: "parent",
as: "config-data",
to: "#persistence",
},
{
storage: "cache",
from: "parent",
to: "#persistence",
},
],
expose: [
{
protocol: "fuchsia.component.Binder",
from: "#persistence",
as: "fuchsia.component.PersistenceBinder",
},
{
protocol: [
"fuchsia.diagnostics.persist.DataPersistence-netstack",
"fuchsia.diagnostics.persist.DataPersistence-wlan",
],
from: "#persistence",
},
{
protocol: "fuchsia.component.Binder",
from: "#detect",
as: "fuchsia.component.DetectBinder",
source_availability: "unknown",
},
],
}