Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: webrtc/api/BUILD.gn

Issue 2611663002: Refactor rtc_unittests into several targets. (Closed)
Patch Set: Nit. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/BUILD.gn ('k') | webrtc/base/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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("../build/webrtc.gni") 9 import("../build/webrtc.gni")
10 if (is_android) { 10 if (is_android) {
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 cflags = [ "-Wno-sign-compare" ] 217 cflags = [ "-Wno-sign-compare" ]
218 } 218 }
219 } 219 }
220 220
221 rtc_test("peerconnection_unittests") { 221 rtc_test("peerconnection_unittests") {
222 check_includes = false # TODO(kjellander): Remove (bugs.webrtc.org/6828) 222 check_includes = false # TODO(kjellander): Remove (bugs.webrtc.org/6828)
223 testonly = true 223 testonly = true
224 sources = [ 224 sources = [
225 "datachannel_unittest.cc", 225 "datachannel_unittest.cc",
226 "dtmfsender_unittest.cc", 226 "dtmfsender_unittest.cc",
227 "fakemetricsobserver.cc",
228 "fakemetricsobserver.h",
229 "jsepsessiondescription_unittest.cc", 227 "jsepsessiondescription_unittest.cc",
230 "localaudiosource_unittest.cc", 228 "localaudiosource_unittest.cc",
231 "mediaconstraintsinterface_unittest.cc", 229 "mediaconstraintsinterface_unittest.cc",
232 "mediastream_unittest.cc", 230 "mediastream_unittest.cc",
233 "peerconnection_unittest.cc", 231 "peerconnection_unittest.cc",
234 "peerconnectionendtoend_unittest.cc", 232 "peerconnectionendtoend_unittest.cc",
235 "peerconnectionfactory_unittest.cc", 233 "peerconnectionfactory_unittest.cc",
236 "peerconnectioninterface_unittest.cc", 234 "peerconnectioninterface_unittest.cc",
237 "proxy_unittest.cc", 235 "proxy_unittest.cc",
238 "rtcstats_integrationtest.cc", 236 "rtcstats_integrationtest.cc",
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 "test/androidtestinitializer.h", 298 "test/androidtestinitializer.h",
301 ] 299 ]
302 deps += [ 300 deps += [
303 "//testing/android/native_test:native_test_support", 301 "//testing/android/native_test:native_test_support",
304 "//webrtc/sdk/android:libjingle_peerconnection_java", 302 "//webrtc/sdk/android:libjingle_peerconnection_java",
305 "//webrtc/sdk/android:libjingle_peerconnection_jni", 303 "//webrtc/sdk/android:libjingle_peerconnection_jni",
306 ] 304 ]
307 } 305 }
308 306
309 deps += [ 307 deps += [
308 ":fakemetricsobserver",
310 ":libjingle_peerconnection", 309 ":libjingle_peerconnection",
311 "..:webrtc_common", 310 "..:webrtc_common",
312 "../base:rtc_base_tests_utils", 311 "../base:rtc_base_tests_utils",
313 "../media:rtc_unittest_main", 312 "../media:rtc_unittest_main",
314 "../pc:rtc_pc", 313 "../pc:rtc_pc",
315 "../system_wrappers:metrics_default", 314 "../system_wrappers:metrics_default",
316 "//testing/gmock", 315 "//testing/gmock",
317 ] 316 ]
318 317
319 if (is_android) { 318 if (is_android) {
(...skipping 11 matching lines...) Expand all
331 330
332 public_deps = [ 331 public_deps = [
333 ":audio_mixer_api", 332 ":audio_mixer_api",
334 ] 333 ]
335 334
336 deps = [ 335 deps = [
337 "//testing/gmock", 336 "//testing/gmock",
338 "//webrtc/test:test_support", 337 "//webrtc/test:test_support",
339 ] 338 ]
340 } 339 }
340
341 rtc_source_set("fakemetricsobserver") {
342 testonly = true
343 sources = [
344 "fakemetricsobserver.cc",
345 "fakemetricsobserver.h",
346 ]
347 deps = [
348 ":libjingle_peerconnection",
349 "../base:rtc_base_approved",
350 ]
351 if (!build_with_chromium && is_clang) {
352 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
353 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
354 }
355 }
341 } 356 }
OLDNEW
« no previous file with comments | « webrtc/BUILD.gn ('k') | webrtc/base/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698