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
|
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/config/features.gni")
import("//content/renderer/renderer.gni")
# See //content/BUILD.gn for how this works.
group("renderer") {
if (is_component_build) {
public_deps = [
"//content",
]
} else {
public_deps = [
":renderer_sources",
]
}
}
source_set("renderer_sources") {
visibility = [ "//content/*" ]
sources = rebase_path(content_renderer_gypi_values.public_renderer_sources,
".",
"//content")
configs += [ "//content:content_implementation" ]
deps = [
"//content/public/common:common_sources",
"//content/renderer",
"//skia",
"//third_party/libjingle",
"//third_party/WebKit/public:blink_headers",
"//third_party/widevine/cdm:version_h",
"//ui/gfx",
"//v8",
]
allow_circular_includes_from = [
# This target is a pair with content/renderer. They always go together and
# include headers from each other.
"//content/renderer",
]
if (enable_webrtc) {
sources +=
rebase_path(content_renderer_gypi_values.public_renderer_webrtc_sources,
".",
"//content")
deps += [ "//third_party/webrtc" ]
}
if (enable_plugins) {
sources +=
rebase_path(content_renderer_gypi_values.public_renderer_plugin_sources,
".",
"//content")
}
}
|