summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-12-21 19:18:00 -0800
committerChromium commit bot <commit-bot@chromium.org>2018-01-09 00:21:46 +0000
commit63579f90483ec759fe849c451b76dbae306c3da6 (patch)
treebabf09fef345a92b4cec457b213330c14c86d230
parent601ecc40538f0967694ba0b77a60e4223428b7b7 (diff)
downloadpdfium-63579f90483ec759fe849c451b76dbae306c3da6.tar.xz
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 <brucedawson@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
-rw-r--r--DEPS3
1 files changed, 2 insertions, 1 deletions
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.