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

Side by Side 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 unified diff | Download patch
OLDNEW
1 # Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license 3 # Use of this source code is governed by a BSD-style license
4 # that can be found in the LICENSE file in the root of the source 4 # that can be found in the LICENSE file in the root of the source
5 # tree. An additional intellectual property rights grant can be found 5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may 6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree. 7 # be found in the AUTHORS file in the root of the source tree.
8 8
9 { 9 {
10 'includes': [ 10 'includes': [
11 '../../../../build/common.gypi', 11 '../../../../build/common.gypi',
12 ], 12 ],
13 'targets': [ 13 'targets': [
14 { 14 {
15 'target_name': 'webrtc_h264', 15 'target_name': 'webrtc_h264',
16 'type': 'static_library', 16 'type': 'static_library',
17 'dependencies': [
18 '<(webrtc_root)/common_video/common_video.gyp:common_video',
19 '<(webrtc_root)/modules/video_coding/utility/video_coding_utility.gyp:vi deo_coding_utility',
20 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers',
21 ],
22 'include_dirs': [
23 # TODO(hbos): proper OpenH264 dependency
24 '<(webrtc_root)/modules/video_coding/codecs/h264/openh264/codec/api/svc' ,
25 '<(webrtc_root)/modules/video_coding/codecs/h264/openh264/codec/common',
26 '<(webrtc_root)/modules/video_coding/codecs/h264/openh264/codec/encoder/ core/inc',
27 '<(webrtc_root)/modules/video_coding/codecs/h264/openh264/codec/encoder/ plus/inc',
28 '<(webrtc_root)/modules/video_coding/codecs/h264/openh264/codec/processi ng/interface',
29 ],
30 'link_settings': {
31 'libraries': [
32 # TODO(hbos): proper OpenH264 dependency
33 # The directory
34 '-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
35 # The library files '-lXXX' -> 'libXXX.a' inside openh254 directory
36 '-lcommon',
37 '-lconsole_common',
38 '-ldecoder',
39 '-lencoder',
40 '-lopenh264',
41 '-lprocessing',
42
43 # YOU GOTTA DO
44 # export LD_LIBRARY_PATH=~/ssd/webrtc/src/webrtc/modules/video_coding/ codecs/h264/openh264/
45 # (or you know the equivalent path)
46 # IN ORDER FOR IT TO FIND THE LIBRARY WHEN YOU RUN A PROGRAM!
47 ],
48 },
17 'conditions': [ 49 'conditions': [
18 ['OS=="ios"', { 50 ['OS=="ios"', {
19 'dependencies': [ 51 'dependencies': [
20 'webrtc_h264_video_toolbox', 52 'webrtc_h264_video_toolbox',
21 ], 53 ],
22 'sources': [ 54 'sources': [
23 'h264_objc.mm', 55 'h264_objc.mm',
24 ], 56 ],
25 }], 57 }],
26 ], 58 ],
27 'sources': [ 59 'sources': [
28 'h264.cc', 60 'h264.cc',
61 'h264_encoder_impl.cc',
62 'h264_encoder_impl.h',
63 'h264_decoder_impl.cc',
64 'h264_decoder_impl.h',
29 'include/h264.h', 65 'include/h264.h',
30 ], 66 ],
31 }, # webrtc_h264 67 }, # webrtc_h264
32 ], 68 ],
33 'conditions': [ 69 'conditions': [
34 ['OS=="ios"', { 70 ['OS=="ios"', {
35 'targets': [ 71 'targets': [
36 { 72 {
37 'target_name': 'webrtc_h264_video_toolbox', 73 'target_name': 'webrtc_h264_video_toolbox',
38 'type': 'static_library', 74 'type': 'static_library',
(...skipping 15 matching lines...) Expand all
54 'h264_video_toolbox_encoder.cc', 90 'h264_video_toolbox_encoder.cc',
55 'h264_video_toolbox_encoder.h', 91 'h264_video_toolbox_encoder.h',
56 'h264_video_toolbox_nalu.cc', 92 'h264_video_toolbox_nalu.cc',
57 'h264_video_toolbox_nalu.h', 93 'h264_video_toolbox_nalu.h',
58 ], 94 ],
59 }, # webrtc_h264_video_toolbox 95 }, # webrtc_h264_video_toolbox
60 ], # targets 96 ], # targets
61 }], # OS=="ios" 97 }], # OS=="ios"
62 ], # conditions 98 ], # conditions
63 } 99 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698