539
545
# Checkout (drop the previous content and retry if gclient failed, see http://crbug.com/39954)
540
546
cd $(TMP_DIR) && ./tools/depot_tools/gclient update --nohooks $(REVISION) || \
541
( rm -rf $(foreach dir,src [0-9]*,$(wildcard $(TMP_DIR)/$(dir))) ; ./tools/depot_tools/gclient update --nohooks $(REVISION) )
547
( perl -i -pe 's,http://src.chromium.org/git,http://git.chromium.org/git,' */DEPS ; \