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

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

Issue 2709523003: BlankDetectorDesktopCapturerWrapper to detect a blank DesktopFrame (Closed)
Patch Set: Remove HISTOGRAM 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 151627de3913f93ae8e5f5ac91f0befbbc16cffd..f8d52934051c5c4ede47601bea55be42ed2f26ff 100644
--- a/webrtc/modules/desktop_capture/BUILD.gn
+++ b/webrtc/modules/desktop_capture/BUILD.gn
@@ -44,7 +44,7 @@ if (rtc_include_tests) {
":screen_drawer",
"../../base:rtc_base",
"../../base:rtc_base_approved",
- "../../system_wrappers:system_wrappers",
+ "../../system_wrappers",
"../../test:test_support",
"../../test:video_test_support",
]
@@ -58,6 +58,7 @@ if (rtc_include_tests) {
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",
@@ -77,10 +78,9 @@ if (rtc_include_tests) {
":desktop_capture",
":desktop_capture_mock",
":primitives",
- ":rgba_color",
"../..:webrtc_common",
"../../base:rtc_base_approved",
- "../../system_wrappers:system_wrappers",
+ "../../system_wrappers",
"../../test:test_support",
"//testing/gmock",
]
@@ -99,29 +99,11 @@ if (rtc_include_tests) {
}
}
- 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",
+ ":desktop_capture",
]
sources = [
@@ -144,7 +126,6 @@ if (rtc_include_tests) {
public_deps = [
":desktop_capture",
- ":rgba_color",
"//testing/gmock",
]
@@ -167,6 +148,8 @@ if (rtc_include_tests) {
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",
@@ -205,6 +188,8 @@ rtc_static_library("desktop_capture") {
"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