Commit b59437cb by Geoff Lang Committed by Geoff Lang

Check out depot_tools in roll_aosp.sh

Bug: b/150458033 Change-Id: I8b299f96d74499669495ca25d5b08711db90ce61 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2522008Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
parent bb5848d8
......@@ -6,6 +6,18 @@
#
# Generates a roll CL within the ANGLE repository of AOSP.
# exit when any command fails
set -e
# Change the working directory to the script's directory
cd "${0%/*}"
# Check out depot_tools locally and add it to the path
DEPOT_TOOLS_DIR=_depot_tools
rm -rf ${DEPOT_TOOLS_DIR}
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git ${DEPOT_TOOLS_DIR}
export PATH=`pwd`/${DEPOT_TOOLS_DIR}:$PATH
GN_OUTPUT_DIRECTORY=out/Android
deps=(
......@@ -125,4 +137,7 @@ for dep in ${deps[@]} ${add_only_deps[@]}; do
git add -f $dep
done
# Done with depot_tools
rm -rf $DEPOT_TOOLS_DIR
git commit --amend --no-edit
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment