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

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

Issue 2706823002: Added GetCpuTime to base/ to get total CPU time consumed by process for perf tests. (Closed)
Patch Set: rebase Created 3 years, 10 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/base/cpu_time.h » ('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 670 matching lines...) Expand 10 before | Expand all | Expand 10 after
681 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 681 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
682 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 682 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
683 } 683 }
684 } 684 }
685 685
686 rtc_source_set("rtc_base_tests_utils") { 686 rtc_source_set("rtc_base_tests_utils") {
687 testonly = true 687 testonly = true
688 sources = [ 688 sources = [
689 # Also use this as a convenient dumping ground for misc files that are 689 # Also use this as a convenient dumping ground for misc files that are
690 # included by multiple targets below. 690 # included by multiple targets below.
691 "cpu_time.cc",
692 "cpu_time.h",
691 "fakeclock.cc", 693 "fakeclock.cc",
692 "fakeclock.h", 694 "fakeclock.h",
693 "fakenetwork.h", 695 "fakenetwork.h",
694 "fakesslidentity.h", 696 "fakesslidentity.h",
695 "firewallsocketserver.cc", 697 "firewallsocketserver.cc",
696 "firewallsocketserver.h", 698 "firewallsocketserver.h",
697 "gunit.h", 699 "gunit.h",
698 "httpserver.cc", 700 "httpserver.cc",
699 "httpserver.h", 701 "httpserver.h",
700 "natserver.cc", 702 "natserver.cc",
(...skipping 25 matching lines...) Expand all
726 728
727 if (!build_with_chromium && is_clang) { 729 if (!build_with_chromium && is_clang) {
728 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 730 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
729 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 731 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
730 } 732 }
731 } 733 }
732 734
733 rtc_source_set("rtc_base_nonparallel_tests") { 735 rtc_source_set("rtc_base_nonparallel_tests") {
734 testonly = true 736 testonly = true
735 sources = [ 737 sources = [
738 "cpu_time_unittest.cc",
736 "filerotatingstream_unittest.cc", 739 "filerotatingstream_unittest.cc",
737 "nullsocketserver_unittest.cc", 740 "nullsocketserver_unittest.cc",
738 "physicalsocketserver_unittest.cc", 741 "physicalsocketserver_unittest.cc",
739 "socket_unittest.cc", 742 "socket_unittest.cc",
740 "socket_unittest.h", 743 "socket_unittest.h",
741 "socketaddress_unittest.cc", 744 "socketaddress_unittest.cc",
742 "virtualsocket_unittest.cc", 745 "virtualsocket_unittest.cc",
743 ] 746 ]
744 deps = [ 747 deps = [
745 ":rtc_base", 748 ":rtc_base",
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
904 907
905 if (is_android) { 908 if (is_android) {
906 android_library("base_java") { 909 android_library("base_java") {
907 java_files = [ 910 java_files = [
908 "java/src/org/webrtc/Logging.java", 911 "java/src/org/webrtc/Logging.java",
909 "java/src/org/webrtc/Size.java", 912 "java/src/org/webrtc/Size.java",
910 "java/src/org/webrtc/ThreadUtils.java", 913 "java/src/org/webrtc/ThreadUtils.java",
911 ] 914 ]
912 } 915 }
913 } 916 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/base/cpu_time.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698