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

Unified Diff: webrtc/modules/rtp_rtcp/BUILD.gn

Issue 2296253002: Enable BWE logging to command line when rtc_enable_bwe_test_logging is set to true (Closed)
Patch Set: adding BWE_TEST_LOGGING_COMPILE_TIME_ENABLE to gn files 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
Index: webrtc/modules/rtp_rtcp/BUILD.gn
diff --git a/webrtc/modules/rtp_rtcp/BUILD.gn b/webrtc/modules/rtp_rtcp/BUILD.gn
index fb270b315aec35bda0dc62f93afcae46a0ecd042..60a92a569ca1f781795930eab12867cda6a7e4c8 100644
--- a/webrtc/modules/rtp_rtcp/BUILD.gn
+++ b/webrtc/modules/rtp_rtcp/BUILD.gn
@@ -10,6 +10,7 @@ import("../../build/webrtc.gni")
source_set("rtp_rtcp") {
sources = [
+ "../remote_bitrate_estimator/test/bwe_test_logging.h",
kjellander_webrtc 2016/09/01 19:32:35 disallowed include.
"include/fec_receiver.h",
"include/receive_statistics.h",
"include/remote_ntp_time_estimator.h",
@@ -154,6 +155,12 @@ source_set("rtp_rtcp") {
"source/vp8_partition_aggregator.h",
]
+ if (rtc_enable_bwe_test_logging) {
+ defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=1" ]
+ } else {
+ defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0" ]
+ }
+
configs += [ "../..:common_config" ]
public_configs = [ "../..:common_inherited_config" ]

Powered by Google App Engine
This is Rietveld 408576698