summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-02-21 10:35:20 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-02-21 10:35:20 +0000
commit451c9b4f5d52079f05d26f91497f91ebafa6cd77 (patch)
tree3b72eaa2ed0a1c0ba485a74d032bd72681257a12
parent96a302c19be8e872df035f5c9e6f83ac76414dbb (diff)
downloadpdfium-451c9b4f5d52079f05d26f91497f91ebafa6cd77.tar.xz
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 <thakis@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
-rw-r--r--DEPS15
1 files changed, 14 insertions, 1 deletions
diff --git a/DEPS b/DEPS
index 7aa823f18b..e31948434c 100644
--- a/DEPS
+++ b/DEPS
@@ -272,11 +272,24 @@ hooks = [
'--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.