From 19817af6f201b29c784f5deb76dce403352044aa Mon Sep 17 00:00:00 2001 From: Tom Anderson Date: Tue, 18 Jul 2017 18:00:18 -0700 Subject: Pull in sysroots on Linux R=thestig@chromium.org Change-Id: I8af51bec8ddfdee8c61806b844f0ca9a2b8c8c20 Reviewed-on: https://pdfium-review.googlesource.com/8190 Commit-Queue: Lei Zhang Reviewed-by: Lei Zhang --- DEPS | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to 'DEPS') diff --git a/DEPS b/DEPS index 1cd7dcc036..0ad0f78588 100644 --- a/DEPS +++ b/DEPS @@ -92,6 +92,11 @@ deps = { Var('chromium_git') + "/chromium/src/tools/generate_library_loader@" + Var('gen_library_loader_revision'), + # TODO(GYP): Remove this when no tools rely on GYP anymore. + "tools/gyp": + Var('chromium_git') + '/external/gyp.git@' + + 'eb296f67da078ec01f5e3a9ea9cdc6d26d680161', + "tools/memory": Var('chromium_git') + "/chromium/src/tools/memory@" + Var('tools_memory_revision'), @@ -114,11 +119,6 @@ deps_os = { Var('chromium_git') + '/chromium/deps/yasm/binaries.git' + '@' + Var('yasm_binary_revision'), - # TODO(GYP): Remove this when no tools rely on GYP anymore. - "tools/gyp": - Var('chromium_git') + '/external/gyp.git@' + - 'c61b0b35c8396bfd59efc6cfc11401d912b0f510', - "v8/third_party/cygwin": Var('chromium_git') + "/chromium/deps/cygwin@" + Var('cygwin_revision'), }, @@ -218,6 +218,15 @@ hooks = [ 'pdfium/tools/clang/scripts/update.py' ], }, + { + # Downloads the current stable linux sysroot to build/linux/ if needed. + # This sysroot updates at about the same rate that the chrome build deps + # change. + 'name': 'sysroot', + 'pattern': '.', + 'action': ['python', 'pdfium/build/linux/sysroot_scripts/install-sysroot.py', + '--running-as-hook'], + }, { # Update the Windows toolchain if necessary. 'name': 'win_toolchain', -- cgit v1.2.3