OLD | NEW |
1 # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2012 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': ['../build/common.gypi'], | 10 'includes': ['../build/common.gypi'], |
(...skipping 19 matching lines...) Expand all Loading... |
30 'conditions': [ | 30 'conditions': [ |
31 ['build_libyuv==1', { | 31 ['build_libyuv==1', { |
32 'dependencies': ['<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv',], | 32 'dependencies': ['<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv',], |
33 'export_dependent_settings': [ | 33 'export_dependent_settings': [ |
34 '<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv', | 34 '<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv', |
35 ], | 35 ], |
36 }, { | 36 }, { |
37 # Need to add a directory normally exported by libyuv.gyp. | 37 # Need to add a directory normally exported by libyuv.gyp. |
38 'include_dirs': ['<(libyuv_dir)/include',], | 38 'include_dirs': ['<(libyuv_dir)/include',], |
39 }], | 39 }], |
| 40 ['OS=="ios" or OS=="mac"', { |
| 41 'link_settings': { |
| 42 'xcode_settings': { |
| 43 'OTHER_LDFLAGS': [ |
| 44 '-framework CoreVideo', |
| 45 ], |
| 46 }, |
| 47 }, |
| 48 }], |
40 ], | 49 ], |
41 'sources': [ | 50 'sources': [ |
42 'i420_buffer_pool.cc', | 51 'i420_buffer_pool.cc', |
43 'video_frame.cc', | 52 'video_frame.cc', |
44 'incoming_video_stream.cc', | 53 'incoming_video_stream.cc', |
45 'include/i420_buffer_pool.h', | 54 'include/i420_buffer_pool.h', |
46 'include/incoming_video_stream.h', | 55 'include/incoming_video_stream.h', |
47 'include/video_frame_buffer.h', | 56 'include/video_frame_buffer.h', |
48 'libyuv/include/scaler.h', | 57 'libyuv/include/scaler.h', |
49 'libyuv/include/webrtc_libyuv.h', | 58 'libyuv/include/webrtc_libyuv.h', |
50 'libyuv/scaler.cc', | 59 'libyuv/scaler.cc', |
51 'libyuv/webrtc_libyuv.cc', | 60 'libyuv/webrtc_libyuv.cc', |
52 'video_frame_buffer.cc', | 61 'video_frame_buffer.cc', |
53 'video_render_frames.cc', | 62 'video_render_frames.cc', |
54 'video_render_frames.h', | 63 'video_render_frames.h', |
55 ], | 64 ], |
56 }, | 65 }, |
57 ], # targets | 66 ], # targets |
58 } | 67 } |
OLD | NEW |