summaryrefslogtreecommitdiffstats
path: root/chromium/tools
diff options
context:
space:
mode:
authorRichard Coles <torne@google.com>2013-12-18 10:57:09 +0000
committerRichard Coles <torne@google.com>2013-12-18 10:57:09 +0000
commitd7fe98f16c652eb648ff5668a2d81858458c18f6 (patch)
tree210e2384a0c1073176165e9eb074f9ea424ff30a /chromium/tools
parent36797b2162e38e606e48ac5cabec6feae6f078d1 (diff)
downloadandroid_frameworks_webview-d7fe98f16c652eb648ff5668a2d81858458c18f6.tar.gz
android_frameworks_webview-d7fe98f16c652eb648ff5668a2d81858458c18f6.tar.bz2
android_frameworks_webview-d7fe98f16c652eb648ff5668a2d81858458c18f6.zip
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
Diffstat (limited to 'chromium/tools')
-rwxr-xr-xchromium/tools/merge_from_chromium.py11
1 files changed, 11 insertions, 0 deletions
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