[M120 Migration][VD] Enable direct rendering for TVPlus
[platform/framework/web/chromium-efl.git] / fuchsia_web / shell / cast_streaming_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 cast_streming_shell since cast_streming_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: "cast_streaming_shell_exe",
16     args: [
17       // Inform cast_streaming_shell that it is running as the sub-process in
18       // which WebInstanceHost may be used. In this scenario, the main test
19       // component is running only as a launcher of this child.
20       "--no-relaunch",
21     ],
22   },
23   use: [
24     {
25       protocol: "fuchsia.posix.socket.Provider",
26     },
27
28     // Required if not run with --headless.
29     {
30       protocol: [ "fuchsia.element.GraphicalPresenter" ],
31       availability: "optional",
32     },
33   ],
34 }