2015-02-13 23:38:43 +00:00
|
|
|
# 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.
|
|
|
|
|
2015-03-13 00:13:41 +00:00
|
|
|
vars = {
|
|
|
|
'chromium_git': 'https://chromium.googlesource.com',
|
|
|
|
}
|
|
|
|
|
|
|
|
deps = {
|
|
|
|
'boringssl/util/bot/gyp':
|
2016-05-02 18:03:34 +01:00
|
|
|
Var('chromium_git') + '/external/gyp.git' + '@' + '4cf07e8d616739f6484e46c9359b2a35196b2585',
|
2015-03-13 00:13:41 +00:00
|
|
|
}
|
2015-02-13 23:38:43 +00:00
|
|
|
|
2016-05-19 05:33:41 +01:00
|
|
|
deps_os = {
|
|
|
|
'android': {
|
|
|
|
'boringssl/util/bot/android_tools':
|
|
|
|
Var('chromium_git') + '/android_tools.git' + '@' + '5b5f2f60b78198eaef25d442ac60f823142a8a6e',
|
|
|
|
},
|
|
|
|
}
|
|
|
|
|
2015-02-13 23:38:43 +00:00
|
|
|
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',
|
|
|
|
],
|
|
|
|
},
|
2015-02-26 23:34:31 +00:00
|
|
|
{
|
|
|
|
'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',
|
|
|
|
],
|
|
|
|
},
|
2015-02-27 22:23:16 +00:00
|
|
|
{
|
|
|
|
'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',
|
|
|
|
],
|
|
|
|
},
|
2015-03-13 00:13:41 +00:00
|
|
|
{
|
|
|
|
'name': 'win_toolchain',
|
|
|
|
'pattern': '.',
|
|
|
|
'action': [ 'python',
|
|
|
|
'boringssl/util/bot/vs_toolchain.py',
|
|
|
|
'update',
|
|
|
|
],
|
|
|
|
},
|
2015-04-18 20:38:27 +01:00
|
|
|
{
|
|
|
|
'name': 'clang',
|
|
|
|
'pattern': '.',
|
|
|
|
'action': [ 'python',
|
|
|
|
'boringssl/util/bot/update_clang.py',
|
|
|
|
],
|
|
|
|
},
|
2015-02-27 22:23:16 +00:00
|
|
|
# TODO(davidben): Only extract archives when they've changed. Extracting perl
|
|
|
|
# on Windows is a significant part of the cycle time.
|
2015-02-13 23:38:43 +00:00
|
|
|
{
|
|
|
|
'name': 'cmake_linux64_extract',
|
|
|
|
'pattern': '.',
|
|
|
|
'action': [ 'python',
|
|
|
|
'boringssl/util/bot/extract.py',
|
|
|
|
'boringssl/util/bot/cmake-linux64.tar.gz',
|
|
|
|
'boringssl/util/bot/cmake-linux64/',
|
|
|
|
],
|
|
|
|
},
|
2015-02-26 23:34:31 +00:00
|
|
|
{
|
|
|
|
'name': 'cmake_mac_extract',
|
|
|
|
'pattern': '.',
|
|
|
|
'action': [ 'python',
|
|
|
|
'boringssl/util/bot/extract.py',
|
|
|
|
'boringssl/util/bot/cmake-mac.tar.gz',
|
|
|
|
'boringssl/util/bot/cmake-mac/',
|
|
|
|
],
|
|
|
|
},
|
2015-02-27 22:23:16 +00:00
|
|
|
{
|
|
|
|
'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/',
|
|
|
|
],
|
|
|
|
},
|
2015-02-13 23:38:43 +00:00
|
|
|
]
|