OLD | NEW |
| (Empty) |
1 # Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | |
2 # | |
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 | |
5 # tree. An additional intellectual property rights grant can be found | |
6 # in the file PATENTS. All contributing project authors may | |
7 # be found in the AUTHORS file in the root of the source tree. | |
8 | |
9 { | |
10 'includes': [ | |
11 '../../../../build/common.gypi', | |
12 ], | |
13 'targets': [ | |
14 { | |
15 'target_name': 'webrtc_h264', | |
16 'type': 'static_library', | |
17 'conditions': [ | |
18 # TODO(hbos): Consider renaming this flag and the below macro to | |
19 # something which helps distinguish OpenH264/FFmpeg from other H264 | |
20 # implementations. | |
21 ['rtc_use_h264==1', { | |
22 'defines': [ | |
23 'WEBRTC_USE_H264', | |
24 ], | |
25 'conditions': [ | |
26 ['rtc_initialize_ffmpeg==1', { | |
27 'defines': [ | |
28 'WEBRTC_INITIALIZE_FFMPEG', | |
29 ], | |
30 }], | |
31 ], | |
32 'dependencies': [ | |
33 '<(DEPTH)/third_party/ffmpeg/ffmpeg.gyp:ffmpeg', | |
34 '<(DEPTH)/third_party/openh264/openh264.gyp:openh264_encoder', | |
35 '<(webrtc_root)/common_video/common_video.gyp:common_video', | |
36 ], | |
37 'sources': [ | |
38 'h264_decoder_impl.cc', | |
39 'h264_decoder_impl.h', | |
40 'h264_encoder_impl.cc', | |
41 'h264_encoder_impl.h', | |
42 ], | |
43 }], | |
44 ], | |
45 'sources': [ | |
46 'h264.cc', | |
47 'include/h264.h', | |
48 ], | |
49 }, # webrtc_h264 | |
50 ], | |
51 } | |
OLD | NEW |