summaryrefslogtreecommitdiff
path: root/DEPS
diff options
context:
space:
mode:
authorweili <weili@chromium.org>2016-04-27 14:06:57 -0700
committerCommit bot <commit-bot@chromium.org>2016-04-27 14:06:57 -0700
commit590f2d9e057a0d5b17a9706affd3c6115265021b (patch)
treece150bddb1cdb6ebf25ce323d342035ad49d1327 /DEPS
parentcf83a5115a366853a8940a2cfff8c1363fdade9e (diff)
downloadpdfium-590f2d9e057a0d5b17a9706affd3c6115265021b.tar.xz
Use visual studio toolchain from depot_tools for PDFium compilation
Change to use visual studio toolchain from depot_tools by default. Setting DEPOT_TOOLS_WIN_TOOLCHAIN=0 allows compilation using system toolchain as before. Using toolchain from depot_tools unifies the compilation environment, and brings the benefits of automated update, bug fixes etc. Review-Url: https://codereview.chromium.org/1897523002
Diffstat (limited to 'DEPS')
-rw-r--r--DEPS6
1 files changed, 6 insertions, 0 deletions
diff --git a/DEPS b/DEPS
index 7fb3a32b6e..1a08ef31eb 100644
--- a/DEPS
+++ b/DEPS
@@ -169,4 +169,10 @@ hooks = [
'--if-needed'
],
},
+ {
+ # Update the Windows toolchain if necessary.
+ 'name': 'win_toolchain',
+ 'pattern': '.',
+ 'action': ['python', 'pdfium/build_gyp/vs_toolchain.py', 'update'],
+ },
]