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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
fuchsia_web / webinstance_host / BUILD.gn [blame]
# Copyright 2021 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
assert(is_fuchsia)
import("//third_party/widevine/cdm/widevine.gni")
visibility = [ ":*" ]
source_set("webinstance_host") {
assert_no_deps = [
"//content/public/common",
"//media",
"//third_party/blink/common",
]
# Only WebInstance clients should use the host.
visibility += [
# WebEngine clients that instantiate WebInstances directly.
"//fuchsia_web/runners/*",
"//fuchsia_web/shell:*",
"//fuchsia_web/webengine:context_provider",
]
sources = [
"fuchsia_web_debug_proxy.cc",
"fuchsia_web_debug_proxy.h",
"web_instance_host.cc",
"web_instance_host_internal.cc",
"web_instance_host_internal.h",
]
public = [
"web_instance_host.h",
"web_instance_host_constants.h",
]
deps = [
"//base:base_static",
"//build:chromecast_buildflags",
"//components/fuchsia_component_support",
"//fuchsia_web/common",
"//fuchsia_web/webengine:switches",
"//gpu/command_buffer/service",
"//gpu/config",
"//services/network/public/cpp",
"//third_party/fuchsia-sdk/sdk/fidl/fuchsia.component.decl:fuchsia.component.decl_hlcpp",
"//third_party/fuchsia-sdk/sdk/fidl/fuchsia.io:fuchsia.io_hlcpp",
"//third_party/fuchsia-sdk/sdk/pkg/fit",
"//third_party/fuchsia-sdk/sdk/pkg/sys_cpp",
"//third_party/fuchsia-sdk/sdk/pkg/vfs_cpp",
"//third_party/widevine/cdm:buildflags",
"//ui/ozone",
]
if (enable_widevine) {
deps += [ "//third_party/widevine/cdm:headers" ]
}
public_deps = [
"//base",
"//third_party/fuchsia-sdk/sdk/fidl/fuchsia.component:fuchsia.component_hlcpp",
"//third_party/fuchsia-sdk/sdk/fidl/fuchsia.web:fuchsia.web_hlcpp",
"//third_party/fuchsia-sdk/sdk/pkg/fidl_cpp",
]
}