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

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

Issue 2522083002: Fix module/desktop_capture compilation on iOS (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 | no next file » | 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 b43d90513455a3f71dd3ffd85e71047de4083bb4..34184516ef347d048f0c57384c5c72efb39bc907 100644
--- a/webrtc/modules/desktop_capture/BUILD.gn
+++ b/webrtc/modules/desktop_capture/BUILD.gn
@@ -9,8 +9,7 @@
import("//build/config/ui.gni")
import("../../build/webrtc.gni")
-use_desktop_capture_differ_sse2 =
- !is_ios && (current_cpu == "x86" || current_cpu == "x64")
+use_desktop_capture_differ_sse2 = current_cpu == "x86" || current_cpu == "x64"
rtc_static_library("primitives") {
sources = [
@@ -94,8 +93,12 @@ rtc_static_library("desktop_capture") {
"desktop_capture_options.h",
"desktop_capturer.cc",
"desktop_capturer.h",
+ "desktop_capturer_differ_wrapper.cc",
+ "desktop_capturer_differ_wrapper.h",
"desktop_frame_win.cc",
"desktop_frame_win.h",
+ "differ_block.cc",
+ "differ_block.h",
"mac/desktop_configuration.h",
"mac/desktop_configuration.mm",
"mac/desktop_configuration_monitor.cc",
@@ -176,15 +179,6 @@ rtc_static_library("desktop_capture") {
]
}
- if (!is_ios) {
- sources += [
- "desktop_capturer_differ_wrapper.cc",
- "desktop_capturer_differ_wrapper.h",
- "differ_block.cc",
- "differ_block.h",
- ]
- }
-
if (is_mac) {
libs = [
"AppKit.framework",
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698