From 1c062bf0af7662503217a57c118847c31f8a6ff5 Mon Sep 17 00:00:00 2001 From: Sergey Ulanov Date: Tue, 22 Nov 2016 16:07:10 -0800 Subject: [PATCH] Fix module/desktop_capture compilation on iOS modules/desktop_capture was failing to compile on iOS because some files were not compiled. BUG=667898 R=nicholss@chromium.org Review URL: https://codereview.webrtc.org/2522083002 . Cr-Commit-Position: refs/heads/master@{#15203} --- webrtc/modules/desktop_capture/BUILD.gn | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/webrtc/modules/desktop_capture/BUILD.gn b/webrtc/modules/desktop_capture/BUILD.gn index b43d905134..34184516ef 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",