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

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 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",
(...skipping 28 matching lines...) Expand all
69 71
70 defines = [ "GTEST_RELATIVE_PATH" ] 72 defines = [ "GTEST_RELATIVE_PATH" ]
71 73
72 data = network_tester_unittests_resources 74 data = network_tester_unittests_resources
73 75
74 if (!build_with_chromium && is_clang) { 76 if (!build_with_chromium && is_clang) {
75 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 77 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
76 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 78 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
77 } 79 }
78 } 80 }
81
82 rtc_executable("network_tester_server") {
83 sources = [
84 "server.cc",
85 ]
86
87 deps = [
88 ":network_tester",
89 ]
90
91 if (!build_with_chromium && is_clang) {
92 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
93 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
94 }
95 }
79 } 96 }
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