Index: webrtc/modules/video_coding/codecs/h264/h264.gypi |
diff --git a/webrtc/modules/video_coding/codecs/h264/h264.gypi b/webrtc/modules/video_coding/codecs/h264/h264.gypi |
index a20865c3aaa55ceb414dfa5ce3c7981f6183a146..6e3a27f2ff8fe22ae1f4f9dcb417a3fac168b4cf 100644 |
--- a/webrtc/modules/video_coding/codecs/h264/h264.gypi |
+++ b/webrtc/modules/video_coding/codecs/h264/h264.gypi |
@@ -15,6 +15,18 @@ |
'target_name': 'webrtc_h264', |
'type': 'static_library', |
'conditions': [ |
+ ['use_third_party_h264==1', { |
+ 'dependencies': [ |
+ '<(DEPTH)/third_party/openh264/openh264.gyp:openh264_encoder', |
+ '<(DEPTH)/third_party/ffmpeg/ffmpeg.gyp:ffmpeg', |
+ ], |
+ 'sources': [ |
+ 'h264_encoder_impl.cc', |
+ 'h264_encoder_impl.h', |
+ 'h264_decoder_impl.cc', |
+ 'h264_decoder_impl.h', |
+ ], |
+ }], |
['OS=="ios"', { |
'dependencies': [ |
'webrtc_h264_video_toolbox', |