From 63579f90483ec759fe849c451b76dbae306c3da6 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Thu, 21 Dec 2017 19:18:00 -0800 Subject: Update vs_toolchain.py build hook. Update the hook to match the hook of the same name in Chromium. This is needed to support win-cross builds for standalone PDFium. Change-Id: Ib8a44aedc2e33a15880c51f4e7ee53a4fc7f5682 Reviewed-on: https://pdfium-review.googlesource.com/21971 Reviewed-by: Bruce Dawson Commit-Queue: Lei Zhang --- DEPS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'DEPS') diff --git a/DEPS b/DEPS index 929a7c6234..7abc60f16e 100644 --- a/DEPS +++ b/DEPS @@ -249,7 +249,8 @@ hooks = [ # Update the Windows toolchain if necessary. 'name': 'win_toolchain', 'pattern': '.', - 'action': ['python', 'pdfium/build/vs_toolchain.py', 'update'], + 'condition': 'checkout_win', + 'action': ['vpython', 'pdfium/build/vs_toolchain.py', 'update', '--force'], }, { # Update the Mac toolchain if necessary. -- cgit v1.2.3