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

Unified Diff: webrtc/modules/BUILD.gn

Issue 2398123002: Make bwe_simulator a separate test target that doesnt run on the bots (Closed)
Patch Set: Created 4 years, 2 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 | « webrtc/BUILD.gn ('k') | webrtc/modules/remote_bitrate_estimator/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/BUILD.gn
diff --git a/webrtc/modules/BUILD.gn b/webrtc/modules/BUILD.gn
index 8e181d367568affde6428468e4b59e21146629f8..d5a7e1aa7f1465396d06848066f0cd4b6de082ff 100644
--- a/webrtc/modules/BUILD.gn
+++ b/webrtc/modules/BUILD.gn
@@ -627,7 +627,6 @@ if (rtc_include_tests) {
"../test:rtp_test_utils",
"../test:test_common",
"../test:test_support_main",
- "../test:test_support_main",
"../test:video_test_common",
"audio_coding",
"audio_coding:acm_receive_test",
@@ -650,7 +649,7 @@ if (rtc_include_tests) {
"media_file",
"pacing",
"remote_bitrate_estimator",
- "remote_bitrate_estimator:bwe_simulator",
+ "remote_bitrate_estimator:bwe_simulator_lib",
"rtp_rtcp",
"utility",
"video_capture",
@@ -705,4 +704,37 @@ if (rtc_include_tests) {
ldflags = [ "-ObjC" ]
}
}
+
+ rtc_test("bwe_simulator") {
+ testonly = true
+
+ deps = []
+ sources = [
+ "remote_bitrate_estimator/bwe_simulations.cc",
+ ]
+
+ if (is_clang) {
+ # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
+ suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
+ }
+
+ if (is_win) {
+ cflags = [
+ # TODO(kjellander): bugs.webrtc.org/261: Fix this warning.
+ "/wd4373", # virtual function override.
+ ]
+ }
+
+ deps += [
+ "..:webrtc_common",
+ "../base:rtc_base_approved",
+ "../test:test_common",
+ "../test:test_support_main",
+ "remote_bitrate_estimator:bwe_simulator_lib",
+ "video_capture",
+ "//testing/gmock",
+ "//testing/gtest",
+ "//third_party/gflags",
+ ]
+ }
}
« no previous file with comments | « webrtc/BUILD.gn ('k') | webrtc/modules/remote_bitrate_estimator/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698