blob: 7d2b289613e8c6aeb3124b0b01afee63317f81aa [file] [log] [blame]
{
include: [
"syslog/client.shard.cml",
"vulkan/client.shard.cml",
],
program: {
runner: "elf",
binary: "chrome",
args: [
"--enable-cfv2",
"--enable-features=Vulkan,CanvasOopRasterization",
],
lifecycle: { stop_event: "notify" },
// SandboxPolicyFuchsia currently expects stderr & stdout to exist.
// Route them to the LogSink, to capture any content they emit, for
// now.
forward_stdout_to: "log",
forward_stderr_to: "log",
// Required to allow JIT in child processes such as renderers.
// Known as 'deprecated-ambient-replace-as-executable' in CFv1.
job_policy_ambient_mark_vmo_exec: "true",
},
capabilities: [
{
protocol: [
"fuchsia.element.Manager",
"fuchsia.ui.app.ViewProvider",
],
},
],
use: [
{
storage: "cache",
path: "/cache",
},
{
storage: "data",
path: "/data",
},
{
storage: "tmp",
path: "/tmp",
},
{
directory: "root-ssl-certificates",
rights: [ "r*" ],
path: "/config/ssl",
},
{
protocol: [
"fuchsia.buildinfo.Provider",
"fuchsia.camera3.DeviceWatcher",
"fuchsia.device.NameProvider",
"fuchsia.element.GraphicalPresenter",
"fuchsia.fonts.Provider",
"fuchsia.input.virtualkeyboard.ControllerCreator",
"fuchsia.intl.PropertyProvider",
"fuchsia.media.Audio",
"fuchsia.media.AudioDeviceEnumerator",
"fuchsia.media.ProfileProvider",
"fuchsia.mediacodec.CodecFactory",
"fuchsia.memorypressure.Provider",
"fuchsia.net.interfaces.State",
"fuchsia.net.name.Lookup",
"fuchsia.posix.socket.Provider",
"fuchsia.process.Launcher",
"fuchsia.ui.composition.Allocator",
"fuchsia.ui.composition.Flatland",
"fuchsia.ui.input3.Keyboard",
"fuchsia.ui.scenic.Scenic",
],
},
],
expose: [
{
protocol: [
"fuchsia.element.Manager",
"fuchsia.ui.app.ViewProvider",
],
from: "self",
},
],
}