[build] Raise minimum mac SDK version to 10.13 to reduce build warnings

This removes warnings like these:
```
 ld: warning: object file (../../buildtools/mac-x64/clang/bin/../lib/libc++.a(memory.cpp.o)) was built for newer OSX version (10.13) than being linked (10.8)
```

These warnings seem to be harmless but may indicate that our builds are
no longer working below macOS 10.13. On developer machines, these
warnings don't seem to occur. We don't test on versions older than 10.13
so we can't guarantee that the Dart SDK works on those.

https://github.com/dart-lang/sdk/issues/40850

Change-Id: I1b146803605daa9e42d4283722efb39ecd66f0ab
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/146803
Reviewed-by: Ryan Macnak <rmacnak@google.com>
This commit is contained in:
Alexander Thomas 2021-04-27 10:37:30 +00:00
parent 8f92864ca3
commit 6a7aaf5bc3

View file

@ -6,9 +6,9 @@ import("//build/toolchain/goma.gni")
declare_args() {
# Minimum supported version of the Mac SDK.
mac_sdk_min = "10.8"
mac_sdk_min = "10.13"
# Path to a specific version of the Mac SDKJ, 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
# mac_sdk_min is used.
mac_sdk_path = ""