[M120 Migration][VD] Enable direct rendering for TVPlus
[platform/framework/web/chromium-efl.git] / fuchsia_web / shell / web_engine_shell_for_web_instance_host.cml
1 // Copyright 2023 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // A component that is launched by web_engine_shell since web_engine_shell
6 // itself runs as a test component, and therefore cannot run WebInstanceHost
7 // directly.
8 {
9   include: [
10     "//fuchsia_web/webinstance_host/web_instance_host.shard.cml",
11     "syslog/client.shard.cml",
12   ],
13   program: {
14     runner: "elf",
15     binary: "web_engine_shell_exec",
16     args: [
17       // Inform web_engine_shell that it is running as the sub-process in which
18       // WebInstanceHost may be used. In this scenario, the main test component
19       // is running only as a launcher of this child.
20       "--no-relaunch",
21     ],
22   },
23   use: [
24     // Required if not run with --headless.
25     {
26       protocol: [ "fuchsia.element.GraphicalPresenter" ],
27       availability: "optional",
28     },
29
30     // Used to hold the cdm_data directory passed to web_instance.
31     {
32       storage: "data",
33       path: "/data",
34     },
35
36     // Needed when launched with --enable-web-instance-tmp.
37     {
38       storage: "tmp",
39       path: "/tmp",
40       availability: "optional",
41     },
42   ],
43 }