| 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 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 ] | 276 ] |
| 277 } | 277 } |
| 278 | 278 |
| 279 if (rtc_enable_protobuf) { | 279 if (rtc_enable_protobuf) { |
| 280 defines += [ "ENABLE_RTC_EVENT_LOG" ] | 280 defines += [ "ENABLE_RTC_EVENT_LOG" ] |
| 281 deps += [ ":rtc_event_log_proto" ] | 281 deps += [ ":rtc_event_log_proto" ] |
| 282 } | 282 } |
| 283 } | 283 } |
| 284 } | 284 } |
| 285 | 285 |
| 286 if (!build_with_chromium) { | |
| 287 rtc_executable("webrtc_tests") { | |
| 288 testonly = true | |
| 289 deps = [ | |
| 290 ":webrtc", | |
| 291 "modules/video_capture:video_capture_internal_impl", | |
| 292 "test", | |
| 293 ] | |
| 294 } | |
| 295 | |
| 296 rtc_executable("video_loopback") { | |
| 297 testonly = true | |
| 298 sources = [ | |
| 299 "test/run_test.h", | |
| 300 "video/video_loopback.cc", | |
| 301 ] | |
| 302 | |
| 303 if (is_mac) { | |
| 304 sources += [ "test/mac/run_test.mm" ] | |
| 305 } else { | |
| 306 sources += [ "test/run_test.cc" ] | |
| 307 } | |
| 308 deps = [ | |
| 309 ":video_quality_test", | |
| 310 "system_wrappers:metrics_default", | |
| 311 "test:field_trial", | |
| 312 "test:test_common", | |
| 313 "test:test_renderer", | |
| 314 "//testing/gmock", | |
| 315 "//testing/gtest", | |
| 316 "//third_party/gflags", | |
| 317 ] | |
| 318 if (is_clang && !is_nacl) { | |
| 319 # Suppress warnings from Chrome's Clang plugins. | |
| 320 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | |
| 321 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | |
| 322 } | |
| 323 } | |
| 324 } | |
| 325 | |
| 326 rtc_source_set("webrtc_common") { | 286 rtc_source_set("webrtc_common") { |
| 327 sources = [ | 287 sources = [ |
| 328 "common_types.cc", | 288 "common_types.cc", |
| 329 "common_types.h", | 289 "common_types.h", |
| 330 "config.cc", | 290 "config.cc", |
| 331 "config.h", | 291 "config.h", |
| 332 "engine_configurations.h", | 292 "engine_configurations.h", |
| 333 "typedefs.h", | 293 "typedefs.h", |
| 334 ] | 294 ] |
| 335 | 295 |
| (...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 742 if (is_ios) { | 702 if (is_ios) { |
| 743 bundle_data("webrtc_perf_tests_bundle_data") { | 703 bundle_data("webrtc_perf_tests_bundle_data") { |
| 744 testonly = true | 704 testonly = true |
| 745 sources = webrtc_perf_tests_resources | 705 sources = webrtc_perf_tests_resources |
| 746 outputs = [ | 706 outputs = [ |
| 747 "{{bundle_resources_dir}}/{{source_file_part}}", | 707 "{{bundle_resources_dir}}/{{source_file_part}}", |
| 748 ] | 708 ] |
| 749 } | 709 } |
| 750 } | 710 } |
| 751 | 711 |
| 712 rtc_executable("webrtc_tests") { |
| 713 testonly = true |
| 714 deps = [ |
| 715 ":webrtc", |
| 716 "modules/video_capture:video_capture_internal_impl", |
| 717 "test", |
| 718 ] |
| 719 } |
| 720 |
| 721 rtc_executable("video_loopback") { |
| 722 testonly = true |
| 723 sources = [ |
| 724 "test/run_test.h", |
| 725 "video/video_loopback.cc", |
| 726 ] |
| 727 |
| 728 if (is_mac) { |
| 729 sources += [ "test/mac/run_test.mm" ] |
| 730 } else { |
| 731 sources += [ "test/run_test.cc" ] |
| 732 } |
| 733 deps = [ |
| 734 ":video_quality_test", |
| 735 "system_wrappers:metrics_default", |
| 736 "test:field_trial", |
| 737 "test:test_common", |
| 738 "test:test_renderer", |
| 739 "//testing/gmock", |
| 740 "//testing/gtest", |
| 741 "//third_party/gflags", |
| 742 ] |
| 743 if (is_clang && !is_nacl) { |
| 744 # Suppress warnings from Chrome's Clang plugins. |
| 745 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 746 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 747 } |
| 748 } |
| 749 |
| 752 rtc_test("webrtc_perf_tests") { | 750 rtc_test("webrtc_perf_tests") { |
| 753 testonly = true | 751 testonly = true |
| 754 configs += [ ":rtc_unittests_config" ] | 752 configs += [ ":rtc_unittests_config" ] |
| 755 | 753 |
| 756 sources = [ | 754 sources = [ |
| 757 "call/call_perf_tests.cc", | 755 "call/call_perf_tests.cc", |
| 758 "call/rampup_tests.cc", | 756 "call/rampup_tests.cc", |
| 759 "call/rampup_tests.h", | 757 "call/rampup_tests.h", |
| 760 "modules/audio_coding/neteq/test/neteq_performance_unittest.cc", | 758 "modules/audio_coding/neteq/test/neteq_performance_unittest.cc", |
| 761 "modules/audio_processing/audio_processing_performance_unittest.cc", | 759 "modules/audio_processing/audio_processing_performance_unittest.cc", |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 821 if (is_mac) { | 819 if (is_mac) { |
| 822 sources += [ "base/macsocketserver_unittest.cc" ] | 820 sources += [ "base/macsocketserver_unittest.cc" ] |
| 823 } | 821 } |
| 824 if (is_clang) { | 822 if (is_clang) { |
| 825 # Suppress warnings from the Chromium Clang plugin. | 823 # Suppress warnings from the Chromium Clang plugin. |
| 826 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 824 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 827 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 825 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 828 } | 826 } |
| 829 } | 827 } |
| 830 } | 828 } |
| OLD | NEW |