From 46a491bcbb887c7019cbd87cc85429703a69c387 Mon Sep 17 00:00:00 2001 From: Henrik Kjellander Date: Wed, 25 Nov 2015 08:35:03 +0100 Subject: [PATCH] Set mac_deployment_target default to 10.7 This overrides the default (10.6) in Chromium's build/common.gypi. It's needed since we want ARC and libc++. TESTED=Ran webrtc/build/gyp_webrtc before this patch and then grep -r macosx-version-min out/Debug/* | grep 10.6 which gave a lot of output. Then with this patch applied, there were no output for 10.6 (only 10.7). R=tkchin@webrtc.org Review URL: https://codereview.webrtc.org/1474623002 . Cr-Commit-Position: refs/heads/master@{#10783} --- webrtc/supplement.gypi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/webrtc/supplement.gypi b/webrtc/supplement.gypi index 075e2adb06..7634a4150f 100644 --- a/webrtc/supplement.gypi +++ b/webrtc/supplement.gypi @@ -2,8 +2,12 @@ 'variables': { 'variables': { 'webrtc_root%': '<(DEPTH)/webrtc', + # Override the default (10.6) in Chromium's build/common.gypi. + # Needed for ARC and libc++. + 'mac_deployment_target%': '10.7', }, 'webrtc_root%': '<(webrtc_root)', + 'mac_deployment_target%': '<(mac_deployment_target)', 'build_with_chromium': 0, 'conditions': [ ['OS=="ios"', {