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}
This commit is contained in:
@ -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",
|
||||
|
||||
Reference in New Issue
Block a user