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

Unified Diff: webrtc/modules/bitrate_controller/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/bitrate_controller/BUILD.gn
diff --git a/webrtc/modules/bitrate_controller/BUILD.gn b/webrtc/modules/bitrate_controller/BUILD.gn
index 029f54170fa241fdc9e7bcc8b5d618f9ecf3c877..f477399f594ba9b34f24e0671ae46bbb64802b49 100644
--- a/webrtc/modules/bitrate_controller/BUILD.gn
+++ b/webrtc/modules/bitrate_controller/BUILD.gn
@@ -10,6 +10,7 @@ import("../../build/webrtc.gni")
source_set("bitrate_controller") {
sources = [
+ "../remote_bitrate_estimator/test/bwe_test_logging.h",
kjellander_webrtc 2016/09/01 19:32:35 Referencing sources above the target itself is dis
Gaetano Carlucci 2016/09/02 10:37:21 Should we move this file above the target?
kjellander_webrtc 2016/09/02 12:05:42 Not sure what you mean here. If you depend on a he
"bitrate_controller_impl.cc",
"bitrate_controller_impl.h",
"include/bitrate_allocator.h",
@@ -18,6 +19,12 @@ source_set("bitrate_controller") {
"send_side_bandwidth_estimation.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