OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//content/renderer/renderer.gni") | 6 import("//content/renderer/renderer.gni") |
7 | 7 |
8 # See //content/BUILD.gn for how this works. | 8 # See //content/BUILD.gn for how this works. |
9 group("renderer") { | 9 group("renderer") { |
10 if (is_component_build) { | 10 if (is_component_build) { |
(...skipping 10 matching lines...) Expand all Loading... |
21 source_set("renderer_sources") { | 21 source_set("renderer_sources") { |
22 visibility = [ "//content/*" ] | 22 visibility = [ "//content/*" ] |
23 | 23 |
24 sources = rebase_path(content_renderer_gypi_values.public_renderer_sources, | 24 sources = rebase_path(content_renderer_gypi_values.public_renderer_sources, |
25 ".", | 25 ".", |
26 "//content") | 26 "//content") |
27 | 27 |
28 configs += [ "//content:content_implementation" ] | 28 configs += [ "//content:content_implementation" ] |
29 | 29 |
30 deps = [ | 30 deps = [ |
| 31 "//content/public/child:child_sources", |
31 "//content/public/common:common_sources", | 32 "//content/public/common:common_sources", |
32 "//content/renderer", | 33 "//content/renderer", |
| 34 "//gin", |
| 35 "//media", |
| 36 "//net", |
| 37 "//ppapi/c", |
33 "//skia", | 38 "//skia", |
34 "//third_party/WebKit/public:blink_headers", | 39 "//third_party/WebKit/public:blink_headers", |
35 "//third_party/libjingle", | 40 "//third_party/libjingle", |
36 "//third_party/widevine/cdm:version_h", | 41 "//third_party/widevine/cdm:version_h", |
| 42 "//ui/base", |
| 43 "//ui/base/ime", |
37 "//ui/gfx", | 44 "//ui/gfx", |
38 "//v8", | 45 "//v8", |
39 ] | 46 ] |
40 | 47 |
41 allow_circular_includes_from = [ | 48 allow_circular_includes_from = [ |
42 # This target is a pair with content/renderer. They always go together and | 49 # This target is a pair with content/renderer. They always go together and |
43 # include headers from each other. | 50 # include headers from each other. |
44 "//content/renderer", | 51 "//content/renderer", |
45 ] | 52 ] |
46 | 53 |
47 if (enable_webrtc) { | 54 if (enable_webrtc) { |
48 sources += | 55 sources += |
49 rebase_path(content_renderer_gypi_values.public_renderer_webrtc_sources, | 56 rebase_path(content_renderer_gypi_values.public_renderer_webrtc_sources, |
50 ".", | 57 ".", |
51 "//content") | 58 "//content") |
52 deps += [ | 59 deps += [ |
53 "//content/public/common:feature_h264_with_openh264_ffmpeg", | 60 "//content/public/common:feature_h264_with_openh264_ffmpeg", |
54 "//content/public/common:features", | 61 "//content/public/common:features", |
55 "//third_party/webrtc", | 62 "//third_party/webrtc", |
56 ] | 63 ] |
57 } | 64 } |
58 | 65 |
59 if (enable_plugins) { | 66 if (enable_plugins) { |
60 sources += | 67 sources += |
61 rebase_path(content_renderer_gypi_values.public_renderer_plugin_sources, | 68 rebase_path(content_renderer_gypi_values.public_renderer_plugin_sources, |
62 ".", | 69 ".", |
63 "//content") | 70 "//content") |
64 } | 71 } |
65 } | 72 } |
OLD | NEW |