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

Unified Diff: webrtc/modules/BUILD.gn

Issue 2468753002: Add CreateWindowCapturer() and CreateScreenCapturer() in DesktopCapturer (Closed)
Patch Set: Build break without X11 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 8ee981061b5f729ff0111cdf078fbf43097338d0..a559c4b5fbb9a9337aa84956cd94bd278c6d8570 100644
--- a/webrtc/modules/BUILD.gn
+++ b/webrtc/modules/BUILD.gn
@@ -8,10 +8,11 @@
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 = is_win || is_mac || is_linux
+ rtc_desktop_capture_supported = rtc_desktop_capture_supported
}
group("modules") {
@@ -102,8 +103,11 @@ if (rtc_include_tests) {
]
if (rtc_desktop_capture_supported) {
- deps += [ "desktop_capture:desktop_capture_test_tools" ]
- sources += [ "desktop_capture/screen_capturer_integration_test.cc" ]
+ deps += [ "desktop_capture:screen_drawer" ]
+ sources += [
+ "desktop_capture/screen_capturer_integration_test.cc",
+ "desktop_capture/screen_drawer_unittest.cc",
+ ]
}
data = modules_tests_resources
@@ -544,14 +548,10 @@ if (rtc_include_tests) {
}
if (rtc_desktop_capture_supported) {
- deps += [ "desktop_capture:desktop_capture_test_tools" ]
+ deps += [ "desktop_capture:desktop_capture_mock" ]
sources += [
"desktop_capture/desktop_and_cursor_composer_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/desktop_capturer_differ_wrapper_unittest.cc",
"desktop_capture/mouse_cursor_monitor_unittest.cc",
"desktop_capture/rgba_color_unittest.cc",
"desktop_capture/screen_capturer_differ_wrapper_unittest.cc",
@@ -559,7 +559,6 @@ if (rtc_include_tests) {
"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