OLD | NEW |
1 # Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2011 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': [ | 10 'includes': [ |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 '<(webrtc_root)/base/base.gyp:rtc_base_approved', | 102 '<(webrtc_root)/base/base.gyp:rtc_base_approved', |
103 '<(webrtc_root)/common.gyp:webrtc_common', | 103 '<(webrtc_root)/common.gyp:webrtc_common', |
104 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', | 104 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', |
105 ], | 105 ], |
106 'sources': [ | 106 'sources': [ |
107 'level_indicator.cc', | 107 'level_indicator.cc', |
108 'level_indicator.h', | 108 'level_indicator.h', |
109 ] | 109 ] |
110 }, | 110 }, |
111 ], | 111 ], |
112 'conditions': [ | |
113 ['OS=="win"', { | |
114 'defines': ['WEBRTC_DRIFT_COMPENSATION_SUPPORTED',], | |
115 }], | |
116 ['include_tests==1', { | |
117 'targets': [ | |
118 { | |
119 'target_name': 'channel_transport', | |
120 'type': 'static_library', | |
121 'dependencies': [ | |
122 '<(DEPTH)/testing/gtest.gyp:gtest', | |
123 '<(webrtc_root)/common.gyp:webrtc_common', | |
124 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers'
, | |
125 ], | |
126 'sources': [ | |
127 'test/channel_transport/channel_transport.cc', | |
128 'test/channel_transport/channel_transport.h', | |
129 'test/channel_transport/traffic_control_win.cc', | |
130 'test/channel_transport/traffic_control_win.h', | |
131 'test/channel_transport/udp_socket_manager_posix.cc', | |
132 'test/channel_transport/udp_socket_manager_posix.h', | |
133 'test/channel_transport/udp_socket_manager_wrapper.cc', | |
134 'test/channel_transport/udp_socket_manager_wrapper.h', | |
135 'test/channel_transport/udp_socket_posix.cc', | |
136 'test/channel_transport/udp_socket_posix.h', | |
137 'test/channel_transport/udp_socket_wrapper.cc', | |
138 'test/channel_transport/udp_socket_wrapper.h', | |
139 'test/channel_transport/udp_socket2_manager_win.cc', | |
140 'test/channel_transport/udp_socket2_manager_win.h', | |
141 'test/channel_transport/udp_socket2_win.cc', | |
142 'test/channel_transport/udp_socket2_win.h', | |
143 'test/channel_transport/udp_transport.h', | |
144 'test/channel_transport/udp_transport_impl.cc', | |
145 'test/channel_transport/udp_transport_impl.h', | |
146 ], | |
147 'msvs_disabled_warnings': [ | |
148 4302, # cast truncation | |
149 ], | |
150 'conditions': [ | |
151 ['OS=="win" and clang==1', { | |
152 'msvs_settings': { | |
153 'VCCLCompilerTool': { | |
154 'AdditionalOptions': [ | |
155 # Disable warnings failing when compiling with Clang on Wind
ows. | |
156 # https://bugs.chromium.org/p/webrtc/issues/detail?id=5366 | |
157 '-Wno-parentheses-equality', | |
158 '-Wno-reorder', | |
159 '-Wno-tautological-constant-out-of-range-compare', | |
160 '-Wno-unused-private-field', | |
161 ], | |
162 }, | |
163 }, | |
164 }], | |
165 ], # conditions. | |
166 }, | |
167 { | |
168 # command line test that should work on linux/mac/win | |
169 'target_name': 'voe_cmd_test', | |
170 'type': 'executable', | |
171 'dependencies': [ | |
172 'channel_transport', | |
173 'voice_engine', | |
174 '<(DEPTH)/testing/gtest.gyp:gtest', | |
175 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', | |
176 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers'
, | |
177 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_
default', | |
178 '<(webrtc_root)/test/test.gyp:test_support', | |
179 '<(webrtc_root)/webrtc.gyp:rtc_event_log', | |
180 ], | |
181 'sources': [ | |
182 'test/cmd_test/voe_cmd_test.cc', | |
183 ], | |
184 }, | |
185 ], # targets | |
186 }], # include_tests==1 | |
187 ], # conditions | |
188 } | 112 } |
OLD | NEW |