Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / webrtc / video_engine / video_engine_core.gypi
1 # 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 {
10   'targets': [
11     {
12       'target_name': 'video_engine_core',
13       'type': 'static_library',
14       'dependencies': [
15
16         # common_video
17        '<(webrtc_root)/common_video/common_video.gyp:common_video',
18
19         # ModulesShared
20         '<(webrtc_root)/modules/modules.gyp:rtp_rtcp',
21         '<(webrtc_root)/modules/modules.gyp:webrtc_utility',
22
23         # ModulesVideo
24         '<(webrtc_root)/modules/modules.gyp:bitrate_controller',
25         '<(webrtc_root)/modules/modules.gyp:video_capture_module',
26         '<(webrtc_root)/modules/modules.gyp:webrtc_video_coding',
27         '<(webrtc_root)/modules/modules.gyp:video_processing',
28         '<(webrtc_root)/modules/modules.gyp:video_render_module',
29
30         # VoiceEngine
31         '<(webrtc_root)/voice_engine/voice_engine.gyp:voice_engine',
32
33         # system_wrappers
34         '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
35       ],
36       'sources': [
37         # interface
38         'include/vie_base.h',
39         'include/vie_capture.h',
40         'include/vie_codec.h',
41         'include/vie_errors.h',
42         'include/vie_external_codec.h',
43         'include/vie_image_process.h',
44         'include/vie_network.h',
45         'include/vie_render.h',
46         'include/vie_rtp_rtcp.h',
47
48         # headers
49         'call_stats.h',
50         'encoder_state_feedback.h',
51         'overuse_frame_detector.h',
52         'stream_synchronization.h',
53         'vie_base_impl.h',
54         'vie_capture_impl.h',
55         'vie_codec_impl.h',
56         'vie_defines.h',
57         'vie_external_codec_impl.h',
58         'vie_image_process_impl.h',
59         'vie_impl.h',
60         'vie_network_impl.h',
61         'vie_ref_count.h',
62         'vie_remb.h',
63         'vie_render_impl.h',
64         'vie_rtp_rtcp_impl.h',
65         'vie_shared_data.h',
66         'vie_capturer.h',
67         'vie_channel.h',
68         'vie_channel_group.h',
69         'vie_channel_manager.h',
70         'vie_encoder.h',
71         'vie_file_image.h',
72         'vie_frame_provider_base.h',
73         'vie_input_manager.h',
74         'vie_manager_base.h',
75         'vie_receiver.h',
76         'vie_renderer.h',
77         'vie_render_manager.h',
78         'vie_sender.h',
79         'vie_sync_module.h',
80
81         # ViE
82         'call_stats.cc',
83         'encoder_state_feedback.cc',
84         'overuse_frame_detector.cc',
85         'stream_synchronization.cc',
86         'vie_base_impl.cc',
87         'vie_capture_impl.cc',
88         'vie_codec_impl.cc',
89         'vie_external_codec_impl.cc',
90         'vie_image_process_impl.cc',
91         'vie_impl.cc',
92         'vie_network_impl.cc',
93         'vie_ref_count.cc',
94         'vie_render_impl.cc',
95         'vie_rtp_rtcp_impl.cc',
96         'vie_shared_data.cc',
97         'vie_capturer.cc',
98         'vie_channel.cc',
99         'vie_channel_group.cc',
100         'vie_channel_manager.cc',
101         'vie_encoder.cc',
102         'vie_file_image.cc',
103         'vie_frame_provider_base.cc',
104         'vie_input_manager.cc',
105         'vie_manager_base.cc',
106         'vie_receiver.cc',
107         'vie_remb.cc',
108         'vie_renderer.cc',
109         'vie_render_manager.cc',
110         'vie_sender.cc',
111         'vie_sync_module.cc',
112       ], # source
113       # TODO(jschuh): Bug 1348: fix size_t to int truncations.
114       'msvs_disabled_warnings': [ 4267, ],
115     },
116   ], # targets
117   'conditions': [
118     ['include_tests==1', {
119       'targets': [
120         {
121           'target_name': 'video_engine_core_unittests',
122           'type': '<(gtest_target_type)',
123           'dependencies': [
124             'video_engine_core',
125             '<(webrtc_root)/modules/modules.gyp:video_capture_module_internal_impl',
126             '<(webrtc_root)/modules/modules.gyp:video_render_module_internal_impl',
127             '<(DEPTH)/testing/gtest.gyp:gtest',
128             '<(DEPTH)/testing/gmock.gyp:gmock',
129             '<(webrtc_root)/test/test.gyp:test_support_main',
130           ],
131           'sources': [
132             'call_stats_unittest.cc',
133             'encoder_state_feedback_unittest.cc',
134             'overuse_frame_detector_unittest.cc',
135             'stream_synchronization_unittest.cc',
136             'vie_capturer_unittest.cc',
137             'vie_codec_unittest.cc',
138             'vie_remb_unittest.cc',
139           ],
140           'conditions': [
141             ['OS=="android"', {
142               'dependencies': [
143                 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code',
144               ],
145             }],
146           ],
147         },
148       ], # targets
149       'conditions': [
150         ['OS=="android"', {
151           'targets': [
152             {
153               'target_name': 'video_engine_core_unittests_apk_target',
154               'type': 'none',
155               'dependencies': [
156                 '<(apk_tests_path):video_engine_core_unittests_apk',
157               ],
158             },
159           ],
160         }],
161         ['test_isolation_mode != "noop"', {
162           'targets': [
163             {
164               'target_name': 'video_engine_core_unittests_run',
165               'type': 'none',
166               'dependencies': [
167                 'video_engine_core_unittests',
168               ],
169               'includes': [
170                 '../build/isolate.gypi',
171               ],
172               'sources': [
173                 'video_engine_core_unittests.isolate',
174               ],
175             },
176           ],
177         }],
178       ],
179     }], # include_tests
180   ], # conditions
181 }