depot_tools: add mac_toolchain shim
This tool will soon be added as a gclient hook for Mac developers to install the requested Xcode version on their workstations, and it's easier if gclient can assume it on PATH. BUG=475693 R=iannucci@chromium.org Change-Id: I6af90755bb2ee6de1e19e3a475d9a23bf75888c3 Reviewed-on: https://chromium-review.googlesource.com/756888 Reviewed-by: Robbie Iannucci <iannucci@chromium.org> Reviewed-by: Aaron Gable <agable@chromium.org> Commit-Queue: Sergey Berezin <sergeyberezin@chromium.org>changes/88/756888/2
parent
4bb7dacb8c
commit
c4ccb4b623
@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Copyright 2017 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
MYPATH=$(dirname "${BASH_SOURCE[0]}")
|
||||
|
||||
source "$MYPATH/cipd_bin_setup.sh"
|
||||
cipd_bin_setup &> /dev/null
|
||||
|
||||
exec "$MYPATH/.cipd_bin/mac_toolchain" "$@"
|
Loading…
Reference in New Issue