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 'includes': [ '../../../../build/objc_common.gypi' ], |
| 66 'dependencies': [ |
| 67 '<(webrtc_root)/base/base.gyp:rtc_base_objc', |
| 68 ], |
65 'link_settings': { | 69 'link_settings': { |
66 'xcode_settings': { | 70 'xcode_settings': { |
67 'OTHER_LDFLAGS': [ | 71 'OTHER_LDFLAGS': [ |
68 '-framework CoreFoundation', | 72 '-framework CoreFoundation', |
69 '-framework CoreMedia', | 73 '-framework CoreMedia', |
70 '-framework CoreVideo', | 74 '-framework CoreVideo', |
71 '-framework VideoToolbox', | 75 '-framework VideoToolbox', |
72 ], | 76 ], |
73 }, | 77 }, |
74 }, | 78 }, |
75 'sources': [ | 79 'sources': [ |
76 'h264_video_toolbox_decoder.cc', | 80 'h264_video_toolbox_decoder.cc', |
77 'h264_video_toolbox_decoder.h', | 81 'h264_video_toolbox_decoder.h', |
78 'h264_video_toolbox_encoder.cc', | 82 'h264_video_toolbox_encoder.cc', |
79 'h264_video_toolbox_encoder.h', | 83 'h264_video_toolbox_encoder.h', |
80 'h264_video_toolbox_nalu.cc', | 84 'h264_video_toolbox_nalu.cc', |
81 'h264_video_toolbox_nalu.h', | 85 'h264_video_toolbox_nalu.h', |
82 ], | 86 ], |
83 'conditions': [ | 87 'conditions': [ |
84 ['build_libyuv==1', { | 88 ['build_libyuv==1', { |
85 'dependencies': ['<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv'], | 89 'dependencies': ['<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv'], |
86 }], | 90 }], |
87 ], | 91 ], |
88 }, # webrtc_h264_video_toolbox | 92 }, # webrtc_h264_video_toolbox |
89 ], # targets | 93 ], # targets |
90 }], # OS=="ios" | 94 }], # OS=="ios" |
91 ], # conditions | 95 ], # conditions |
92 } | 96 } |
OLD | NEW |