3c92e80d7a
This reverts commit 9d1f96606c
.
Reason for revert: aarch64 bots are breaking for some reason.
Original change's description:
> Update tools.
>
> In particular, get the new NDK. Unfortunately, the new clang picks up
> an unfortunate change for clang-cl that we now must work around.
>
> http://llvm.org/viewvc/llvm-project?view=revision&revision=319116
>
> Bug: 109
> Change-Id: I091ca7160683e70cd79b5c2b7a4267fea258ec17
> Reviewed-on: https://boringssl-review.googlesource.com/24644
> Reviewed-by: Steven Valdez <svaldez@google.com>
> Commit-Queue: David Benjamin <davidben@google.com>
> CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
TBR=davidben@google.com,svaldez@google.com
Change-Id: I98960f295987857c4e42c312059b6d5934bb5e43
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 109
Reviewed-on: https://boringssl-review.googlesource.com/24747
Reviewed-by: David Benjamin <davidben@google.com>
Commit-Queue: David Benjamin <davidben@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
183 lines
5.4 KiB
Python
183 lines
5.4 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.
|
|
|
|
vars = {
|
|
'chromium_git': 'https://chromium.googlesource.com',
|
|
|
|
'checkout_clang': False,
|
|
'checkout_fuzzer': False,
|
|
'checkout_sde': False,
|
|
}
|
|
|
|
deps = {
|
|
'boringssl/util/bot/android_tools': {
|
|
'url': Var('chromium_git') + '/android_tools.git' + '@' + 'a2e9bc7c1b41d983577907df51d339fb1e0fd02f',
|
|
'condition': 'checkout_android',
|
|
},
|
|
|
|
'boringssl/util/bot/gyp':
|
|
Var('chromium_git') + '/external/gyp.git' + '@' + 'd61a9397e668fa9843c4aa7da9e79460fe590bfb',
|
|
|
|
'boringssl/util/bot/libFuzzer': {
|
|
'url': Var('chromium_git') + '/chromium/llvm-project/compiler-rt/lib/fuzzer.git' + '@' + 'a00e8070bea627f21df4a7eb1d58083f1bcfbba1',
|
|
'condition': 'checkout_fuzzer',
|
|
},
|
|
}
|
|
|
|
recursedeps = [
|
|
# android_tools pulls in the NDK from a separate repository.
|
|
'boringssl/util/bot/android_tools',
|
|
]
|
|
|
|
hooks = [
|
|
{
|
|
'name': 'cmake_linux64',
|
|
'pattern': '.',
|
|
'condition': 'host_os == "linux"',
|
|
'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_linux64_extract',
|
|
'pattern': '.',
|
|
'condition': 'host_os == "linux"',
|
|
'action': [ 'python',
|
|
'boringssl/util/bot/extract.py',
|
|
'boringssl/util/bot/cmake-linux64.tar.gz',
|
|
'boringssl/util/bot/cmake-linux64/',
|
|
],
|
|
},
|
|
{
|
|
'name': 'cmake_mac',
|
|
'pattern': '.',
|
|
'condition': 'host_os == "mac"',
|
|
'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_mac_extract',
|
|
'pattern': '.',
|
|
'condition': 'host_os == "mac"',
|
|
'action': [ 'python',
|
|
'boringssl/util/bot/extract.py',
|
|
'boringssl/util/bot/cmake-mac.tar.gz',
|
|
'boringssl/util/bot/cmake-mac/',
|
|
],
|
|
},
|
|
{
|
|
'name': 'cmake_win32',
|
|
'pattern': '.',
|
|
'condition': 'host_os == "win"',
|
|
'action': [ 'download_from_google_storage',
|
|
'--no_resume',
|
|
'--platform=win32',
|
|
'--no_auth',
|
|
'--bucket', 'chromium-tools',
|
|
'-s', 'boringssl/util/bot/cmake-win32.zip.sha1',
|
|
],
|
|
},
|
|
{
|
|
'name': 'cmake_win32_extract',
|
|
'pattern': '.',
|
|
'condition': 'host_os == "win"',
|
|
'action': [ 'python',
|
|
'boringssl/util/bot/extract.py',
|
|
'boringssl/util/bot/cmake-win32.zip',
|
|
'boringssl/util/bot/cmake-win32/',
|
|
],
|
|
},
|
|
{
|
|
'name': 'perl_win32',
|
|
'pattern': '.',
|
|
'condition': 'host_os == "win"',
|
|
'action': [ 'download_from_google_storage',
|
|
'--no_resume',
|
|
'--platform=win32',
|
|
'--no_auth',
|
|
'--bucket', 'chromium-tools',
|
|
'-s', 'boringssl/util/bot/perl-win32.zip.sha1',
|
|
],
|
|
},
|
|
{
|
|
'name': 'perl_win32_extract',
|
|
'pattern': '.',
|
|
'condition': 'host_os == "win"',
|
|
'action': [ 'python',
|
|
'boringssl/util/bot/extract.py',
|
|
'--no-prefix',
|
|
'boringssl/util/bot/perl-win32.zip',
|
|
'boringssl/util/bot/perl-win32/',
|
|
],
|
|
},
|
|
{
|
|
'name': 'yasm_win32',
|
|
'pattern': '.',
|
|
'condition': 'host_os == "win"',
|
|
'action': [ 'download_from_google_storage',
|
|
'--no_resume',
|
|
'--platform=win32',
|
|
'--no_auth',
|
|
'--bucket', 'chromium-tools',
|
|
'-s', 'boringssl/util/bot/yasm-win32.exe.sha1',
|
|
],
|
|
},
|
|
{
|
|
'name': 'win_toolchain',
|
|
'pattern': '.',
|
|
'condition': 'host_os == "win"',
|
|
'action': [ 'python',
|
|
'boringssl/util/bot/vs_toolchain.py',
|
|
'update',
|
|
],
|
|
},
|
|
{
|
|
'name': 'clang',
|
|
'pattern': '.',
|
|
'condition': 'checkout_clang',
|
|
'action': [ 'python',
|
|
'boringssl/util/bot/update_clang.py',
|
|
],
|
|
},
|
|
{
|
|
'name': 'sde_linux64',
|
|
'pattern': '.',
|
|
'condition': 'checkout_sde and host_os == "linux"',
|
|
'action': [ 'download_from_google_storage',
|
|
'--no_resume',
|
|
'--bucket', 'chrome-boringssl-sde',
|
|
'-s', 'boringssl/util/bot/sde-linux64.tar.bz2.sha1'
|
|
],
|
|
},
|
|
{
|
|
'name': 'sde_linux64_extract',
|
|
'pattern': '.',
|
|
'condition': 'checkout_sde and host_os == "linux"',
|
|
'action': [ 'python',
|
|
'boringssl/util/bot/extract.py',
|
|
'boringssl/util/bot/sde-linux64.tar.bz2',
|
|
'boringssl/util/bot/sde-linux64/',
|
|
],
|
|
},
|
|
]
|