Make GN build screenshare_loopback
BUG=None
Review-Url: https://codereview.webrtc.org/2338233004
Cr-Commit-Position: refs/heads/master@{#14702}
diff --git a/webrtc/BUILD.gn b/webrtc/BUILD.gn
index 1cdc94b..6e8db22 100644
--- a/webrtc/BUILD.gn
+++ b/webrtc/BUILD.gn
@@ -694,6 +694,35 @@
}
}
+ rtc_executable("screenshare_loopback") {
+ testonly = true
+ sources = [
+ "test/run_test.h",
+ "video/screenshare_loopback.cc",
+ ]
+
+ if (is_mac) {
+ sources += [ "test/mac/run_test.mm" ]
+ } else {
+ sources += [ "test/run_test.cc" ]
+ }
+ deps = [
+ ":video_quality_test",
+ "system_wrappers:metrics_default",
+ "test:field_trial",
+ "test:test_common",
+ "test:test_renderer",
+ "//testing/gmock",
+ "//testing/gtest",
+ "//third_party/gflags",
+ ]
+ if (is_clang && !is_nacl) {
+ # Suppress warnings from Chrome's Clang plugins.
+ # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
+ suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
+ }
+ }
+
rtc_test("webrtc_perf_tests") {
testonly = true
configs += [ ":rtc_unittests_config" ]