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'], |
11 'targets': [ | 11 'targets': [ |
12 { | 12 { |
13 'target_name': 'common_video', | 13 'target_name': 'common_video', |
14 'type': 'static_library', | 14 'type': 'static_library', |
15 'include_dirs': [ | 15 'include_dirs': [ |
16 '<(webrtc_root)/modules/interface/', | 16 '<(webrtc_root)/modules/interface/', |
17 'interface', | 17 'include', |
18 'libyuv/include', | 18 'libyuv/include', |
19 ], | 19 ], |
20 'dependencies': [ | 20 'dependencies': [ |
21 '<(webrtc_root)/common.gyp:webrtc_common', | 21 '<(webrtc_root)/common.gyp:webrtc_common', |
22 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', | 22 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', |
23 ], | 23 ], |
24 'direct_dependent_settings': { | 24 'direct_dependent_settings': { |
25 'include_dirs': [ | 25 'include_dirs': [ |
26 'interface', | 26 'include', |
27 'libyuv/include', | 27 'libyuv/include', |
28 ], | 28 ], |
29 }, | 29 }, |
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 ], | 40 ], |
41 'sources': [ | 41 'sources': [ |
42 'i420_buffer_pool.cc', | 42 'i420_buffer_pool.cc', |
43 'video_frame.cc', | 43 'video_frame.cc', |
44 'incoming_video_stream.cc', | 44 'incoming_video_stream.cc', |
45 'interface/i420_buffer_pool.h', | 45 'include/i420_buffer_pool.h', |
46 'interface/incoming_video_stream.h', | 46 'include/incoming_video_stream.h', |
47 'interface/video_frame_buffer.h', | 47 'include/video_frame_buffer.h', |
48 'libyuv/include/scaler.h', | 48 'libyuv/include/scaler.h', |
49 'libyuv/include/webrtc_libyuv.h', | 49 'libyuv/include/webrtc_libyuv.h', |
50 'libyuv/scaler.cc', | 50 'libyuv/scaler.cc', |
51 'libyuv/webrtc_libyuv.cc', | 51 'libyuv/webrtc_libyuv.cc', |
52 'video_frame_buffer.cc', | 52 'video_frame_buffer.cc', |
53 'video_render_frames.cc', | 53 'video_render_frames.cc', |
54 'video_render_frames.h', | 54 'video_render_frames.h', |
55 ], | 55 ], |
56 }, | 56 }, |
57 ], # targets | 57 ], # targets |
58 } | 58 } |
OLD | NEW |