mac: make find_sdk.py work when the sdk goes to 11
补丁内容如下
diff --git a/chromium/build/mac/find_sdk.py b/chromium/build/mac/find_sdk.pyindex 38c28832250..3045f81203b 100755--- a/chromium/build/mac/find_sdk.py+++ b/chromium/build/mac/find_sdk.py@@ -88,9 +88,9 @@ def main(): raise SdkError('Install Xcode, launch it, accept the license ' + 'agreement, and run `sudo xcode-select -s /path/to/Xcode.app` ' + 'to continue.')- sdks = [re.findall('^MacOSX(10\.\d+)\.sdk$', s) for s in os.listdir(sdk_dir)]- sdks = [s[0] for s in sdks if s] # [['10.5'], ['10.6']] => ['10.5', '10.6']- sdks = [s for s in sdks # ['10.5', '10.6'] => ['10.6']+ sdks = [re.findall('^MacOSX(11\.\d+)\.sdk$', s) for s in os.listdir(sdk_dir)]+ sdks = [s[0] for s in sdks if s] # [['11.5'], ['11.6']] => ['11.5', '11.6']+ sdks = [s for s in sdks # ['11.5', '11.6'] => ['11.6'] if parse_version(s) >= parse_version(min_sdk_version)]if not sdks: raise Exception('No %s+ SDK found' % min_sdk_version)