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

Unified Diff: webrtc/modules/BUILD.gn

Issue 2471773002: Revert of Add CreateWindowCapturer() and CreateScreenCapturer() in DesktopCapturer (Closed)
Patch Set: Created 4 years, 1 month 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/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/BUILD.gn
diff --git a/webrtc/modules/BUILD.gn b/webrtc/modules/BUILD.gn
index a559c4b5fbb9a9337aa84956cd94bd278c6d8570..8ee981061b5f729ff0111cdf078fbf43097338d0 100644
--- a/webrtc/modules/BUILD.gn
+++ b/webrtc/modules/BUILD.gn
@@ -8,11 +8,10 @@
import("../build/webrtc.gni")
import("audio_coding/audio_coding.gni")
-import("desktop_capture/desktop_capture.gni")
declare_args() {
# Desktop capturer is supported only on Windows, OSX and Linux.
- rtc_desktop_capture_supported = rtc_desktop_capture_supported
+ rtc_desktop_capture_supported = is_win || is_mac || is_linux
}
group("modules") {
@@ -103,11 +102,8 @@
]
if (rtc_desktop_capture_supported) {
- deps += [ "desktop_capture:screen_drawer" ]
- sources += [
- "desktop_capture/screen_capturer_integration_test.cc",
- "desktop_capture/screen_drawer_unittest.cc",
- ]
+ deps += [ "desktop_capture:desktop_capture_test_tools" ]
+ sources += [ "desktop_capture/screen_capturer_integration_test.cc" ]
}
data = modules_tests_resources
@@ -548,10 +544,14 @@
}
if (rtc_desktop_capture_supported) {
- deps += [ "desktop_capture:desktop_capture_mock" ]
+ deps += [ "desktop_capture:desktop_capture_test_tools" ]
sources += [
"desktop_capture/desktop_and_cursor_composer_unittest.cc",
- "desktop_capture/desktop_capturer_differ_wrapper_unittest.cc",
+ "desktop_capture/desktop_frame_generator.cc",
+ "desktop_capture/desktop_frame_generator.h",
+ "desktop_capture/fake_desktop_capturer.h",
+ "desktop_capture/fake_screen_capturer.cc",
+ "desktop_capture/fake_screen_capturer.h",
"desktop_capture/mouse_cursor_monitor_unittest.cc",
"desktop_capture/rgba_color_unittest.cc",
"desktop_capture/screen_capturer_differ_wrapper_unittest.cc",
@@ -559,6 +559,7 @@
"desktop_capture/screen_capturer_mac_unittest.cc",
"desktop_capture/screen_capturer_mock_objects.h",
"desktop_capture/screen_capturer_unittest.cc",
+ "desktop_capture/screen_drawer_unittest.cc",
"desktop_capture/win/cursor_unittest.cc",
"desktop_capture/win/cursor_unittest_resources.h",
"desktop_capture/win/cursor_unittest_resources.rc",
« no previous file with comments | « no previous file | webrtc/modules/desktop_capture/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698