From d7fe98f16c652eb648ff5668a2d81858458c18f6 Mon Sep 17 00:00:00 2001 From: Richard Coles Date: Wed, 18 Dec 2013 10:57:09 +0000 Subject: Reland "automerger: download gn before generating makefiles." This relands the original commit c673dbdbfa853ed101dfc9193a34c14b5134cc78. The gn binary build process has been fixed upstream so that it generates Debian-compatible binaries. Change-Id: I58a418b7ca2c6ed976367d116d06f65b851fbe79 --- chromium/tools/merge_from_chromium.py | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'chromium/tools') diff --git a/chromium/tools/merge_from_chromium.py b/chromium/tools/merge_from_chromium.py index 170250a..a2cdb04 100755 --- a/chromium/tools/merge_from_chromium.py +++ b/chromium/tools/merge_from_chromium.py @@ -259,6 +259,17 @@ def _GenerateMakefiles(version, unattended): """ logging.debug('Generating makefiles ...') + # TODO(torne): come up with a way to deal with hooks from DEPS properly + # Download linux GN from google storage as per hook in DEPS. + merge_common.GetCommandStdout(['download_from_google_storage', + '--no_resume', + '--platform=linux*', + '--no_auth', + '--bucket', + 'chromium-gn', + '-s', + 'tools/gn/bin/linux/gn.sha1']) + # TODO(torne): The .tmp files are generated by # third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp into the source # tree. We should avoid this, or at least use a more specific name to avoid -- cgit v1.2.3