blob: a8630eac51ce1fb23947dddcca598ebd95127b47 [file] [log] [blame]
andrew@webrtc.orga7b57da2012-10-22 18:19:23 +00001# Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
2#
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
5# tree. An additional intellectual property rights grant can be found
6# in the file PATENTS. All contributing project authors may
7# be found in the AUTHORS file in the root of the source tree.
8
9{
andrew@webrtc.orga7b57da2012-10-22 18:19:23 +000010 'targets': [
11 {
12 'target_name': 'video_engine_core',
wjia@webrtc.org81cfcb52013-01-18 23:42:21 +000013 'type': 'static_library',
andrew@webrtc.orga7b57da2012-10-22 18:19:23 +000014 'dependencies': [
15
16 # common_video
17 '<(webrtc_root)/common_video/common_video.gyp:common_video',
18
19 # ModulesShared
20 '<(webrtc_root)/modules/modules.gyp:media_file',
21 '<(webrtc_root)/modules/modules.gyp:rtp_rtcp',
andrew@webrtc.orga7b57da2012-10-22 18:19:23 +000022 '<(webrtc_root)/modules/modules.gyp:webrtc_utility',
23
24 # ModulesVideo
25 '<(webrtc_root)/modules/modules.gyp:bitrate_controller',
26 '<(webrtc_root)/modules/modules.gyp:video_capture_module',
27 '<(webrtc_root)/modules/modules.gyp:webrtc_video_coding',
28 '<(webrtc_root)/modules/modules.gyp:video_processing',
29 '<(webrtc_root)/modules/modules.gyp:video_render_module',
30
31 # VoiceEngine
32 '<(webrtc_root)/voice_engine/voice_engine.gyp:voice_engine_core',
33
34 # system_wrappers
35 '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
36 ],
37 'include_dirs': [
38 'include',
39 '../common_video/interface',
andrew@webrtc.orgb43b6112012-10-31 05:22:11 +000040 '../modules/video_render/',
andrew@webrtc.orga7b57da2012-10-22 18:19:23 +000041 ],
42 'direct_dependent_settings': {
43 'include_dirs': [
44 'include',
45 ],
46 },
47 'sources': [
48 # interface
49 'include/vie_base.h',
50 'include/vie_capture.h',
51 'include/vie_codec.h',
52 'include/vie_encryption.h',
53 'include/vie_errors.h',
54 'include/vie_external_codec.h',
55 'include/vie_file.h',
56 'include/vie_image_process.h',
57 'include/vie_network.h',
58 'include/vie_render.h',
59 'include/vie_rtp_rtcp.h',
60
61 # headers
mflodman@webrtc.org8a8517a2012-11-16 13:57:26 +000062 'call_stats.h',
andrew@webrtc.orga7b57da2012-10-22 18:19:23 +000063 'encoder_state_feedback.h',
64 'stream_synchronization.h',
65 'vie_base_impl.h',
66 'vie_capture_impl.h',
67 'vie_codec_impl.h',
68 'vie_defines.h',
69 'vie_encryption_impl.h',
70 'vie_external_codec_impl.h',
71 'vie_file_impl.h',
72 'vie_image_process_impl.h',
73 'vie_impl.h',
74 'vie_network_impl.h',
75 'vie_ref_count.h',
76 'vie_remb.h',
77 'vie_render_impl.h',
78 'vie_rtp_rtcp_impl.h',
79 'vie_shared_data.h',
80 'vie_capturer.h',
81 'vie_channel.h',
82 'vie_channel_group.h',
83 'vie_channel_manager.h',
84 'vie_encoder.h',
85 'vie_file_image.h',
86 'vie_file_player.h',
87 'vie_file_recorder.h',
88 'vie_frame_provider_base.h',
89 'vie_input_manager.h',
90 'vie_manager_base.h',
andrew@webrtc.orga7b57da2012-10-22 18:19:23 +000091 'vie_receiver.h',
92 'vie_renderer.h',
93 'vie_render_manager.h',
94 'vie_sender.h',
95 'vie_sync_module.h',
96
97 # ViE
mflodman@webrtc.org8a8517a2012-11-16 13:57:26 +000098 'call_stats.cc',
andrew@webrtc.orga7b57da2012-10-22 18:19:23 +000099 'encoder_state_feedback.cc',
100 'stream_synchronization.cc',
101 'vie_base_impl.cc',
102 'vie_capture_impl.cc',
103 'vie_codec_impl.cc',
104 'vie_encryption_impl.cc',
105 'vie_external_codec_impl.cc',
106 'vie_file_impl.cc',
107 'vie_image_process_impl.cc',
108 'vie_impl.cc',
109 'vie_network_impl.cc',
110 'vie_ref_count.cc',
111 'vie_render_impl.cc',
112 'vie_rtp_rtcp_impl.cc',
113 'vie_shared_data.cc',
114 'vie_capturer.cc',
115 'vie_channel.cc',
116 'vie_channel_group.cc',
117 'vie_channel_manager.cc',
118 'vie_encoder.cc',
119 'vie_file_image.cc',
120 'vie_file_player.cc',
121 'vie_file_recorder.cc',
122 'vie_frame_provider_base.cc',
123 'vie_input_manager.cc',
124 'vie_manager_base.cc',
andrew@webrtc.orga7b57da2012-10-22 18:19:23 +0000125 'vie_receiver.cc',
126 'vie_remb.cc',
127 'vie_renderer.cc',
128 'vie_render_manager.cc',
129 'vie_sender.cc',
130 'vie_sync_module.cc',
pbos@webrtc.orgdc8c8832013-05-16 12:08:03 +0000131
132 # New VideoEngine API
133 'new_include/common.h',
134 'new_include/video_engine.h',
135 'new_include/video_receive_stream.h',
136 'new_include/video_send_stream.h',
137 'internal/video_engine.cc',
138 'internal/video_call.cc',
139 'internal/video_call.h',
140 'internal/video_receive_stream.cc',
141 'internal/video_receive_stream.h',
142 'internal/video_send_stream.cc',
143 'internal/video_send_stream.h',
andrew@webrtc.orga7b57da2012-10-22 18:19:23 +0000144 ], # source
andrew@webrtc.orgb4575c12013-01-29 06:45:22 +0000145 # TODO(jschuh): Bug 1348: fix size_t to int truncations.
146 'msvs_disabled_warnings': [ 4267, ],
andrew@webrtc.orga7b57da2012-10-22 18:19:23 +0000147 },
148 ], # targets
149 'conditions': [
150 ['include_tests==1', {
151 'targets': [
152 {
153 'target_name': 'video_engine_core_unittests',
154 'type': 'executable',
155 'dependencies': [
156 'video_engine_core',
157 '<(DEPTH)/testing/gtest.gyp:gtest',
158 '<(DEPTH)/testing/gmock.gyp:gmock',
159 '<(webrtc_root)/test/test.gyp:test_support_main',
160 ],
161 'include_dirs': [
162 '..',
163 '../modules/interface',
164 '../modules/rtp_rtcp/interface',
165 ],
166 'sources': [
mflodman@webrtc.org8a8517a2012-11-16 13:57:26 +0000167 'call_stats_unittest.cc',
andrew@webrtc.orga7b57da2012-10-22 18:19:23 +0000168 'encoder_state_feedback_unittest.cc',
169 'stream_synchronization_unittest.cc',
170 'vie_remb_unittest.cc',
171 ],
172 },
173 ], # targets
174 }], # include_tests
175 ], # conditions
176}