From 451c9b4f5d52079f05d26f91497f91ebafa6cd77 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Wed, 21 Feb 2018 10:35:20 +0000 Subject: Download ciopfs from a hook in win/cross builds. This is PDFium's copy of https://crrev.com/533804 Change-Id: I6e0c3e0fbb36fa9da9cb2e4e18c413c92824c46a Reviewed-on: https://pdfium-review.googlesource.com/27490 Reviewed-by: Nico Weber Commit-Queue: Lei Zhang --- DEPS | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/DEPS b/DEPS index 7aa823f18b..e31948434c 100644 --- a/DEPS +++ b/DEPS @@ -271,12 +271,25 @@ hooks = [ 'action': ['python', 'pdfium/build/linux/sysroot_scripts/install-sysroot.py', '--arch=x64'], }, + { + # Case-insensitivity for the Win SDK. Must run before win_toolchain below. + 'name': 'ciopfs_linux', + 'pattern': '.', + 'condition': 'checkout_win and host_os == "linux"', + 'action': [ 'python', + 'pdfium/third_party/depot_tools/download_from_google_storage.py', + '--no_resume', + '--no_auth', + '--bucket', 'chromium-browser-clang/ciopfs', + '-s', 'pdfium/build/ciopfs.sha1', + ] + }, { # Update the Windows toolchain if necessary. 'name': 'win_toolchain', 'pattern': '.', 'condition': 'checkout_win', - 'action': ['vpython', 'pdfium/build/vs_toolchain.py', 'update', '--force'], + 'action': ['python', 'pdfium/build/vs_toolchain.py', 'update', '--force'], }, { # Update the Mac toolchain if necessary. -- cgit v1.2.3