1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30
   31
   32
   33
   34
   35

fuchsia_web / webengine / context_provider.cml [blame]

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
{
  include: [
    "//fuchsia_web/webinstance_host/web_instance_host_with_svc_directory.shard.cml",

    // Use but do not offer. All capability routing be via FIDL calls.
    "syslog/use.shard.cml",
  ],
  program: {
    runner: "elf",
    binary: "web_engine_exe",
    args: [
      "--context-provider",
    ],
  },
  capabilities: [
    {
      protocol: [
        "fuchsia.web.ContextProvider",
        "fuchsia.web.Debug",
      ],
    },
  ],
  expose: [
    {
      protocol: [
        "fuchsia.web.ContextProvider",
        "fuchsia.web.Debug",
      ],
      from: "self",
    },
  ],
}