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 import("//build/config/crypto.gni") | 9 import("//build/config/crypto.gni") |
10 import("//build/config/ui.gni") | 10 import("//build/config/ui.gni") |
(...skipping 613 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
624 defines += [ "timezone=_timezone" ] | 624 defines += [ "timezone=_timezone" ] |
625 sources -= [ "ifaddrs_converter.cc" ] | 625 sources -= [ "ifaddrs_converter.cc" ] |
626 } | 626 } |
627 } | 627 } |
628 | 628 |
629 source_set("gtest_prod") { | 629 source_set("gtest_prod") { |
630 sources = [ | 630 sources = [ |
631 "gtest_prod_util.h", | 631 "gtest_prod_util.h", |
632 ] | 632 ] |
633 } | 633 } |
| 634 |
| 635 # There's no point processing WebRTC standalone tests in a Chromium build. |
| 636 if (!build_with_chromium) { |
| 637 config("rtc_base_test_utils_exported_config") { |
| 638 defines = [ "GTEST_RELATIVE_PATH" ] |
| 639 } |
| 640 |
| 641 source_set("rtc_base_test_utils") { |
| 642 testonly = true |
| 643 sources = [ |
| 644 # Also use this as a convenient dumping ground for misc files that are |
| 645 # included by multiple targets below. |
| 646 "fakenetwork.h", |
| 647 "fakesslidentity.h", |
| 648 "faketaskrunner.h", |
| 649 "gunit.h", |
| 650 "testbase64.h", |
| 651 "testechoserver.h", |
| 652 "testutils.h", |
| 653 "unittest_main.cc", |
| 654 ] |
| 655 configs += [ "..:common_config" ] |
| 656 public_configs = [ |
| 657 "..:common_inherited_config", |
| 658 ":rtc_base_test_utils_exported_config", |
| 659 ] |
| 660 deps = [ |
| 661 ":rtc_base", |
| 662 "../test:field_trial", |
| 663 ] |
| 664 public_deps = [ |
| 665 "//testing/gtest", |
| 666 ] |
| 667 } |
| 668 } |
OLD | NEW |