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

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

Issue 2043873003: GN: Use rtc_include_tests variable to exclude tests. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 6 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
OLDNEW
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
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
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 }
OLDNEW
« webrtc/BUILD.gn ('K') | « webrtc/BUILD.gn ('k') | webrtc/system_wrappers/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698