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

Unified Diff: webrtc/tools/BUILD.gn

Issue 2268063002: Define a protobuf format for representing plots (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Add plot_protobuf.* to source list for visualization tool. Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/tools/event_log_visualizer/graph.proto » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/tools/BUILD.gn
diff --git a/webrtc/tools/BUILD.gn b/webrtc/tools/BUILD.gn
index 0fe92314eff00fd5bc6ee4e2dcee5d36764b9c58..d2a4dceb22e453cda51565d363e10423f51cfea7 100644
--- a/webrtc/tools/BUILD.gn
+++ b/webrtc/tools/BUILD.gn
@@ -8,6 +8,7 @@
import("//testing/test.gni")
import("../build/webrtc.gni")
+import("//third_party/protobuf/proto_library.gni")
kjellander_webrtc 2016/08/23 06:02:20 nit: sort alphabetically.
terelius 2016/08/23 17:54:18 Done.
source_set("tools") {
deps = [
@@ -177,6 +178,13 @@ source_set("agc_test_utils") {
# Exclude tools depending on gflags since that's not available in Chromium.
if (rtc_include_tests) {
if (rtc_enable_protobuf) {
+ proto_library("graph_proto") {
+ sources = [
+ "event_log_visualizer/graph.proto",
+ ]
+ proto_out_dir = "webrtc/tools/event_log_visualizer"
+ }
+
executable("event_log_visualizer") {
testonly = true
sources = [
@@ -185,6 +193,8 @@ if (rtc_include_tests) {
"event_log_visualizer/main.cc",
"event_log_visualizer/plot_base.cc",
"event_log_visualizer/plot_base.h",
+ "event_log_visualizer/plot_protobuf.cc",
+ "event_log_visualizer/plot_protobuf.h",
"event_log_visualizer/plot_python.cc",
"event_log_visualizer/plot_python.h",
]
@@ -200,6 +210,7 @@ if (rtc_include_tests) {
defines = [ "ENABLE_RTC_EVENT_LOG" ]
deps = [
+ ":graph_proto",
"../:rtc_event_log",
"../:rtc_event_log_parser",
"../modules/congestion_controller:congestion_controller",
« no previous file with comments | « no previous file | webrtc/tools/event_log_visualizer/graph.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698