OLD | NEW |
| (Empty) |
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 '<(webrtc_root)/common.gyp:webrtc_common', | |
16 | |
17 # common_video | |
18 '<(webrtc_root)/common_video/common_video.gyp:common_video', | |
19 | |
20 # ModulesShared | |
21 '<(webrtc_root)/modules/modules.gyp:rtp_rtcp', | |
22 '<(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', | |
33 | |
34 # system_wrappers | |
35 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', | |
36 ], | |
37 'sources': [ | |
38 # headers | |
39 'call_stats.h', | |
40 'encoder_state_feedback.h', | |
41 'overuse_frame_detector.h', | |
42 'payload_router.h', | |
43 'report_block_stats.h', | |
44 'stream_synchronization.h', | |
45 'vie_defines.h', | |
46 'vie_remb.h', | |
47 'vie_capturer.h', | |
48 'vie_channel.h', | |
49 'vie_channel_group.h', | |
50 'vie_encoder.h', | |
51 'vie_receiver.h', | |
52 'vie_sync_module.h', | |
53 | |
54 # ViE | |
55 'call_stats.cc', | |
56 'encoder_state_feedback.cc', | |
57 'overuse_frame_detector.cc', | |
58 'payload_router.cc', | |
59 'report_block_stats.cc', | |
60 'stream_synchronization.cc', | |
61 'vie_capturer.cc', | |
62 'vie_channel.cc', | |
63 'vie_channel_group.cc', | |
64 'vie_encoder.cc', | |
65 'vie_receiver.cc', | |
66 'vie_remb.cc', | |
67 'vie_sync_module.cc', | |
68 ], # source | |
69 }, | |
70 ], # targets | |
71 'conditions': [ | |
72 ['include_tests==1', { | |
73 'targets': [ | |
74 { | |
75 'target_name': 'video_engine_core_unittests', | |
76 'type': '<(gtest_target_type)', | |
77 'dependencies': [ | |
78 'video_engine_core', | |
79 '<(webrtc_root)/modules/modules.gyp:video_capture_module_internal_im
pl', | |
80 '<(webrtc_root)/modules/modules.gyp:video_render_module_internal_imp
l', | |
81 '<(DEPTH)/testing/gtest.gyp:gtest', | |
82 '<(DEPTH)/testing/gmock.gyp:gmock', | |
83 '<(webrtc_root)/test/test.gyp:test_support_main', | |
84 ], | |
85 'sources': [ | |
86 'call_stats_unittest.cc', | |
87 'encoder_state_feedback_unittest.cc', | |
88 'overuse_frame_detector_unittest.cc', | |
89 'payload_router_unittest.cc', | |
90 'report_block_stats_unittest.cc', | |
91 'stream_synchronization_unittest.cc', | |
92 'vie_capturer_unittest.cc', | |
93 'vie_codec_unittest.cc', | |
94 'vie_remb_unittest.cc', | |
95 ], | |
96 'conditions': [ | |
97 ['OS=="android"', { | |
98 'dependencies': [ | |
99 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_cod
e', | |
100 ], | |
101 }], | |
102 ], | |
103 }, | |
104 ], # targets | |
105 'conditions': [ | |
106 ['OS=="android"', { | |
107 'targets': [ | |
108 { | |
109 'target_name': 'video_engine_core_unittests_apk_target', | |
110 'type': 'none', | |
111 'dependencies': [ | |
112 '<(apk_tests_path):video_engine_core_unittests_apk', | |
113 ], | |
114 }, | |
115 ], | |
116 }], | |
117 ['test_isolation_mode != "noop"', { | |
118 'targets': [ | |
119 { | |
120 'target_name': 'video_engine_core_unittests_run', | |
121 'type': 'none', | |
122 'dependencies': [ | |
123 'video_engine_core_unittests', | |
124 ], | |
125 'includes': [ | |
126 '../build/isolate.gypi', | |
127 ], | |
128 'sources': [ | |
129 'video_engine_core_unittests.isolate', | |
130 ], | |
131 }, | |
132 ], | |
133 }], | |
134 ], | |
135 }], # include_tests | |
136 ], # conditions | |
137 } | |
OLD | NEW |