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

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

Issue 2653173003: Reland of GN: Refactor modules_unittests to eliminate package boundary violations. (Closed)
Patch Set: Rename bwe_simulator -> bwe_simulator_test. Created 3 years, 11 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/remote_bitrate_estimator/BUILD.gn
diff --git a/webrtc/modules/remote_bitrate_estimator/BUILD.gn b/webrtc/modules/remote_bitrate_estimator/BUILD.gn
index 13e2382b84465084e9a60c7a6c5a7cf429fb6585..b93197b869d3f9ee623c577fad37d42b7fffc4ac 100644
--- a/webrtc/modules/remote_bitrate_estimator/BUILD.gn
+++ b/webrtc/modules/remote_bitrate_estimator/BUILD.gn
@@ -185,4 +185,36 @@ if (rtc_include_tests) {
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
}
}
+
+ rtc_test("bwe_simulator_test") {
+ testonly = true
+
+ sources = [
+ "bwe_simulations.cc",
+ ]
+ deps = [
+ ":bwe_simulator_lib",
+ ":remote_bitrate_estimator",
+ "../..:webrtc_common",
+ "../../base:rtc_base_approved",
+ "../../test:test_common",
+ "../../test:test_main",
+ "../video_capture",
+ "//testing/gmock",
+ "//testing/gtest",
+ "//third_party/gflags",
+ ]
+
+ if (!build_with_chromium && 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.
+ ]
+ }
+ }
}

Powered by Google App Engine
This is Rietveld 408576698