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..d48c9ee2121510f1b261ed8e2aa24ba93cb4fbff 100644 |
--- a/webrtc/modules/video_coding/codecs/h264/h264.gypi |
+++ b/webrtc/modules/video_coding/codecs/h264/h264.gypi |
@@ -23,6 +23,18 @@ |
'h264_objc.mm', |
], |
}], |
+ ['use_third_party_h264==1', { |
+ 'dependencies': [ |
+ '<(DEPTH)/third_party/openh264/openh264.gyp:openh264_encoder', |
+ '<(DEPTH)/third_party/ffmpeg/ffmpeg.gyp:ffmpeg', |
+ ], |
+ 'sources': [ |
+ 'h264_decoder_impl.cc', |
+ 'h264_decoder_impl.h', |
+ 'h264_encoder_impl.cc', |
+ 'h264_encoder_impl.h', |
+ ], |
+ }], |
], |
'sources': [ |
'h264.cc', |