Fix partial availability warnings on Mac AppRTCMobile

The partial availability problem aries from the	fact that the minimum
supported OSX version is set to 10.9, but AppRTCMobile is using
functions available only in 10.10 and later. The minimum OSX version is
set as a declare_args() in build/config/mac/mac_sdk.gni, which makes it
difficult to override for just the AppRTCMobile target in WebRTC.

Instead, this CL solves the problem for now by removing the usage of the
10.10 function, which is trivial.

Also, the flag:
'extra_substitutions = [ "MACOSX_DEPLOYMENT_TARGET=10.8" ]'
is removed since it has no effect.

BUG=webrtc:4695

Review-Url: https://codereview.webrtc.org/2710493002
Cr-Commit-Position: refs/heads/master@{#16726}
This commit is contained in:
magjed
2017-02-20 07:56:53 -08:00
committed by Commit bot
parent 41bb792ce4
commit a445b9bca7
2 changed files with 1 additions and 10 deletions

View File

@ -242,7 +242,7 @@ static NSUInteger const kBottomViewHeight = 200;
_roomField = [[NSTextField alloc] initWithFrame:NSZeroRect];
[_roomField setTranslatesAutoresizingMaskIntoConstraints:NO];
_roomField.placeholderString = @"Enter AppRTC room id";
[[_roomField cell] setPlaceholderString: @"Enter AppRTC room id"];
[_actionItemsView addSubview:_roomField];
[_roomField setEditable:YES];