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("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//content/renderer/renderer.gni") | 7 import("//content/renderer/renderer.gni") |
8 | 8 |
9 source_set("renderer") { | 9 source_set("renderer") { |
10 # Only targets in the content tree can depend directly on this target. | 10 # Only targets in the content tree can depend directly on this target. |
11 visibility = [ "//content/*" ] | 11 visibility = [ "//content/*" ] |
12 | 12 |
13 sources = rebase_path(content_renderer_gypi_values.private_renderer_sources, | 13 sources = rebase_path(content_renderer_gypi_values.private_renderer_sources, |
14 ".", "//content") | 14 ".", "//content") |
15 | 15 |
16 configs += [ | 16 configs += [ |
17 "//content:content_implementation", | 17 "//content:content_implementation", |
18 "//content:libjingle_stub_config", | |
19 ] | 18 ] |
20 | 19 |
21 deps = [ | 20 deps = [ |
22 # TODO(GYP) bug 376846 remove this. This should be inherited from //net but | 21 # TODO(GYP) bug 376846 remove this. This should be inherited from //net but |
23 # those don't cross component boundaries. | 22 # those don't cross component boundaries. |
24 "//crypto:platform", | 23 "//crypto:platform", |
25 | 24 |
26 "//base/allocator", | 25 "//base/allocator", |
27 "//cc/blink", | 26 "//cc/blink", |
28 "//content:resources", | 27 "//content:resources", |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 ] | 121 ] |
123 } | 122 } |
124 | 123 |
125 if (enable_webrtc) { | 124 if (enable_webrtc) { |
126 sources += rebase_path( | 125 sources += rebase_path( |
127 content_renderer_gypi_values.private_renderer_webrtc_sources, | 126 content_renderer_gypi_values.private_renderer_webrtc_sources, |
128 ".", "//content") | 127 ".", "//content") |
129 deps += [ | 128 deps += [ |
130 "//crypto", | 129 "//crypto", |
131 "//third_party/libyuv", | 130 "//third_party/libyuv", |
| 131 "//third_party/webrtc/modules/audio_device", |
| 132 "//third_party/webrtc/modules/audio_processing", |
132 #"../third_party/libjingle/libjingle.gyp:libjingle_webrtc", TODO(GYP) | 133 #"../third_party/libjingle/libjingle.gyp:libjingle_webrtc", TODO(GYP) |
133 #"../third_party/libjingle/libjingle.gyp:libpeerconnection", TODO(GYP) | 134 #"../third_party/libjingle/libjingle.gyp:libpeerconnection", TODO(GYP) |
134 #"../third_party/webrtc/modules/modules.gyp:audio_device", TODO(GYP) | |
135 #"../third_party/webrtc/modules/modules.gyp:audio_processing", TODO(GYP) | |
136 ] | 135 ] |
137 } else { | 136 } else { |
138 sources += [ | 137 sources += [ |
139 "media/webrtc_logging_noop.cc", | 138 "media/webrtc_logging_noop.cc", |
140 "media/webrtc_logging.h", | 139 "media/webrtc_logging.h", |
141 ] | 140 ] |
142 } | 141 } |
143 | 142 |
144 if (enable_plugins) { | 143 if (enable_plugins) { |
145 sources += rebase_path( | 144 sources += rebase_path( |
(...skipping 18 matching lines...) Expand all Loading... |
164 if (enable_plugins && enable_webrtc) { | 163 if (enable_plugins && enable_webrtc) { |
165 sources += rebase_path( | 164 sources += rebase_path( |
166 content_renderer_gypi_values.private_renderer_plugin_webrtc_sources, | 165 content_renderer_gypi_values.private_renderer_plugin_webrtc_sources, |
167 ".", "//content") | 166 ".", "//content") |
168 } | 167 } |
169 | 168 |
170 if (printing_mode == 1) { | 169 if (printing_mode == 1) { |
171 deps += [ "//printing" ] | 170 deps += [ "//printing" ] |
172 } | 171 } |
173 } | 172 } |
OLD | NEW |