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 614 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 | 634 |
635 # There's no point processing WebRTC standalone tests in a Chromium build. | 635 if (!rtc_include_tests) { |
636 if (!build_with_chromium) { | |
637 config("rtc_base_test_utils_exported_config") { | 636 config("rtc_base_test_utils_exported_config") { |
638 defines = [ "GTEST_RELATIVE_PATH" ] | 637 defines = [ "GTEST_RELATIVE_PATH" ] |
639 } | 638 } |
640 | 639 |
641 source_set("rtc_base_test_utils") { | 640 source_set("rtc_base_test_utils") { |
642 testonly = true | 641 testonly = true |
643 sources = [ | 642 sources = [ |
644 # Also use this as a convenient dumping ground for misc files that are | 643 # Also use this as a convenient dumping ground for misc files that are |
645 # included by multiple targets below. | 644 # included by multiple targets below. |
646 "fakenetwork.h", | 645 "fakenetwork.h", |
(...skipping 12 matching lines...) Expand all Loading... |
659 ] | 658 ] |
660 deps = [ | 659 deps = [ |
661 ":rtc_base", | 660 ":rtc_base", |
662 "../test:field_trial", | 661 "../test:field_trial", |
663 ] | 662 ] |
664 public_deps = [ | 663 public_deps = [ |
665 "//testing/gtest", | 664 "//testing/gtest", |
666 ] | 665 ] |
667 } | 666 } |
668 } | 667 } |
OLD | NEW |