1
0
mirror of https://github.com/dart-lang/sdk synced 2024-07-08 20:16:39 +00:00

Set minimum mac SDK version to 10.14

Bug: https://github.com/dart-lang/sdk/issues/47820
Change-Id: I42310999303d1849aaedd800e4222e6863870fc5
Tested: Build-only change - tested with flutter engine build
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/295389
Reviewed-by: William Hesse <whesse@google.com>
Reviewed-by: Zach Anderson <zra@google.com>
Commit-Queue: Brian Quinlan <bquinlan@google.com>
This commit is contained in:
Brian Quinlan 2023-04-18 19:55:03 +00:00 committed by Commit Queue
parent 6011ba67b3
commit db491eb671
2 changed files with 4 additions and 1 deletions

View File

@ -6,7 +6,7 @@ import("//build/toolchain/goma.gni")
declare_args() {
# Minimum supported version of the Mac SDK.
mac_sdk_min = "10.13"
mac_sdk_min = "10.14"
# 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

View File

@ -313,7 +313,10 @@ static void TrustEvaluateHandler(Dart_Port dest_port_id,
status = SecTrustGetTrustResult(trust.get(), &trust_result);
} else {
// SecTrustEvaluate is deprecated as of OSX 10.15 and iOS 13.
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated"
status = SecTrustEvaluate(trust.get(), &trust_result);
#pragma clang diagnostic pop
}
postReply(reply_port_id,