0d5e080ab9
These are upstream's prebuilt binaries of: e9493171de0edd8879755aa7229a701010a19561 cmake-3.1.3-win32-x86.zip ab6e7aee6a915c4d820b86f5227094763b649fce strawberry-perl-5.20.2.1-32bit-portable.zip 4c4d1951181a610923523cb10d83d9ae9952fbf3 yasm-1.2.0-win32.exe This is intentionally using yasm 1.2.0 rather than the latest 1.3.0 to match Chromium's current bundled version. Chromium has additional patches, but they all seem to be either in 1.2.0 or not relevant for us. Also update extract.py a little to account for these. BUG=430237 Change-Id: Iad6687e493900b25390d99882c7ceea62fff8b9b Reviewed-on: https://boringssl-review.googlesource.com/3710 Reviewed-by: Adam Langley <agl@google.com>
112 lines
3.5 KiB
Python
112 lines
3.5 KiB
Python
# Copyright (c) 2015, Google Inc.
|
|
#
|
|
# Permission to use, copy, modify, and/or distribute this software for any
|
|
# purpose with or without fee is hereby granted, provided that the above
|
|
# copyright notice and this permission notice appear in all copies.
|
|
#
|
|
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
|
|
# SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
|
|
# OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
|
# CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
|
|
|
|
hooks = [
|
|
{
|
|
'name': 'cmake_linux64',
|
|
'pattern': '.',
|
|
'action': [ 'download_from_google_storage',
|
|
'--no_resume',
|
|
'--platform=linux*',
|
|
'--no_auth',
|
|
'--bucket', 'chromium-tools',
|
|
'-s', 'boringssl/util/bot/cmake-linux64.tar.gz.sha1',
|
|
],
|
|
},
|
|
{
|
|
'name': 'cmake_mac',
|
|
'pattern': '.',
|
|
'action': [ 'download_from_google_storage',
|
|
'--no_resume',
|
|
'--platform=darwin',
|
|
'--no_auth',
|
|
'--bucket', 'chromium-tools',
|
|
'-s', 'boringssl/util/bot/cmake-mac.tar.gz.sha1',
|
|
],
|
|
},
|
|
{
|
|
'name': 'cmake_win32',
|
|
'pattern': '.',
|
|
'action': [ 'download_from_google_storage',
|
|
'--no_resume',
|
|
'--platform=win32',
|
|
'--no_auth',
|
|
'--bucket', 'chromium-tools',
|
|
'-s', 'boringssl/util/bot/cmake-win32.zip.sha1',
|
|
],
|
|
},
|
|
{
|
|
'name': 'perl_win32',
|
|
'pattern': '.',
|
|
'action': [ 'download_from_google_storage',
|
|
'--no_resume',
|
|
'--platform=win32',
|
|
'--no_auth',
|
|
'--bucket', 'chromium-tools',
|
|
'-s', 'boringssl/util/bot/perl-win32.zip.sha1',
|
|
],
|
|
},
|
|
{
|
|
'name': 'yasm_win32',
|
|
'pattern': '.',
|
|
'action': [ 'download_from_google_storage',
|
|
'--no_resume',
|
|
'--platform=win32',
|
|
'--no_auth',
|
|
'--bucket', 'chromium-tools',
|
|
'-s', 'boringssl/util/bot/yasm-win32.exe.sha1',
|
|
],
|
|
},
|
|
# TODO(davidben): Only extract archives when they've changed. Extracting perl
|
|
# on Windows is a significant part of the cycle time.
|
|
{
|
|
'name': 'cmake_linux64_extract',
|
|
'pattern': '.',
|
|
'action': [ 'python',
|
|
'boringssl/util/bot/extract.py',
|
|
'boringssl/util/bot/cmake-linux64.tar.gz',
|
|
'boringssl/util/bot/cmake-linux64/',
|
|
],
|
|
},
|
|
{
|
|
'name': 'cmake_mac_extract',
|
|
'pattern': '.',
|
|
'action': [ 'python',
|
|
'boringssl/util/bot/extract.py',
|
|
'boringssl/util/bot/cmake-mac.tar.gz',
|
|
'boringssl/util/bot/cmake-mac/',
|
|
],
|
|
},
|
|
{
|
|
'name': 'cmake_win32_extract',
|
|
'pattern': '.',
|
|
'action': [ 'python',
|
|
'boringssl/util/bot/extract.py',
|
|
'boringssl/util/bot/cmake-win32.zip',
|
|
'boringssl/util/bot/cmake-win32/',
|
|
],
|
|
},
|
|
{
|
|
'name': 'perl_win32_extract',
|
|
'pattern': '.',
|
|
'action': [ 'python',
|
|
'boringssl/util/bot/extract.py',
|
|
'--no-prefix',
|
|
'boringssl/util/bot/perl-win32.zip',
|
|
'boringssl/util/bot/perl-win32/',
|
|
],
|
|
},
|
|
]
|