Fix build errors when rtc_use_builtin_sw_codecs is set to false.

The previous effort of building WebRTC without SW codecs stopped when
libjingle_peerconnection was possible to build. In order to make the
group("default") target build, this basically updates a bunch of
tests to explicitly depend on the built-in software video codecs.

Bug: webrtc:7925
Change-Id: I2715414770c197fca01cb8dbde173a21f4434500
Reviewed-on: https://webrtc-review.googlesource.com/70503
Reviewed-by: Magnus Jedvert <magjed@webrtc.org>
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org>
Commit-Queue: Anders Carlsson <andersc@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23216}
This commit is contained in:
Anders Carlsson
2018-05-14 10:11:42 +02:00
committed by Commit Bot
parent f55babc298
commit b330688ef7
11 changed files with 47 additions and 37 deletions

View File

@ -739,6 +739,7 @@ if (rtc_include_tests) {
"../../api/video_codecs:video_codecs_api",
"../../common_video",
"../../media:rtc_h264_profile_id",
"../../media:rtc_internal_video_codecs",
"../../media:rtc_media_base",
"../../rtc_base:rtc_base",
"../../test:fileutils",
@ -822,6 +823,7 @@ if (rtc_include_tests) {
if (rtc_use_h264) {
sources += [ "codecs/h264/h264_encoder_impl_unittest.cc" ]
}
deps = [
":codec_globals_headers",
":encoded_frame",