[iOS] Link with base/maccocoathreadhelper.mm on iOS.

rtc::ThreadManager::ThreadManager() calls rtc::InitCocoaMultiThreading()
on iOS so add base/maccocoathreadhelper.mm to the file to build on iOS.

Fixes the following linker error:

Undefined symbols for architecture x86_64:
  "rtc::InitCocoaMultiThreading()", referenced from:
      rtc::ThreadManager::ThreadManager() in librtc_base.a(thread.o)

BUG=459705
NOTRY=True

Review URL: https://codereview.webrtc.org/1810373003

Cr-Commit-Position: refs/heads/master@{#12085}
This commit is contained in:
sdefresne 2016-03-22 03:32:14 -07:00 committed by Commit bot
parent 6a85d3450c
commit 60624cd6bf

View File

@ -521,6 +521,8 @@ static_library("rtc_base") {
all_dependent_configs = [ ":ios_config" ]
sources += [
"maccocoathreadhelper.h",
"maccocoathreadhelper.mm",
"macconversion.cc",
"macconversion.h",
]