clang build scripts: Use smaller hermetic Xcode
We used to have a full hermetic Xcode. Now most Chromium bots use just a small collection of Xcode binaries (listed in build/xcode_binaries.yaml) and the SDK. This makes the clang build scripts use the new way, so that Chromium can stop pulling the full Xcode install. Instead of setting DEVELOPER_DIR and using xcrun, we now just set PATH and pass an explicit -isysroot flag to clang. (Having just the mac sdk around and not an iOS sdk causes problems with https://reviews.llvm.org/D63674 but that's a problem with both full and minimal Xcode, and the fix for that seems independent of this change. This change here shouldn't make things worse.) Bug: 985971 Change-Id: I6ff7653c49a0263e932b52ce487d6ada7b8e95e3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1711224 Commit-Queue: Nico Weber <thakis@chromium.org> Auto-Submit: Nico Weber <thakis@chromium.org> Reviewed-by:Hans Wennborg <hans@chromium.org> Cr-Commit-Position: refs/heads/master@{#679581}
Showing
Please register or sign in to comment