OLD | NEW |
---|---|
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 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 # TODO(kjellander): Rebase this to webrtc/build/common.gypi changes after r6330. | 9 # TODO(kjellander): Rebase this to webrtc/build/common.gypi changes after r6330. |
10 | 10 |
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
340 # TODO(mbonadei): Remove (bugs.webrtc.org/7745) | 340 # TODO(mbonadei): Remove (bugs.webrtc.org/7745) |
341 # Enabling GN check triggers cyclic dependency error: | 341 # Enabling GN check triggers cyclic dependency error: |
342 # :webrtc_common -> | 342 # :webrtc_common -> |
343 # api:video_frame_api -> | 343 # api:video_frame_api -> |
344 # system_wrappers:system_wrappers -> | 344 # system_wrappers:system_wrappers -> |
345 # webrtc_common | 345 # webrtc_common |
346 check_includes = false | 346 check_includes = false |
347 sources = [ | 347 sources = [ |
348 "common_types.cc", | 348 "common_types.cc", |
349 "common_types.h", | 349 "common_types.h", |
350 "config.cc", | |
351 "config.h", | |
352 "typedefs.h", | 350 "typedefs.h", |
353 ] | 351 ] |
354 | 352 |
355 if (!build_with_chromium && is_clang) { | 353 if (!build_with_chromium && is_clang) { |
356 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 354 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
357 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 355 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
358 } | 356 } |
359 } | 357 } |
360 | 358 |
361 if (use_libfuzzer || use_drfuzz || use_afl) { | 359 if (use_libfuzzer || use_drfuzz || use_afl) { |
(...skipping 13 matching lines...) Expand all Loading... | |
375 # adds -Wall, and this flag have to be after -Wall -- so they need to | 373 # adds -Wall, and this flag have to be after -Wall -- so they need to |
376 # come from a config and can"t be on the target directly. | 374 # come from a config and can"t be on the target directly. |
377 if (is_clang) { | 375 if (is_clang) { |
378 cflags = [ | 376 cflags = [ |
379 "-Wno-sign-compare", | 377 "-Wno-sign-compare", |
380 "-Wno-unused-const-variable", | 378 "-Wno-unused-const-variable", |
381 ] | 379 ] |
382 } | 380 } |
383 } | 381 } |
384 | 382 |
385 rtc_test("rtc_unittests") { | 383 rtc_test("rtc_unittests") { |
the sun
2017/08/28 18:52:56
Is this target not needed anymore?
mbonadei
2017/08/29 06:45:29
I think it is used as an "umbrella target" to link
stefan-webrtc
2017/08/29 08:37:17
I'll keep it for now then.
| |
386 testonly = true | 384 testonly = true |
387 sources = [ | |
388 "config_unittest.cc", | |
389 ] | |
390 | 385 |
391 deps = [ | 386 deps = [ |
392 ":webrtc_common", | 387 ":webrtc_common", |
393 "api:rtc_api_unittests", | 388 "api:rtc_api_unittests", |
394 "api/audio_codecs/test:audio_codecs_api_unittests", | 389 "api/audio_codecs/test:audio_codecs_api_unittests", |
395 "p2p:libstunprober_unittests", | 390 "p2p:libstunprober_unittests", |
396 "p2p:rtc_p2p_unittests", | 391 "p2p:rtc_p2p_unittests", |
397 "rtc_base:rtc_base_approved_unittests", | 392 "rtc_base:rtc_base_approved_unittests", |
398 "rtc_base:rtc_base_tests_main", | 393 "rtc_base:rtc_base_tests_main", |
399 "rtc_base:rtc_base_tests_utils", | 394 "rtc_base:rtc_base_tests_utils", |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
535 ] | 530 ] |
536 | 531 |
537 deps = [ | 532 deps = [ |
538 "examples:AppRTCMobile_javalib", | 533 "examples:AppRTCMobile_javalib", |
539 "sdk/android:libjingle_peerconnection_java", | 534 "sdk/android:libjingle_peerconnection_java", |
540 "//base:base_java_test_support", | 535 "//base:base_java_test_support", |
541 ] | 536 ] |
542 } | 537 } |
543 } | 538 } |
544 } | 539 } |
OLD | NEW |