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

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

Issue 2546493002: Update smoothed bitrate. (Closed)
Patch Set: Renamed OnReceivedTargetAudioBitrate to OnReceivedUplinkBandwidth Created 3 years, 11 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
« no previous file with comments | « no previous file | webrtc/media/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 688 matching lines...) Expand 10 before | Expand all | Expand 10 after
699 config("rtc_base_tests_utils_warnings_config") { 699 config("rtc_base_tests_utils_warnings_config") {
700 if (is_win && is_clang) { 700 if (is_win && is_clang) {
701 cflags = [ 701 cflags = [
702 # See https://bugs.chromium.org/p/webrtc/issues/detail?id=6270 702 # See https://bugs.chromium.org/p/webrtc/issues/detail?id=6270
703 "-Wno-reorder", 703 "-Wno-reorder",
704 "-Wno-sign-compare", 704 "-Wno-sign-compare",
705 ] 705 ]
706 } 706 }
707 } 707 }
708 708
709 rtc_source_set("rtc_base_tests_main") {
710 testonly = true
711 sources = [
712 "unittest_main.cc",
713 ]
714 public_configs = [ ":rtc_base_tests_utils_exported_config" ]
715 deps = [
716 ":rtc_base_tests_utils",
717 ]
718 public_deps = [
719 "//testing/gmock",
720 "//testing/gtest",
721 ]
722
723 if (!build_with_chromium && is_clang) {
724 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
725 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
726 }
727 }
728
709 rtc_source_set("rtc_base_tests_utils") { 729 rtc_source_set("rtc_base_tests_utils") {
710 testonly = true 730 testonly = true
711 sources = [ 731 sources = [
712 # Also use this as a convenient dumping ground for misc files that are 732 # Also use this as a convenient dumping ground for misc files that are
713 # included by multiple targets below. 733 # included by multiple targets below.
714 "fakeclock.cc", 734 "fakeclock.cc",
715 "fakeclock.h", 735 "fakeclock.h",
716 "fakenetwork.h", 736 "fakenetwork.h",
717 "fakesslidentity.h", 737 "fakesslidentity.h",
718 "faketaskrunner.h", 738 "faketaskrunner.h",
719 "firewallsocketserver.cc", 739 "firewallsocketserver.cc",
720 "firewallsocketserver.h", 740 "firewallsocketserver.h",
721 "gunit.h", 741 "gunit.h",
722 "natserver.cc", 742 "natserver.cc",
723 "natserver.h", 743 "natserver.h",
724 "natsocketfactory.cc", 744 "natsocketfactory.cc",
725 "natsocketfactory.h", 745 "natsocketfactory.h",
726 "nattypes.cc", 746 "nattypes.cc",
727 "nattypes.h", 747 "nattypes.h",
728 "sigslottester.h", 748 "sigslottester.h",
729 "sigslottester.h.pump", 749 "sigslottester.h.pump",
730 "testbase64.h", 750 "testbase64.h",
731 "testechoserver.h", 751 "testechoserver.h",
732 "testutils.h", 752 "testutils.h",
733 "timedelta.h", 753 "timedelta.h",
734 "unittest_main.cc",
735 ] 754 ]
736 configs += [ ":rtc_base_tests_utils_warnings_config" ] 755 configs += [ ":rtc_base_tests_utils_warnings_config" ]
737 public_configs = [ ":rtc_base_tests_utils_exported_config" ] 756 public_configs = [ ":rtc_base_tests_utils_exported_config" ]
738 deps = [ 757 deps = [
739 ":rtc_base", 758 ":rtc_base",
740 "../test:field_trial", 759 "../test:field_trial",
741 "../test:test_support", 760 "../test:test_support",
742 ] 761 ]
743 public_deps = [ 762 public_deps = [
744 "//testing/gmock", 763 "//testing/gmock",
(...skipping 11 matching lines...) Expand all
756 sources = [ 775 sources = [
757 "nullsocketserver_unittest.cc", 776 "nullsocketserver_unittest.cc",
758 "physicalsocketserver_unittest.cc", 777 "physicalsocketserver_unittest.cc",
759 "socket_unittest.cc", 778 "socket_unittest.cc",
760 "socket_unittest.h", 779 "socket_unittest.h",
761 "socketaddress_unittest.cc", 780 "socketaddress_unittest.cc",
762 "virtualsocket_unittest.cc", 781 "virtualsocket_unittest.cc",
763 ] 782 ]
764 deps = [ 783 deps = [
765 ":rtc_base", 784 ":rtc_base",
766 ":rtc_base_tests_utils", 785 ":rtc_base_tests_main",
767 "//testing/gtest", 786 "//testing/gtest",
768 ] 787 ]
769 if (is_win) { 788 if (is_win) {
770 sources += [ "win32socketserver_unittest.cc" ] 789 sources += [ "win32socketserver_unittest.cc" ]
771 } 790 }
772 791
773 if (!build_with_chromium && is_clang) { 792 if (!build_with_chromium && is_clang) {
774 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 793 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
775 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 794 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
776 } 795 }
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
811 "stringencode_unittest.cc", 830 "stringencode_unittest.cc",
812 "stringutils_unittest.cc", 831 "stringutils_unittest.cc",
813 "swap_queue_unittest.cc", 832 "swap_queue_unittest.cc",
814 "thread_annotations_unittest.cc", 833 "thread_annotations_unittest.cc",
815 "thread_checker_unittest.cc", 834 "thread_checker_unittest.cc",
816 "timestampaligner_unittest.cc", 835 "timestampaligner_unittest.cc",
817 "timeutils_unittest.cc", 836 "timeutils_unittest.cc",
818 ] 837 ]
819 deps = [ 838 deps = [
820 ":rtc_base_approved", 839 ":rtc_base_approved",
821 ":rtc_base_tests_utils", 840 ":rtc_base_tests_main",
822 ] 841 ]
823 if (!build_with_chromium && is_clang) { 842 if (!build_with_chromium && is_clang) {
824 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 843 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
825 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 844 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
826 } 845 }
827 } 846 }
828 847
829 rtc_source_set("rtc_task_queue_unittests") { 848 rtc_source_set("rtc_task_queue_unittests") {
830 testonly = true 849 testonly = true
831 sources = [ 850 sources = [
832 "sequenced_task_checker_unittest.cc", 851 "sequenced_task_checker_unittest.cc",
833 "task_queue_unittest.cc", 852 "task_queue_unittest.cc",
834 "weak_ptr_unittest.cc", 853 "weak_ptr_unittest.cc",
835 ] 854 ]
836 deps = [ 855 deps = [
837 ":rtc_base_tests_utils", 856 ":rtc_base_tests_main",
838 ":rtc_task_queue", 857 ":rtc_task_queue",
839 ] 858 ]
840 if (!build_with_chromium && is_clang) { 859 if (!build_with_chromium && is_clang) {
841 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 860 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
842 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 861 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
843 } 862 }
844 } 863 }
845 864
846 rtc_source_set("rtc_analytics_unittests") { 865 rtc_source_set("rtc_analytics_unittests") {
847 testonly = true 866 testonly = true
848 sources = [ 867 sources = [
849 "analytics/exp_filter_unittest.cc", 868 "analytics/exp_filter_unittest.cc",
850 "analytics/percentile_filter_unittest.cc", 869 "analytics/percentile_filter_unittest.cc",
851 ] 870 ]
852 deps = [ 871 deps = [
853 ":rtc_analytics", 872 ":rtc_analytics",
854 ":rtc_base_tests_utils", 873 ":rtc_base_tests_main",
855 ] 874 ]
856 } 875 }
857 876
858 config("rtc_base_unittests_config") { 877 config("rtc_base_unittests_config") {
859 if (is_clang) { 878 if (is_clang) {
860 cflags = [ "-Wno-unused-const-variable" ] 879 cflags = [ "-Wno-unused-const-variable" ]
861 } 880 }
862 } 881 }
863 rtc_source_set("rtc_base_unittests") { 882 rtc_source_set("rtc_base_unittests") {
864 testonly = true 883 testonly = true
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
905 sources += [ "macutils_unittest.cc" ] 924 sources += [ "macutils_unittest.cc" ]
906 } 925 }
907 if (is_posix) { 926 if (is_posix) {
908 sources += [ 927 sources += [
909 "ssladapter_unittest.cc", 928 "ssladapter_unittest.cc",
910 "sslidentity_unittest.cc", 929 "sslidentity_unittest.cc",
911 "sslstreamadapter_unittest.cc", 930 "sslstreamadapter_unittest.cc",
912 ] 931 ]
913 } 932 }
914 deps = [ 933 deps = [
915 ":rtc_base_tests_utils", 934 ":rtc_base_tests_main",
916 ] 935 ]
917 public_deps = [ 936 public_deps = [
918 ":rtc_base", 937 ":rtc_base",
919 ] 938 ]
920 configs += [ ":rtc_base_unittests_config" ] 939 configs += [ ":rtc_base_unittests_config" ]
921 if (!build_with_chromium && is_clang) { 940 if (!build_with_chromium && is_clang) {
922 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 941 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
923 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 942 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
924 } 943 }
925 } 944 }
926 } 945 }
927 946
928 if (is_android) { 947 if (is_android) {
929 android_library("base_java") { 948 android_library("base_java") {
930 java_files = [ 949 java_files = [
931 "java/src/org/webrtc/Logging.java", 950 "java/src/org/webrtc/Logging.java",
932 "java/src/org/webrtc/Size.java", 951 "java/src/org/webrtc/Size.java",
933 "java/src/org/webrtc/ThreadUtils.java", 952 "java/src/org/webrtc/ThreadUtils.java",
934 ] 953 ]
935 954
936 deps = [ 955 deps = [
937 "//base:base_java", 956 "//base:base_java",
938 ] 957 ]
939 } 958 }
940 } 959 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/media/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698