1# Copyright (c) 2015, Google Inc. 2# 3# Permission to use, copy, modify, and/or distribute this software for any 4# purpose with or without fee is hereby granted, provided that the above 5# copyright notice and this permission notice appear in all copies. 6# 7# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 8# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 9# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 10# SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 11# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION 12# OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 13# CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 14 15vars = { 16 'chromium_git': 'https://chromium.googlesource.com', 17} 18 19deps = { 20 'boringssl/util/bot/gyp': 21 Var('chromium_git') + '/external/gyp.git' + '@' + 'e7079f0e0e14108ab0dba58728ff219637458563', 22} 23 24deps_os = { 25 'android': { 26 'boringssl/util/bot/android_tools': 27 Var('chromium_git') + '/android_tools.git' + '@' + 'b43a6a289a7588b1769814f04dd6c7d7176974cc', 28 }, 29} 30 31recursedeps = [ 32 # android_tools pulls in the NDK from a separate repository. 33 'boringssl/util/bot/android_tools', 34] 35 36hooks = [ 37 { 38 'name': 'cmake_linux64', 39 'pattern': '.', 40 'action': [ 'download_from_google_storage', 41 '--no_resume', 42 '--platform=linux*', 43 '--no_auth', 44 '--bucket', 'chromium-tools', 45 '-s', 'boringssl/util/bot/cmake-linux64.tar.gz.sha1', 46 ], 47 }, 48 { 49 'name': 'cmake_mac', 50 'pattern': '.', 51 'action': [ 'download_from_google_storage', 52 '--no_resume', 53 '--platform=darwin', 54 '--no_auth', 55 '--bucket', 'chromium-tools', 56 '-s', 'boringssl/util/bot/cmake-mac.tar.gz.sha1', 57 ], 58 }, 59 { 60 'name': 'cmake_win32', 61 'pattern': '.', 62 'action': [ 'download_from_google_storage', 63 '--no_resume', 64 '--platform=win32', 65 '--no_auth', 66 '--bucket', 'chromium-tools', 67 '-s', 'boringssl/util/bot/cmake-win32.zip.sha1', 68 ], 69 }, 70 { 71 'name': 'perl_win32', 72 'pattern': '.', 73 'action': [ 'download_from_google_storage', 74 '--no_resume', 75 '--platform=win32', 76 '--no_auth', 77 '--bucket', 'chromium-tools', 78 '-s', 'boringssl/util/bot/perl-win32.zip.sha1', 79 ], 80 }, 81 { 82 'name': 'yasm_win32', 83 'pattern': '.', 84 'action': [ 'download_from_google_storage', 85 '--no_resume', 86 '--platform=win32', 87 '--no_auth', 88 '--bucket', 'chromium-tools', 89 '-s', 'boringssl/util/bot/yasm-win32.exe.sha1', 90 ], 91 }, 92 { 93 'name': 'win_toolchain', 94 'pattern': '.', 95 'action': [ 'python', 96 'boringssl/util/bot/vs_toolchain.py', 97 'update', 98 ], 99 }, 100 { 101 'name': 'clang', 102 'pattern': '.', 103 'action': [ 'python', 104 'boringssl/util/bot/update_clang.py', 105 ], 106 }, 107 { 108 'name': 'cmake_linux64_extract', 109 'pattern': '.', 110 'action': [ 'python', 111 'boringssl/util/bot/extract.py', 112 'boringssl/util/bot/cmake-linux64.tar.gz', 113 'boringssl/util/bot/cmake-linux64/', 114 ], 115 }, 116 { 117 'name': 'cmake_mac_extract', 118 'pattern': '.', 119 'action': [ 'python', 120 'boringssl/util/bot/extract.py', 121 'boringssl/util/bot/cmake-mac.tar.gz', 122 'boringssl/util/bot/cmake-mac/', 123 ], 124 }, 125 { 126 'name': 'cmake_win32_extract', 127 'pattern': '.', 128 'action': [ 'python', 129 'boringssl/util/bot/extract.py', 130 'boringssl/util/bot/cmake-win32.zip', 131 'boringssl/util/bot/cmake-win32/', 132 ], 133 }, 134 { 135 'name': 'perl_win32_extract', 136 'pattern': '.', 137 'action': [ 'python', 138 'boringssl/util/bot/extract.py', 139 '--no-prefix', 140 'boringssl/util/bot/perl-win32.zip', 141 'boringssl/util/bot/perl-win32/', 142 ], 143 }, 144] 145