blob: 6cd5a6c31e5e83d2943fe0a0353fcd62db6ae239 [file] [log] [blame]
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
{
capabilities: [
// Required for inspect.
// Copied from inspect/client.shard.cml because out-of-tree doesn't
// have support for CML includes from the SDK.
{
directory: "diagnostics",
rights: [ "connect" ],
path: "/diagnostics",
},
],
use: [
// This is used by the Dart VM to load i18n data.
{
directory: "config-data",
rights: [ "r*" ],
path: "/config/data",
},
{
protocol: [
"fuchsia.device.NameProvider", // For fdio uname()
"fuchsia.feedback.CrashReporter",
"fuchsia.intl.PropertyProvider", // For dartVM timezone support
"fuchsia.logger.LogSink", // For syslog
"fuchsia.net.name.Lookup", // For fdio sockets
"fuchsia.posix.socket.Provider", // For fdio sockets
"fuchsia.tracing.provider.Registry", // For trace-provider
],
from: "parent",
},
],
expose: [
// Required for inspect.
// Copied from inspect/client.shard.cml because out-of-tree doesn't
// have support for CML includes from the SDK.
{
directory: "diagnostics",
from: "self",
to: "framework",
},
],
}