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

Unified Diff: webrtc/modules/desktop_capture/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 | « webrtc/modules/BUILD.gn ('k') | webrtc/modules/desktop_capture/desktop_capture.gni » ('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 1cb421ef352132d7f5cfa888de5d539c8a676a86..5529537f5f3550e25aa222fc7f4d8868c9a1f370 100644
--- a/webrtc/modules/desktop_capture/BUILD.gn
+++ b/webrtc/modules/desktop_capture/BUILD.gn
@@ -8,7 +8,6 @@
import("//build/config/ui.gni")
import("../../build/webrtc.gni")
-import("desktop_capture.gni")
use_desktop_capture_differ_sse2 =
!is_ios && (current_cpu == "x86" || current_cpu == "x64")
@@ -32,7 +31,7 @@
}
if (rtc_include_tests) {
- source_set("rgba_color") {
+ source_set("desktop_capture_test_tools") {
testonly = true
public_deps = [
@@ -42,41 +41,11 @@
sources = [
"rgba_color.cc",
"rgba_color.h",
- ]
- }
-
- source_set("screen_drawer") {
- testonly = true
-
- public_deps = [
- ":rgba_color",
- ]
-
- sources = [
"screen_drawer.cc",
"screen_drawer.h",
"screen_drawer_linux.cc",
"screen_drawer_mac.cc",
"screen_drawer_win.cc",
- ]
- }
-
- source_set("desktop_capture_mock") {
- testonly = true
-
- public_deps = [
- ":desktop_capture",
- ":rgba_color",
- ]
-
- sources = [
- "desktop_frame_generator.cc",
- "desktop_frame_generator.h",
- "fake_desktop_capturer.h",
- "fake_screen_capturer.cc",
- "fake_screen_capturer.h",
- "mock_desktop_capturer_callback.h",
- "screen_capturer_mock_objects.h",
]
}
}
@@ -182,8 +151,6 @@
if (!is_ios) {
sources += [
- "desktop_capturer_differ_wrapper.cc",
- "desktop_capturer_differ_wrapper.h",
"differ_block.cc",
"differ_block.h",
"screen_capturer_differ_wrapper.cc",
@@ -214,10 +181,6 @@
if (use_desktop_capture_differ_sse2) {
deps += [ ":desktop_capture_differ_sse2" ]
- }
-
- if (rtc_desktop_capture_supported) {
- defines = [ "RTC_DESKTOP_CAPTURE_SUPPORTED" ]
}
}
« no previous file with comments | « webrtc/modules/BUILD.gn ('k') | webrtc/modules/desktop_capture/desktop_capture.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698