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

Side by Side Diff: webrtc/tools/network_tester/BUILD.gn

Issue 2790513002: Add packet logger and server (Closed)
Patch Set: Set output path Created 3 years, 8 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/tools/network_tester/network_tester_unittest.cc » ('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) 2017 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2017 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("../../webrtc.gni") 9 import("../../webrtc.gni")
10 import("//third_party/protobuf/proto_library.gni") 10 import("//third_party/protobuf/proto_library.gni")
(...skipping 10 matching lines...) Expand all
21 sources = [ 21 sources = [
22 "network_tester_packet.proto", 22 "network_tester_packet.proto",
23 ] 23 ]
24 proto_out_dir = "webrtc/tools/network_tester" 24 proto_out_dir = "webrtc/tools/network_tester"
25 } 25 }
26 26
27 rtc_static_library("network_tester") { 27 rtc_static_library("network_tester") {
28 sources = [ 28 sources = [
29 "config_reader.cc", 29 "config_reader.cc",
30 "config_reader.h", 30 "config_reader.h",
31 "packet_logger.cc",
32 "packet_logger.h",
31 "packet_sender.cc", 33 "packet_sender.cc",
32 "packet_sender.h", 34 "packet_sender.h",
33 "test_controller.cc", 35 "test_controller.cc",
34 "test_controller.h", 36 "test_controller.h",
35 ] 37 ]
36 38
37 defines = [ "WEBRTC_NETWORK_TESTER_PROTO" ] 39 defines = [ "WEBRTC_NETWORK_TESTER_PROTO" ]
38 40
39 deps = [ 41 deps = [
40 ":network_tester_config_proto", 42 ":network_tester_config_proto",
41 ":network_tester_packet_proto", 43 ":network_tester_packet_proto",
44 "../../base:protobuf_utils",
42 "../../base:rtc_task_queue", 45 "../../base:rtc_task_queue",
43 "../../p2p", 46 "../../p2p",
44 ] 47 ]
45 48
46 if (!build_with_chromium && is_clang) { 49 if (!build_with_chromium && is_clang) {
47 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 50 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
48 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 51 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
49 } 52 }
50 } 53 }
51 54
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 "WEBRTC_NETWORK_TESTER_TEST_ENABLED", 89 "WEBRTC_NETWORK_TESTER_TEST_ENABLED",
87 ] 90 ]
88 91
89 data = network_tester_unittests_resources 92 data = network_tester_unittests_resources
90 93
91 if (!build_with_chromium && is_clang) { 94 if (!build_with_chromium && is_clang) {
92 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 95 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
93 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 96 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
94 } 97 }
95 } 98 }
99
100 rtc_executable("network_tester_server") {
101 sources = [
102 "server.cc",
103 ]
104
105 deps = [
106 ":network_tester",
107 ]
108
109 if (!build_with_chromium && is_clang) {
110 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
111 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
112 }
113 }
96 } 114 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/tools/network_tester/network_tester_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698