Increase iOS deployment target from 10 to 12.

TBR=kthelgason@webrtc.org

Bug: webrtc:12928
Change-Id: I50de09972bf012e78a9bc9f1d98d8d07aab4e180
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/224543
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Peter Hanspers <peterhanspers@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#34409}
This commit is contained in:
Björn Terelius
2021-07-02 16:19:32 +02:00
committed by WebRTC LUCI CQ
parent 94f2ef2e84
commit 02768ae4f8
5 changed files with 35 additions and 15 deletions

View File

@ -462,6 +462,7 @@ if (is_ios || is_mac) {
"OpenGL.framework",
]
}
defines = [ "GLES_SILENCE_DEPRECATION" ]
deps = [
":base_objc",
@ -499,6 +500,7 @@ if (is_ios || is_mac) {
"objc/components/renderer/opengl/RTCEAGLVideoView.h",
"objc/components/renderer/opengl/RTCEAGLVideoView.m",
]
defines = [ "GLES_SILENCE_DEPRECATION" ]
}
if (is_mac) {
sources = [

View File

@ -230,7 +230,7 @@ OCMLocation *OCMMakeLocation(id testCase, const char *fileCString, int line){
__autoreleasing NSError **retError;
[invocation getArgument:&retError atIndex:4];
*retError = [NSError errorWithDomain:@"AVAudioSession"
code:AVAudioSessionErrorInsufficientPriority
code:AVAudioSessionErrorCodeCannotInterruptOthers
userInfo:nil];
BOOL failure = NO;
[invocation setReturnValue:&failure];