OLD | NEW |
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 ['OS=="ios"', { | 18 ['OS=="ios"', { |
19 'dependencies': [ | 19 'dependencies': [ |
20 'webrtc_h264_video_toolbox', | 20 'webrtc_h264_video_toolbox', |
21 ], | 21 ], |
22 'sources': [ | 22 'sources': [ |
23 'h264_objc.mm', | 23 'h264_objc.mm', |
24 ], | 24 ], |
25 }], | 25 }], |
| 26 ['rtc_use_h264==1', { |
| 27 # Dependency for sake of compiling The dependencies will be used for |
| 28 # real as soon as https://codereview.webrtc.org/1306813009/ lands. |
| 29 'dependencies': [ |
| 30 '<(DEPTH)/third_party/ffmpeg/ffmpeg.gyp:ffmpeg', |
| 31 '<(DEPTH)/third_party/openh264/openh264.gyp:openh264_encoder', |
| 32 ], |
| 33 }], |
26 ], | 34 ], |
27 'sources': [ | 35 'sources': [ |
28 'h264.cc', | 36 'h264.cc', |
29 'include/h264.h', | 37 'include/h264.h', |
30 ], | 38 ], |
31 }, # webrtc_h264 | 39 }, # webrtc_h264 |
32 ], | 40 ], |
33 'conditions': [ | 41 'conditions': [ |
34 ['OS=="ios"', { | 42 ['OS=="ios"', { |
35 'targets': [ | 43 'targets': [ |
(...skipping 18 matching lines...) Expand all Loading... |
54 'h264_video_toolbox_encoder.cc', | 62 'h264_video_toolbox_encoder.cc', |
55 'h264_video_toolbox_encoder.h', | 63 'h264_video_toolbox_encoder.h', |
56 'h264_video_toolbox_nalu.cc', | 64 'h264_video_toolbox_nalu.cc', |
57 'h264_video_toolbox_nalu.h', | 65 'h264_video_toolbox_nalu.h', |
58 ], | 66 ], |
59 }, # webrtc_h264_video_toolbox | 67 }, # webrtc_h264_video_toolbox |
60 ], # targets | 68 ], # targets |
61 }], # OS=="ios" | 69 }], # OS=="ios" |
62 ], # conditions | 70 ], # conditions |
63 } | 71 } |
OLD | NEW |