From 3d2497cba6cc9104a972439db9d0c3fe9079e1ad Mon Sep 17 00:00:00 2001 From: "thestig@chromium.org" Date: Tue, 7 May 2013 05:36:07 +0000 Subject: Use a sysroot for Chrome Linux official builds. BUG=224487 R=mmoss@google.com Review URL: https://codereview.chromium.org/12938016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198637 0039d316-1c4b-4281-b951-d872f2087c98 --- DEPS | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) (limited to 'DEPS') diff --git a/DEPS b/DEPS index f0d49f0..202f367 100644 --- a/DEPS +++ b/DEPS @@ -54,6 +54,10 @@ vars = { # the commit queue can handle CLs rolling openssl # and whatever else without interference from each other. "ios_webkit_revision": "147503", + + # Destination for Debian sysroots for Official builds. + "linux_sysroot_dir": + "src/chrome/installer/linux/internal/sysroot_scripts/", } deps = { @@ -644,6 +648,50 @@ hooks = [ "--linux-only"], }, { + # Downloads the Debian Wheezy amd64 sysroot to + # chrome/installer/linux/internal/debian_wheezy_amd64-sysroot. + # This sysroot updates at about the same rate that the chrome build deps + # change. + # This script is a no-op except for linux users who have the following in + # their GYP_DEFINES: + # + # * branding=Chrome + # * buildtype=Official + # * target_arch=x64 + # + # and not: + # + # * chromeos=1 + # + "pattern": ".", + "action": ["python", + Var("linux_sysroot_dir") + "install-debian.wheezy.sysroot.py", + "--arch=amd64", + "--linux-only"], + }, + { + # Downloads the Debian Wheezy i386 sysroot to + # chrome/installer/linux/internal/debian_wheezy_i386-sysroot. + # This sysroot updates at about the same rate that the chrome build deps + # change. + # This script is a no-op except for linux users who have the following in + # their GYP_DEFINES: + # + # * branding=Chrome + # * buildtype=Official + # * target_arch=ia32 + # + # and not: + # + # * chromeos=1 + # + "pattern": ".", + "action": ["python", + Var("linux_sysroot_dir") + "install-debian.wheezy.sysroot.py", + "--arch=i386", + "--linux-only"], + }, + { # Pull clang on mac. If nothing changed, or on non-mac platforms, this takes # zero seconds to run. If something changed, it downloads a prebuilt clang, # which takes ~20s, but clang speeds up builds by more than 20s. -- cgit v1.1