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

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

Issue 2886713002: Tracking rbe tools with a GN target (Closed)
Patch Set: Avoiding to build bwe_rtp_play and rtp_to_text Created 3 years, 3 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/tools/bwe_rtp.cc » ('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 f13e8fcb0ab32a72d98c93648f21089a16310b5a..8bcbe7b334580e4901f7e6e11685cb21215f0572 100644
--- a/webrtc/modules/remote_bitrate_estimator/BUILD.gn
+++ b/webrtc/modules/remote_bitrate_estimator/BUILD.gn
@@ -57,6 +57,26 @@ rtc_static_library("remote_bitrate_estimator") {
]
}
+if (!build_with_chromium) {
+ rtc_source_set("bwe_rtp") {
+ testonly = true
+ sources = [
+ "tools/bwe_rtp.cc",
+ "tools/bwe_rtp.h",
+ ]
+ deps = [
+ ":remote_bitrate_estimator",
+ "../../rtc_base:rtc_base_approved",
+ "../../test:rtp_test_utils",
+ "../rtp_rtcp:rtp_rtcp",
+ ]
+ if (is_clang) {
+ # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
+ suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
+ }
+ }
+}
+
if (rtc_include_tests) {
rtc_static_library("bwe_simulator_lib") {
testonly = true
« no previous file with comments | « no previous file | webrtc/modules/remote_bitrate_estimator/tools/bwe_rtp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698