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

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

Issue 2726983005: Revert of BlankDetectorDesktopCapturerWrapper to detect a blank DesktopFrame (Closed)
Patch Set: Created 3 years, 10 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 | « no previous file | webrtc/modules/desktop_capture/blank_detector_desktop_capturer_wrapper.h » ('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 3f3130dd4d8efa0d4bae645131734d8774c198af..151627de3913f93ae8e5f5ac91f0befbbc16cffd 100644
--- a/webrtc/modules/desktop_capture/BUILD.gn
+++ b/webrtc/modules/desktop_capture/BUILD.gn
@@ -58,7 +58,6 @@
rtc_source_set("desktop_capture_unittests") {
testonly = true
sources = [
- "blank_detector_desktop_capturer_wrapper_unittest.cc",
"desktop_and_cursor_composer_unittest.cc",
"desktop_capturer_differ_wrapper_unittest.cc",
"desktop_frame_rotation_unittest.cc",
@@ -78,6 +77,7 @@
":desktop_capture",
":desktop_capture_mock",
":primitives",
+ ":rgba_color",
"../..:webrtc_common",
"../../base:rtc_base_approved",
"../../system_wrappers:system_wrappers",
@@ -99,11 +99,29 @@
}
}
- source_set("screen_drawer") {
+ source_set("rgba_color") {
testonly = true
public_deps = [
":desktop_capture",
+ ]
+
+ sources = [
+ "rgba_color.cc",
+ "rgba_color.h",
+ ]
+
+ deps = [
+ ":primitives",
+ "../..:webrtc_common",
+ ]
+ }
+
+ source_set("screen_drawer") {
+ testonly = true
+
+ public_deps = [
+ ":rgba_color",
]
sources = [
@@ -126,6 +144,7 @@
public_deps = [
":desktop_capture",
+ ":rgba_color",
"//testing/gmock",
]
@@ -148,8 +167,6 @@
rtc_static_library("desktop_capture") {
sources = [
- "blank_detector_desktop_capturer_wrapper.cc",
- "blank_detector_desktop_capturer_wrapper.h",
"cropped_desktop_frame.cc",
"cropped_desktop_frame.h",
"cropping_window_capturer.cc",
@@ -188,8 +205,6 @@
"mouse_cursor_monitor_win.cc",
"resolution_change_detector.cc",
"resolution_change_detector.h",
- "rgba_color.cc",
- "rgba_color.h",
"screen_capture_frame_queue.h",
"screen_capturer_helper.cc",
"screen_capturer_helper.h",
« no previous file with comments | « no previous file | webrtc/modules/desktop_capture/blank_detector_desktop_capturer_wrapper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698