mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 17:59: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:
parent
6011ba67b3
commit
db491eb671
|
@ -6,7 +6,7 @@ import("//build/toolchain/goma.gni")
|
||||||
|
|
||||||
declare_args() {
|
declare_args() {
|
||||||
# Minimum supported version of the Mac SDK.
|
# 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
|
# 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
|
# the end. If empty, the path to the lowest version greater than or equal to
|
||||||
|
|
|
@ -313,7 +313,10 @@ static void TrustEvaluateHandler(Dart_Port dest_port_id,
|
||||||
status = SecTrustGetTrustResult(trust.get(), &trust_result);
|
status = SecTrustGetTrustResult(trust.get(), &trust_result);
|
||||||
} else {
|
} else {
|
||||||
// SecTrustEvaluate is deprecated as of OSX 10.15 and iOS 13.
|
// 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);
|
status = SecTrustEvaluate(trust.get(), &trust_result);
|
||||||
|
#pragma clang diagnostic pop
|
||||||
}
|
}
|
||||||
|
|
||||||
postReply(reply_port_id,
|
postReply(reply_port_id,
|
||||||
|
|
Loading…
Reference in a new issue