Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(388)

Unified Diff: webrtc/modules/video_coding/codecs/h264/h264.gypi

Issue 1306813009: H.264 video codec support using OpenH264/FFmpeg (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: RTPDefragmentize, videoprocessor_unittest: H264 with no packet loss Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..2121c70ca4e4ca33181871eaef3c758361f3bbe3 100644
--- a/webrtc/modules/video_coding/codecs/h264/h264.gypi
+++ b/webrtc/modules/video_coding/codecs/h264/h264.gypi
@@ -14,6 +14,38 @@
{
'target_name': 'webrtc_h264',
'type': 'static_library',
+ 'dependencies': [
+ '<(webrtc_root)/common_video/common_video.gyp:common_video',
+ '<(webrtc_root)/modules/video_coding/utility/video_coding_utility.gyp:video_coding_utility',
+ '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers',
+ ],
+ 'include_dirs': [
+ # TODO(hbos): proper OpenH264 dependency
+ '<(webrtc_root)/modules/video_coding/codecs/h264/openh264/codec/api/svc',
+ '<(webrtc_root)/modules/video_coding/codecs/h264/openh264/codec/common',
+ '<(webrtc_root)/modules/video_coding/codecs/h264/openh264/codec/encoder/core/inc',
+ '<(webrtc_root)/modules/video_coding/codecs/h264/openh264/codec/encoder/plus/inc',
+ '<(webrtc_root)/modules/video_coding/codecs/h264/openh264/codec/processing/interface',
+ ],
+ 'link_settings': {
+ 'libraries': [
+ # TODO(hbos): proper OpenH264 dependency
+ # The directory
+ '-L../../webrtc/modules/video_coding/codecs/h264/openh264',
Niklas Enbom 2015/09/14 22:33:14 FYI does not work when building chrome
hbos 2015/09/15 15:25:33 Acknowledged. (Fixed, but will have to change agai
+ # The library files '-lXXX' -> 'libXXX.a' inside openh254 directory
+ '-lcommon',
+ '-lconsole_common',
+ '-ldecoder',
+ '-lencoder',
+ '-lopenh264',
+ '-lprocessing',
+
+ # YOU GOTTA DO
+ # export LD_LIBRARY_PATH=~/ssd/webrtc/src/webrtc/modules/video_coding/codecs/h264/openh264/
+ # (or you know the equivalent path)
+ # IN ORDER FOR IT TO FIND THE LIBRARY WHEN YOU RUN A PROGRAM!
+ ],
+ },
'conditions': [
['OS=="ios"', {
'dependencies': [
@@ -26,6 +58,10 @@
],
'sources': [
'h264.cc',
+ 'h264_encoder_impl.cc',
+ 'h264_encoder_impl.h',
+ 'h264_decoder_impl.cc',
+ 'h264_decoder_impl.h',
'include/h264.h',
],
}, # webrtc_h264

Powered by Google App Engine
This is Rietveld 408576698