[depot_tools] Update clang_format.py with new path
Look for both new and old paths when checking the buildtools/ dir. Currently, there's different binaries for mac x64 and mac arm64. Depending on the host cpu, only one is downloaded to buildtools/mac, meaning that there is an overlap in buildtools/mac. When we migrate to clang-format, buildtools/mac will be for mac x64 and buildtools/mac_arm64 will be for mac arm64. - Verified locally on my macbook that the mac_arm64 path correctly gets chosen. Migration CL: https://chromium-review.googlesource.com/c/chromium/src/+/5484590 Bug: b/336843583, Change-Id: I26f80dff0e39b7ae31ed5d0a1d8e436eb19fbb3d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5484138 Reviewed-by: Joanna Wang <jojwang@chromium.org> Commit-Queue: Stephanie Kim <kimstephanie@google.com>changes/38/5484138/11
parent
4f16981f20
commit
8d3ab2eeb6
Loading…
Reference in New Issue