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", |