diff --git a/DEPS b/DEPS index 110d552cf8a..a7a218bcc82 100644 --- a/DEPS +++ b/DEPS @@ -100,10 +100,6 @@ vars = { # Checkout Linux dependencies only when building on Linux. 'download_linux_deps': 'host_os == "linux"', - # The minimum macOS SDK version. This must match the setting in - # //flutter/tools/gn. - 'mac_sdk_min': '10.14', - # Checkout Fuchsia dependencies only on Linux. This is the umbrella flag which # controls the behavior of all fuchsia related flags. I.e. any fuchsia related # logic or condition may not work if this flag is False. @@ -1011,7 +1007,6 @@ hooks = [ 'python3', 'engine/src/build/mac/find_sdk.py', '--as-gclient-hook', - Var('mac_sdk_min') ] }, { diff --git a/engine/src/build/config/mac/mac_sdk.gni b/engine/src/build/config/mac/mac_sdk.gni index c21fe639813..b9553a32a4f 100644 --- a/engine/src/build/config/mac/mac_sdk.gni +++ b/engine/src/build/config/mac/mac_sdk.gni @@ -6,20 +6,15 @@ import("//build/config/apple/apple_sdk.gni") import("//build/toolchain/rbe.gni") declare_args() { - # Minimum supported version of the Mac SDK. - mac_sdk_min = "" - # The MACOSX_DEPLOYMENT_TARGET variable used when compiling. # Must be of the form x.x.x for Info.plist files. mac_deployment_target = "" # Path to a specific version of the Mac SDK, not including a backslash at - # the end. If empty, the path to the lowest version greater than or equal to - # mac_sdk_min is used. + # the end. mac_sdk_path = "" } -assert(mac_sdk_min != "") assert(mac_deployment_target != "") if (mac_sdk_path == "") { @@ -31,10 +26,7 @@ if (mac_sdk_path == "") { rebase_path("//flutter/prebuilts"), ] } - find_sdk_args += [ - "--print_sdk_path", - mac_sdk_min, - ] + find_sdk_args += [ "--print_sdk_path" ] # Outputs the SDK path on the first line, and the host toolchain path on the # second. diff --git a/engine/src/build/mac/find_sdk.py b/engine/src/build/mac/find_sdk.py index 239eb16f5ce..c4bc5cdde7a 100755 --- a/engine/src/build/mac/find_sdk.py +++ b/engine/src/build/mac/find_sdk.py @@ -65,7 +65,6 @@ def main(): action="store", type="string", dest="symlink", help="Whether to create a symlink in the buildroot to the SDK.") (options, args) = parser.parse_args() - min_sdk_version = args[0] # On CI, Xcode is not yet installed when gclient hooks are being run. # This is because the version of Xcode that CI installs might depend on the diff --git a/engine/src/flutter/tools/gn b/engine/src/flutter/tools/gn index d717b1e2936..b764b63d2ee 100755 --- a/engine/src/flutter/tools/gn +++ b/engine/src/flutter/tools/gn @@ -264,10 +264,6 @@ def setup_rbe(args): def setup_apple_sdks(): sdks_gn_args = {} - # These are needed on a macOS host regardless of target. - # This value should agree with the 'mac_sdk_min' value in the DEPS file. - sdks_gn_args['mac_sdk_min'] = '10.14' - # The MACOSX_DEPLOYMENT_TARGET variable used when compiling. # Must be of the form x.x.x for Info.plist files. sdks_gn_args['mac_deployment_target'] = '10.14.0'