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

Unified Diff: webrtc/video/BUILD.gn

Issue 2438973002: GN: move webrtc/video/ targets from webrtc/BUILD.gn into webrtc/video/BUILD.gn (Closed)
Patch Set: Add missing dependency on modules/video_capture:video_capture_module 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
« webrtc/test/BUILD.gn ('K') | « webrtc/test/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/video/BUILD.gn
diff --git a/webrtc/video/BUILD.gn b/webrtc/video/BUILD.gn
index 863f2f5740157a5fe6d9b5ab4dc031a9ac99a4f1..c8d32b0ddaf58e063a4ee0e9ea9b745138698f7f 100644
--- a/webrtc/video/BUILD.gn
+++ b/webrtc/video/BUILD.gn
@@ -73,6 +73,71 @@ rtc_static_library("video") {
}
if (rtc_include_tests) {
+ rtc_source_set("video_quality_test") {
+ testonly = true
+ sources = [
+ "video_quality_test.cc",
+ "video_quality_test.h",
+ ]
+ deps = [
+ "../system_wrappers",
+ "//testing/gtest",
+ ]
+ if (!is_android) {
+ deps += [ "../modules/video_capture:video_capture_internal_impl" ]
+ }
+ 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" ]
+ }
+ }
+
+ rtc_executable("video_loopback") {
+ testonly = true
+ sources = [
+ "video_loopback.cc",
+ ]
+ deps = [
+ ":video_quality_test",
+ "../system_wrappers:metrics_default",
+ "../test:field_trial",
+ "../test:run_test",
+ "../test:test_common",
+ "../test:test_renderer",
+ "//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" ]
+ }
+ }
+
+ rtc_executable("screenshare_loopback") {
+ testonly = true
+ sources = [
+ "screenshare_loopback.cc",
+ ]
+
+ deps = [
+ ":video_quality_test",
+ "../system_wrappers:metrics_default",
+ "../test:field_trial",
+ "../test:run_test",
+ "../test:test_common",
+ "../test:test_renderer",
+ "//testing/gmock",
+ "//testing/gtest",
+ "//third_party/gflags",
+ ]
+ if (!build_with_chromium && is_clang) {
+ # 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" ]
+ }
+ }
+
# TODO(pbos): Rename test suite.
rtc_source_set("video_tests") {
testonly = true
« webrtc/test/BUILD.gn ('K') | « webrtc/test/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698