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 import("//media/media_options.gni") | 8 import("//media/media_options.gni") |
9 | 9 |
10 source_set("renderer") { | 10 source_set("renderer") { |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 sources += rebase_path( | 153 sources += rebase_path( |
154 content_renderer_gypi_values.private_renderer_webrtc_sources, | 154 content_renderer_gypi_values.private_renderer_webrtc_sources, |
155 ".", | 155 ".", |
156 "//content") | 156 "//content") |
157 | 157 |
158 deps += [ | 158 deps += [ |
159 "//crypto", | 159 "//crypto", |
160 "//third_party/libjingle:libjingle_webrtc", | 160 "//third_party/libjingle:libjingle_webrtc", |
161 "//third_party/libjingle:libpeerconnection", | 161 "//third_party/libjingle:libpeerconnection", |
162 "//third_party/libjingle:libstunprober", | 162 "//third_party/libjingle:libstunprober", |
163 "//third_party/libvpx_new", | 163 "//third_party/libvpx", |
164 "//third_party/webrtc/base:rtc_base", | 164 "//third_party/webrtc/base:rtc_base", |
165 "//third_party/webrtc/common_video", | 165 "//third_party/webrtc/common_video", |
166 "//third_party/webrtc/modules/audio_device", | 166 "//third_party/webrtc/modules/audio_device", |
167 "//third_party/webrtc/modules/audio_processing", | 167 "//third_party/webrtc/modules/audio_processing", |
168 "//third_party/webrtc/modules/video_coding:webrtc_h264", | 168 "//third_party/webrtc/modules/video_coding:webrtc_h264", |
169 "//third_party/webrtc/system_wrappers", | 169 "//third_party/webrtc/system_wrappers", |
170 ] | 170 ] |
171 } else { | 171 } else { |
172 sources += [ | 172 sources += [ |
173 "media/webrtc_logging.h", | 173 "media/webrtc_logging.h", |
174 "media/webrtc_logging_noop.cc", | 174 "media/webrtc_logging_noop.cc", |
175 ] | 175 ] |
176 } | 176 } |
177 | 177 |
178 if (enable_plugins) { | 178 if (enable_plugins) { |
179 sources += rebase_path( | 179 sources += rebase_path( |
180 content_renderer_gypi_values.private_renderer_plugin_sources, | 180 content_renderer_gypi_values.private_renderer_plugin_sources, |
181 ".", | 181 ".", |
182 "//content") | 182 "//content") |
183 deps += [ | 183 deps += [ |
184 "//ppapi/host", | 184 "//ppapi/host", |
185 "//ppapi/proxy", | 185 "//ppapi/proxy", |
186 "//ppapi/shared_impl", | 186 "//ppapi/shared_impl", |
187 "//third_party/libvpx_new", | 187 "//third_party/libvpx", |
188 "//third_party/opus", | 188 "//third_party/opus", |
189 ] | 189 ] |
190 } | 190 } |
191 | 191 |
192 if (enable_plugins && enable_webrtc) { | 192 if (enable_plugins && enable_webrtc) { |
193 sources += rebase_path( | 193 sources += rebase_path( |
194 content_renderer_gypi_values.private_renderer_plugin_webrtc_sources, | 194 content_renderer_gypi_values.private_renderer_plugin_webrtc_sources, |
195 ".", | 195 ".", |
196 "//content") | 196 "//content") |
197 } | 197 } |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 } | 241 } |
242 | 242 |
243 if (use_seccomp_bpf) { | 243 if (use_seccomp_bpf) { |
244 defines += [ "USE_SECCOMP_BPF" ] | 244 defines += [ "USE_SECCOMP_BPF" ] |
245 } | 245 } |
246 | 246 |
247 if (use_ozone) { | 247 if (use_ozone) { |
248 deps += [ "//ui/ozone" ] | 248 deps += [ "//ui/ozone" ] |
249 } | 249 } |
250 } | 250 } |
OLD | NEW |