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

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: Misc (WebRtcVideoChannel2::...::ConfigureVideoEncoderSettings care about H264 case) 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 'conditions': [ 17 'conditions': [
18 ['use_openh264==1', {
19 'include_dirs': [
20 # TODO(hbos): proper OpenH264 dependency
21 '<(webrtc_root)/modules/video_coding/codecs/h264/openh264/codec/api/ svc',
22 '<(webrtc_root)/modules/video_coding/codecs/h264/openh264/codec/comm on',
23 '<(webrtc_root)/modules/video_coding/codecs/h264/openh264/codec/enco der/core/inc',
24 '<(webrtc_root)/modules/video_coding/codecs/h264/openh264/codec/enco der/plus/inc',
25 '<(webrtc_root)/modules/video_coding/codecs/h264/openh264/codec/proc essing/interface',
26 ],
27 'link_settings': {
28 'libraries': [
29 # TODO(hbos): Add OpenH264 to third_party and update dependencies.
stefan-webrtc 2015/09/28 11:19:01 Are we fixing this TODO before committing this CL?
hbos 2015/09/30 15:35:18 Yes. I want to be able to build from source and ru
stefan-webrtc 2015/10/01 08:19:30 Acknowledged.
30 # OpenH264 library root directory
31 '-L<(webrtc_root)/modules/video_coding/codecs/h264/openh264',
32 # The library files '-lXXX' -> 'libXXX.a' inside OpenH264 director y
33 '-lcommon',
34 '-lconsole_common',
35 '-ldecoder',
36 '-lencoder',
37 '-lopenh264',
38 '-lprocessing',
39 ],
40 },
41 'sources': [
42 'h264_encoder_impl.cc',
43 'h264_encoder_impl.h',
44 'h264_decoder_impl.cc',
45 'h264_decoder_impl.h',
46 ],
47 }],
18 ['OS=="ios"', { 48 ['OS=="ios"', {
19 'dependencies': [ 49 'dependencies': [
20 'webrtc_h264_video_toolbox', 50 'webrtc_h264_video_toolbox',
21 ], 51 ],
22 'sources': [ 52 'sources': [
23 'h264_objc.mm', 53 'h264_objc.mm',
24 ], 54 ],
25 }], 55 }],
26 ], 56 ],
27 'sources': [ 57 'sources': [
(...skipping 26 matching lines...) Expand all
54 'h264_video_toolbox_encoder.cc', 84 'h264_video_toolbox_encoder.cc',
55 'h264_video_toolbox_encoder.h', 85 'h264_video_toolbox_encoder.h',
56 'h264_video_toolbox_nalu.cc', 86 'h264_video_toolbox_nalu.cc',
57 'h264_video_toolbox_nalu.h', 87 'h264_video_toolbox_nalu.h',
58 ], 88 ],
59 }, # webrtc_h264_video_toolbox 89 }, # webrtc_h264_video_toolbox
60 ], # targets 90 ], # targets
61 }], # OS=="ios" 91 }], # OS=="ios"
62 ], # conditions 92 ], # conditions
63 } 93 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698