Add vpython to depot_tools for linux and mac
BUG=717208 R=dnj@chromium.org Change-Id: If937a382be9aa4d8eb5f957386e8b1b28cc1c3ac Reviewed-on: https://chromium-review.googlesource.com/492086 Reviewed-by: Daniel Jacques <dnj@chromium.org> Reviewed-by: Nodir Turakulov <nodir@chromium.org> Commit-Queue: Sergey Berezin <sergeyberezin@chromium.org>changes/86/492086/4
parent
b506a05229
commit
6fee2673e9
@ -0,0 +1,10 @@
|
||||
# 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.
|
||||
|
||||
function cipd_bin_setup {
|
||||
local MYPATH=$(dirname "${BASH_SOURCE[0]}")
|
||||
|
||||
"$MYPATH/cipd" ensure -ensure-file "$MYPATH/cipd_manifest.txt" \
|
||||
-root "$MYPATH/.cipd_bin"
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
# 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.
|
||||
|
||||
# vpython.
|
||||
infra/tools/luci/vpython/${platform} git_revision:589bb41ab0ab9134d2555d7d3051d678d37b3238
|
@ -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
|
||||
|
||||
exec "$MYPATH/.cipd_bin/vpython" "$@"
|
Loading…
Reference in New Issue