OLD | NEW |
---|---|
1 # Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2015 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 import("../webrtc.gni") | 9 import("../webrtc.gni") |
10 if (is_android) { | 10 if (is_android) { |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
54 "mediastreamtrack.h", | 54 "mediastreamtrack.h", |
55 "mediastreamtrackproxy.h", | 55 "mediastreamtrackproxy.h", |
56 "mediatypes.cc", | 56 "mediatypes.cc", |
57 "mediatypes.h", | 57 "mediatypes.h", |
58 "notifier.h", | 58 "notifier.h", |
59 "ortcfactoryinterface.h", | 59 "ortcfactoryinterface.h", |
60 "peerconnectionfactoryproxy.h", | 60 "peerconnectionfactoryproxy.h", |
61 "peerconnectioninterface.h", | 61 "peerconnectioninterface.h", |
62 "peerconnectionproxy.h", | 62 "peerconnectionproxy.h", |
63 "proxy.h", | 63 "proxy.h", |
64 "rtcerror.cc", | |
65 "rtcerror.h", | |
64 "rtpparameters.h", | 66 "rtpparameters.h", |
65 "rtpreceiverinterface.h", | 67 "rtpreceiverinterface.h", |
66 "rtpsender.h", | 68 "rtpsender.h", |
67 "rtpsenderinterface.h", | 69 "rtpsenderinterface.h", |
68 "statstypes.cc", | 70 "statstypes.cc", |
69 "statstypes.h", | 71 "statstypes.h", |
70 "streamcollection.h", | 72 "streamcollection.h", |
71 "trackmediainfomap.cc", | 73 "trackmediainfomap.cc", |
72 "trackmediainfomap.h", | 74 "trackmediainfomap.h", |
73 "udptransportinterface.h", | 75 "udptransportinterface.h", |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
193 ] | 195 ] |
194 deps = [ | 196 deps = [ |
195 ":libjingle_peerconnection_api", | 197 ":libjingle_peerconnection_api", |
196 "../base:rtc_base_approved", | 198 "../base:rtc_base_approved", |
197 ] | 199 ] |
198 if (!build_with_chromium && is_clang) { | 200 if (!build_with_chromium && is_clang) { |
199 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 201 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
200 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 202 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
201 } | 203 } |
202 } | 204 } |
205 | |
206 rtc_test("rtc_api_unittests") { | |
kjellander_webrtc
2017/02/21 10:48:03
Can you make this a rtc_source_set and add it as a
kwiberg-webrtc
2017/02/21 12:00:26
I'm neutral on the issue of having more test binar
kjellander_webrtc
2017/02/21 12:01:44
Right, but at least I expect them all to be fast.
Taylor Brandstetter
2017/02/21 17:59:32
Here: https://codereview.webrtc.org/2709573003
It
| |
207 testonly = true | |
208 | |
209 sources = [ | |
210 "rtcerror_unittest.cc", | |
211 ] | |
212 | |
213 if (!build_with_chromium && is_clang) { | |
214 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | |
215 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | |
216 } | |
217 | |
218 deps = [ | |
219 ":libjingle_peerconnection_api", | |
220 "../base:rtc_base_tests_main", | |
221 "../base:rtc_base_tests_utils", | |
222 "../system_wrappers:metrics_default", | |
223 "../test:test_support", | |
224 ] | |
225 | |
226 if (is_android) { | |
227 deps += [ "//testing/android/native_test:native_test_support" ] | |
228 } | |
229 } | |
203 } | 230 } |
OLD | NEW |