| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//build/config/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
| 6 import("//build/toolchain/toolchain.gni") | 6 import("//build/toolchain/toolchain.gni") |
| 7 | 7 |
| 8 # See https://bugs.chromium.org/p/webrtc/issues/detail?id=5453. | 8 # See https://bugs.chromium.org/p/webrtc/issues/detail?id=5453. |
| 9 # We can drop the rtc_require_mac_10_7_deployment flag when Chromium | 9 # We can drop the rtc_require_mac_10_7_deployment flag when Chromium |
| 10 # also requires a 10.7 deployment target. | 10 # also requires a 10.7 deployment target. |
| 11 import("//build_overrides/build.gni") | 11 import("//build_overrides/build.gni") |
| 12 | 12 |
| 13 declare_args() { | 13 declare_args() { |
| 14 # Minimum supported version of the Mac SDK. | 14 # Minimum supported version of the Mac SDK. |
| 15 mac_sdk_min = mac_sdk_min_build_override | 15 mac_sdk_min = mac_sdk_min_build_override |
| 16 | 16 |
| 17 # Minimum supported version of OSX. | 17 # Minimum supported version of OSX. |
| 18 mac_deployment_target = mac_deployment_target_build_override | 18 mac_deployment_target = "10.9" |
| 19 | 19 |
| 20 # Path to a specific version of the Mac SDK, not including a slash at the end. | 20 # Path to a specific version of the Mac SDK, not including a slash at the end. |
| 21 # If empty, the path to the lowest version greater than or equal to | 21 # If empty, the path to the lowest version greater than or equal to |
| 22 # mac_sdk_min is used. | 22 # mac_sdk_min is used. |
| 23 mac_sdk_path = "" | 23 mac_sdk_path = "" |
| 24 | 24 |
| 25 # The SDK name as accepted by xcodebuild. | 25 # The SDK name as accepted by xcodebuild. |
| 26 mac_sdk_name = "macosx" | 26 mac_sdk_name = "macosx" |
| 27 } | 27 } |
| 28 | 28 |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 " either upgrade Xcode to the latest version or install the Mac O
S X") | 96 " either upgrade Xcode to the latest version or install the Mac O
S X") |
| 97 print( | 97 print( |
| 98 " $mac_sdk_min_build_override SDK. For more information, see http
s://crbug.com/620127.") | 98 " $mac_sdk_min_build_override SDK. For more information, see http
s://crbug.com/620127.") |
| 99 print() | 99 print() |
| 100 print(" Current SDK Version: $mac_sdk_version") | 100 print(" Current SDK Version: $mac_sdk_version") |
| 101 print(" Current Xcode Version: $xcode_version ($xcode_build)") | 101 print(" Current Xcode Version: $xcode_version ($xcode_build)") |
| 102 print( | 102 print( |
| 103 "*************************************************************************
*******") | 103 "*************************************************************************
*******") |
| 104 assert(false, "SDK is incompatible with Xcode") | 104 assert(false, "SDK is incompatible with Xcode") |
| 105 } | 105 } |
| OLD | NEW |