blob: 4868e5d428d16bfc355e3059218560126a278c96 [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 communicate from Dart code to C++ code.
{
storage: "tmp",
path: "/tmp",
},
// This is used by the Dart VM to load i18n data.
{
directory: "config-data",
rights: [ "r*" ],
path: "/config/data",
},
// The ICU time zone data, factored out of `config-data`.
// See:
// https://fuchsia.dev/fuchsia-src/concepts/process/namespaces?typical_directory_structure
{
directory: "tzdata-icu",
rights: [ "r*" ],
path: "/config/tzdata/icu",
},
{
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
],
from: "parent",
},
{
protocol: [
"fuchsia.tracing.provider.Registry", // For trace-provider
],
from: "parent",
availability: "optional",
},
],
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",
},
],
}