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

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

Issue 2444583002: Move ScreenCapturer 'real' tests out of screen_capturer_unittest.cc. (Closed)
Patch Set: Resolve review comments 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/modules/BUILD.gn ('k') | webrtc/modules/desktop_capture/screen_capturer_integration_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/desktop_capture/BUILD.gn
diff --git a/webrtc/modules/desktop_capture/BUILD.gn b/webrtc/modules/desktop_capture/BUILD.gn
index 7b8638a5506141882d93e69faed53de1041eb1f4..04e9f90019d09d49fc6d179bbcbb1d6d5b60cf43 100644
--- a/webrtc/modules/desktop_capture/BUILD.gn
+++ b/webrtc/modules/desktop_capture/BUILD.gn
@@ -30,6 +30,26 @@ rtc_static_library("primitives") {
]
}
+if (rtc_include_tests) {
+ source_set("desktop_capture_test_tools") {
+ testonly = true
+
+ public_deps = [
+ ":desktop_capture",
+ ]
+
+ sources = [
+ "rgba_color.cc",
+ "rgba_color.h",
+ "screen_drawer.cc",
+ "screen_drawer.h",
+ "screen_drawer_linux.cc",
+ "screen_drawer_mac.cc",
+ "screen_drawer_win.cc",
+ ]
+ }
+}
+
rtc_static_library("desktop_capture") {
sources = [
"cropped_desktop_frame.cc",
« no previous file with comments | « webrtc/modules/BUILD.gn ('k') | webrtc/modules/desktop_capture/screen_capturer_integration_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698