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

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

Issue 1990373002: Fix building of bwe_test_logging.cc in gyp and gn builds (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 7 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/modules/remote_bitrate_estimator/remote_bitrate_estimator.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/remote_bitrate_estimator/BUILD.gn
diff --git a/webrtc/modules/remote_bitrate_estimator/BUILD.gn b/webrtc/modules/remote_bitrate_estimator/BUILD.gn
index c929f3eb889e85ea0e8a7970275a6963aa05836f..98a7c201049f35431a5b3d36d808d152ecfad336 100644
--- a/webrtc/modules/remote_bitrate_estimator/BUILD.gn
+++ b/webrtc/modules/remote_bitrate_estimator/BUILD.gn
@@ -6,6 +6,11 @@
# in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.
+declare_args() {
+ # Set this to true to enable BWE test logging.
+ enable_bwe_test_logging = false
+}
+
source_set("remote_bitrate_estimator") {
sources = [
"include/bwe_defines.h",
@@ -41,6 +46,10 @@ source_set("rbe_components") {
"transport_feedback_adapter.h",
]
+ if (enable_bwe_test_logging) {
+ sources += [ "test/bwe_test_logging.cc" ]
+ }
+
configs += [ "../..:common_config" ]
public_configs = [ "../..:common_inherited_config" ]
deps = [
« no previous file with comments | « no previous file | webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698