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

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

Issue 2790513002: Add packet logger and server (Closed)
Patch Set: Respond to comments 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
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 11 matching lines...) Expand all
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 27
28 rtc_static_library("network_tester") { 28 rtc_static_library("network_tester") {
29 sources = [ 29 sources = [
30 "config_reader.cc", 30 "config_reader.cc",
31 "config_reader.h", 31 "config_reader.h",
32 "packet_logger.cc",
33 "packet_logger.h",
32 "packet_sender.cc", 34 "packet_sender.cc",
33 "packet_sender.h", 35 "packet_sender.h",
34 "test_controller.cc", 36 "test_controller.cc",
35 "test_controller.h", 37 "test_controller.h",
36 ] 38 ]
37 39
38 defines = [ "WEBRTC_NETWORK_TESTER_PROTO" ] 40 defines = [ "WEBRTC_NETWORK_TESTER_PROTO" ]
39 41
40 deps = [ 42 deps = [
41 ":network_tester_config_proto", 43 ":network_tester_config_proto",
(...skipping 26 matching lines...) Expand all
68 70
69 defines = [ "GTEST_RELATIVE_PATH" ] 71 defines = [ "GTEST_RELATIVE_PATH" ]
70 72
71 data = network_tester_unittests_resources 73 data = network_tester_unittests_resources
72 74
73 if (!build_with_chromium && is_clang) { 75 if (!build_with_chromium && is_clang) {
74 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 76 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
75 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 77 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
76 } 78 }
77 } 79 }
80
81 rtc_executable("network_tester_server") {
82 sources = [
83 "server.cc",
84 ]
85
86 deps = [
87 ":network_tester",
88 ]
89
90 if (!build_with_chromium && is_clang) {
91 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
nisse-webrtc 2017/04/06 12:46:29 This shouldn't be needed for new code, right?
92 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
93 }
94 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/tools/network_tester/network_tester_unittest.cc » ('j') | webrtc/tools/network_tester/packet_logger.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698