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': [ |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 'include/h264.h', | 55 'include/h264.h', |
56 ], | 56 ], |
57 }, # webrtc_h264 | 57 }, # webrtc_h264 |
58 ], | 58 ], |
59 'conditions': [ | 59 'conditions': [ |
60 ['OS=="ios"', { | 60 ['OS=="ios"', { |
61 'targets': [ | 61 'targets': [ |
62 { | 62 { |
63 'target_name': 'webrtc_h264_video_toolbox', | 63 'target_name': 'webrtc_h264_video_toolbox', |
64 'type': 'static_library', | 64 'type': 'static_library', |
65 'dependencies': [ | |
66 '<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv', | |
67 ], | |
68 'link_settings': { | 65 'link_settings': { |
69 'xcode_settings': { | 66 'xcode_settings': { |
70 'OTHER_LDFLAGS': [ | 67 'OTHER_LDFLAGS': [ |
71 '-framework CoreFoundation', | 68 '-framework CoreFoundation', |
72 '-framework CoreMedia', | 69 '-framework CoreMedia', |
73 '-framework CoreVideo', | 70 '-framework CoreVideo', |
74 '-framework VideoToolbox', | 71 '-framework VideoToolbox', |
75 ], | 72 ], |
76 }, | 73 }, |
77 }, | 74 }, |
78 'sources': [ | 75 'sources': [ |
79 'h264_video_toolbox_decoder.cc', | 76 'h264_video_toolbox_decoder.cc', |
80 'h264_video_toolbox_decoder.h', | 77 'h264_video_toolbox_decoder.h', |
81 'h264_video_toolbox_encoder.cc', | 78 'h264_video_toolbox_encoder.cc', |
82 'h264_video_toolbox_encoder.h', | 79 'h264_video_toolbox_encoder.h', |
83 'h264_video_toolbox_nalu.cc', | 80 'h264_video_toolbox_nalu.cc', |
84 'h264_video_toolbox_nalu.h', | 81 'h264_video_toolbox_nalu.h', |
85 ], | 82 ], |
| 83 'conditions': [ |
| 84 ['build_libyuv==1', { |
| 85 'dependencies': ['<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv'], |
| 86 }], |
| 87 ], |
86 }, # webrtc_h264_video_toolbox | 88 }, # webrtc_h264_video_toolbox |
87 ], # targets | 89 ], # targets |
88 }], # OS=="ios" | 90 }], # OS=="ios" |
89 ], # conditions | 91 ], # conditions |
90 } | 92 } |
OLD | NEW |