Adam Langley | e9ada86 | 2015-05-11 17:20:37 -0700 | [diff] [blame] | 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 | |
| 15 | vars = { |
| 16 | 'chromium_git': 'https://chromium.googlesource.com', |
Robert Sloan | 921ef2c | 2017-10-17 09:02:20 -0700 | [diff] [blame] | 17 | |
| 18 | 'checkout_clang': False, |
Robert Sloan | 921ef2c | 2017-10-17 09:02:20 -0700 | [diff] [blame] | 19 | 'checkout_sde': False, |
Adam Vartanian | bfcf3a7 | 2018-08-10 14:55:24 +0100 | [diff] [blame] | 20 | 'checkout_nasm': False, |
| 21 | 'checkout_libcxx': False, |
Adam Langley | e9ada86 | 2015-05-11 17:20:37 -0700 | [diff] [blame] | 22 | } |
| 23 | |
| 24 | deps = { |
Robert Sloan | 309a31e | 2018-01-29 10:22:47 -0800 | [diff] [blame] | 25 | 'boringssl/util/bot/android_ndk': { |
Robert Sloan | f573be7 | 2018-09-17 15:29:11 -0700 | [diff] [blame] | 26 | 'url': Var('chromium_git') + '/android_ndk.git' + '@' + '4e2cea441bfd43f0863d14f57b1e1844260b9884', |
Robert Sloan | 309a31e | 2018-01-29 10:22:47 -0800 | [diff] [blame] | 27 | 'condition': 'checkout_android', |
| 28 | }, |
| 29 | |
Srinivas Paladugu | dd42a61 | 2019-08-09 19:30:39 +0000 | [diff] [blame^] | 30 | 'boringssl/util/bot/android_tools': { |
| 31 | 'url': Var('chromium_git') + '/android_tools.git' + '@' + '347a7c8078a009e98995985b7ab6ec6b35696dea', |
| 32 | 'condition': 'checkout_android', |
Robert Sloan | 8ff0355 | 2017-06-14 12:40:58 -0700 | [diff] [blame] | 33 | }, |
Robert Sloan | 921ef2c | 2017-10-17 09:02:20 -0700 | [diff] [blame] | 34 | |
| 35 | 'boringssl/util/bot/gyp': |
| 36 | Var('chromium_git') + '/external/gyp.git' + '@' + 'd61a9397e668fa9843c4aa7da9e79460fe590bfb', |
| 37 | |
Robert Sloan | 4c22c5f | 2019-03-01 15:53:37 -0800 | [diff] [blame] | 38 | 'boringssl/util/bot/libFuzzer': { |
Srinivas Paladugu | dd42a61 | 2019-08-09 19:30:39 +0000 | [diff] [blame^] | 39 | 'url': Var('chromium_git') + '/chromium/llvm-project/compiler-rt/lib/fuzzer.git' +'@' + 'e847d8a9b47158695593d5693b0f69250472b229', |
Robert Sloan | 4c22c5f | 2019-03-01 15:53:37 -0800 | [diff] [blame] | 40 | 'condition': 'checkout_fuzzer', |
| 41 | }, |
| 42 | |
Adam Vartanian | bfcf3a7 | 2018-08-10 14:55:24 +0100 | [diff] [blame] | 43 | # Update the following revisions from |
Robert Sloan | 4726ed3 | 2019-04-08 12:43:32 -0700 | [diff] [blame] | 44 | # https://chromium.googlesource.com/chromium/src/+/master/buildtools/DEPS |
Adam Vartanian | bfcf3a7 | 2018-08-10 14:55:24 +0100 | [diff] [blame] | 45 | 'boringssl/util/bot/libcxx': { |
Srinivas Paladugu | dd42a61 | 2019-08-09 19:30:39 +0000 | [diff] [blame^] | 46 | 'url': Var('chromium_git') + '/chromium/llvm-project/libcxx.git' + '@' + '955113db37563c8632e31ddcff2047845553d7ff', |
Adam Vartanian | bfcf3a7 | 2018-08-10 14:55:24 +0100 | [diff] [blame] | 47 | 'condition': 'checkout_libcxx', |
| 48 | }, |
| 49 | 'boringssl/util/bot/libcxxabi': { |
Robert Sloan | 4726ed3 | 2019-04-08 12:43:32 -0700 | [diff] [blame] | 50 | 'url': Var('chromium_git') + '/chromium/llvm-project/libcxxabi.git' + '@' + '0d529660e32d77d9111912d73f2c74fc5fa2a858', |
Adam Vartanian | bfcf3a7 | 2018-08-10 14:55:24 +0100 | [diff] [blame] | 51 | 'condition': 'checkout_libcxx', |
| 52 | }, |
David Benjamin | d316cba | 2016-06-02 16:17:39 -0400 | [diff] [blame] | 53 | } |
| 54 | |
Steven Valdez | 909b19f | 2016-11-21 15:35:44 -0500 | [diff] [blame] | 55 | recursedeps = [ |
| 56 | # android_tools pulls in the NDK from a separate repository. |
| 57 | 'boringssl/util/bot/android_tools', |
| 58 | ] |
| 59 | |
Adam Langley | e9ada86 | 2015-05-11 17:20:37 -0700 | [diff] [blame] | 60 | hooks = [ |
| 61 | { |
| 62 | 'name': 'cmake_linux64', |
| 63 | 'pattern': '.', |
Robert Sloan | 921ef2c | 2017-10-17 09:02:20 -0700 | [diff] [blame] | 64 | 'condition': 'host_os == "linux"', |
Adam Langley | e9ada86 | 2015-05-11 17:20:37 -0700 | [diff] [blame] | 65 | 'action': [ 'download_from_google_storage', |
| 66 | '--no_resume', |
| 67 | '--platform=linux*', |
| 68 | '--no_auth', |
| 69 | '--bucket', 'chromium-tools', |
| 70 | '-s', 'boringssl/util/bot/cmake-linux64.tar.gz.sha1', |
| 71 | ], |
| 72 | }, |
| 73 | { |
Robert Sloan | 921ef2c | 2017-10-17 09:02:20 -0700 | [diff] [blame] | 74 | 'name': 'cmake_linux64_extract', |
| 75 | 'pattern': '.', |
| 76 | 'condition': 'host_os == "linux"', |
| 77 | 'action': [ 'python', |
| 78 | 'boringssl/util/bot/extract.py', |
| 79 | 'boringssl/util/bot/cmake-linux64.tar.gz', |
| 80 | 'boringssl/util/bot/cmake-linux64/', |
| 81 | ], |
| 82 | }, |
| 83 | { |
Adam Langley | e9ada86 | 2015-05-11 17:20:37 -0700 | [diff] [blame] | 84 | 'name': 'cmake_mac', |
| 85 | 'pattern': '.', |
Robert Sloan | 921ef2c | 2017-10-17 09:02:20 -0700 | [diff] [blame] | 86 | 'condition': 'host_os == "mac"', |
Adam Langley | e9ada86 | 2015-05-11 17:20:37 -0700 | [diff] [blame] | 87 | 'action': [ 'download_from_google_storage', |
| 88 | '--no_resume', |
| 89 | '--platform=darwin', |
| 90 | '--no_auth', |
| 91 | '--bucket', 'chromium-tools', |
| 92 | '-s', 'boringssl/util/bot/cmake-mac.tar.gz.sha1', |
| 93 | ], |
| 94 | }, |
| 95 | { |
Robert Sloan | 921ef2c | 2017-10-17 09:02:20 -0700 | [diff] [blame] | 96 | 'name': 'cmake_mac_extract', |
| 97 | 'pattern': '.', |
| 98 | 'condition': 'host_os == "mac"', |
| 99 | 'action': [ 'python', |
| 100 | 'boringssl/util/bot/extract.py', |
| 101 | 'boringssl/util/bot/cmake-mac.tar.gz', |
| 102 | 'boringssl/util/bot/cmake-mac/', |
| 103 | ], |
| 104 | }, |
| 105 | { |
Adam Langley | e9ada86 | 2015-05-11 17:20:37 -0700 | [diff] [blame] | 106 | 'name': 'cmake_win32', |
| 107 | 'pattern': '.', |
Robert Sloan | 921ef2c | 2017-10-17 09:02:20 -0700 | [diff] [blame] | 108 | 'condition': 'host_os == "win"', |
Adam Langley | e9ada86 | 2015-05-11 17:20:37 -0700 | [diff] [blame] | 109 | 'action': [ 'download_from_google_storage', |
| 110 | '--no_resume', |
| 111 | '--platform=win32', |
| 112 | '--no_auth', |
| 113 | '--bucket', 'chromium-tools', |
| 114 | '-s', 'boringssl/util/bot/cmake-win32.zip.sha1', |
| 115 | ], |
| 116 | }, |
| 117 | { |
Robert Sloan | 921ef2c | 2017-10-17 09:02:20 -0700 | [diff] [blame] | 118 | 'name': 'cmake_win32_extract', |
| 119 | 'pattern': '.', |
| 120 | 'condition': 'host_os == "win"', |
| 121 | 'action': [ 'python', |
| 122 | 'boringssl/util/bot/extract.py', |
| 123 | 'boringssl/util/bot/cmake-win32.zip', |
| 124 | 'boringssl/util/bot/cmake-win32/', |
| 125 | ], |
| 126 | }, |
| 127 | { |
Adam Langley | e9ada86 | 2015-05-11 17:20:37 -0700 | [diff] [blame] | 128 | 'name': 'perl_win32', |
| 129 | 'pattern': '.', |
Robert Sloan | 921ef2c | 2017-10-17 09:02:20 -0700 | [diff] [blame] | 130 | 'condition': 'host_os == "win"', |
Adam Langley | e9ada86 | 2015-05-11 17:20:37 -0700 | [diff] [blame] | 131 | 'action': [ 'download_from_google_storage', |
| 132 | '--no_resume', |
| 133 | '--platform=win32', |
| 134 | '--no_auth', |
| 135 | '--bucket', 'chromium-tools', |
| 136 | '-s', 'boringssl/util/bot/perl-win32.zip.sha1', |
| 137 | ], |
| 138 | }, |
| 139 | { |
Robert Sloan | 921ef2c | 2017-10-17 09:02:20 -0700 | [diff] [blame] | 140 | 'name': 'perl_win32_extract', |
| 141 | 'pattern': '.', |
| 142 | 'condition': 'host_os == "win"', |
| 143 | 'action': [ 'python', |
| 144 | 'boringssl/util/bot/extract.py', |
| 145 | '--no-prefix', |
| 146 | 'boringssl/util/bot/perl-win32.zip', |
| 147 | 'boringssl/util/bot/perl-win32/', |
| 148 | ], |
| 149 | }, |
| 150 | { |
Adam Langley | e9ada86 | 2015-05-11 17:20:37 -0700 | [diff] [blame] | 151 | 'name': 'yasm_win32', |
| 152 | 'pattern': '.', |
Adam Vartanian | bfcf3a7 | 2018-08-10 14:55:24 +0100 | [diff] [blame] | 153 | 'condition': 'host_os == "win" and not checkout_nasm', |
Adam Langley | e9ada86 | 2015-05-11 17:20:37 -0700 | [diff] [blame] | 154 | 'action': [ 'download_from_google_storage', |
| 155 | '--no_resume', |
| 156 | '--platform=win32', |
| 157 | '--no_auth', |
| 158 | '--bucket', 'chromium-tools', |
| 159 | '-s', 'boringssl/util/bot/yasm-win32.exe.sha1', |
| 160 | ], |
| 161 | }, |
| 162 | { |
Adam Vartanian | bfcf3a7 | 2018-08-10 14:55:24 +0100 | [diff] [blame] | 163 | 'name': 'nasm_win32', |
| 164 | 'pattern': '.', |
| 165 | 'condition': 'host_os == "win" and checkout_nasm', |
| 166 | 'action': [ 'download_from_google_storage', |
| 167 | '--no_resume', |
| 168 | '--platform=win32', |
| 169 | '--no_auth', |
| 170 | '--bucket', 'chromium-tools', |
| 171 | '-s', 'boringssl/util/bot/nasm-win32.exe.sha1', |
| 172 | ], |
| 173 | }, |
| 174 | { |
Adam Langley | e9ada86 | 2015-05-11 17:20:37 -0700 | [diff] [blame] | 175 | 'name': 'win_toolchain', |
| 176 | 'pattern': '.', |
Robert Sloan | 921ef2c | 2017-10-17 09:02:20 -0700 | [diff] [blame] | 177 | 'condition': 'host_os == "win"', |
Adam Langley | e9ada86 | 2015-05-11 17:20:37 -0700 | [diff] [blame] | 178 | 'action': [ 'python', |
| 179 | 'boringssl/util/bot/vs_toolchain.py', |
| 180 | 'update', |
| 181 | ], |
| 182 | }, |
| 183 | { |
| 184 | 'name': 'clang', |
| 185 | 'pattern': '.', |
Robert Sloan | 921ef2c | 2017-10-17 09:02:20 -0700 | [diff] [blame] | 186 | 'condition': 'checkout_clang', |
Adam Langley | e9ada86 | 2015-05-11 17:20:37 -0700 | [diff] [blame] | 187 | 'action': [ 'python', |
| 188 | 'boringssl/util/bot/update_clang.py', |
| 189 | ], |
| 190 | }, |
Adam Langley | e9ada86 | 2015-05-11 17:20:37 -0700 | [diff] [blame] | 191 | { |
Robert Sloan | 921ef2c | 2017-10-17 09:02:20 -0700 | [diff] [blame] | 192 | 'name': 'sde_linux64', |
Adam Langley | e9ada86 | 2015-05-11 17:20:37 -0700 | [diff] [blame] | 193 | 'pattern': '.', |
Robert Sloan | 921ef2c | 2017-10-17 09:02:20 -0700 | [diff] [blame] | 194 | 'condition': 'checkout_sde and host_os == "linux"', |
| 195 | 'action': [ 'download_from_google_storage', |
| 196 | '--no_resume', |
| 197 | '--bucket', 'chrome-boringssl-sde', |
| 198 | '-s', 'boringssl/util/bot/sde-linux64.tar.bz2.sha1' |
Adam Langley | e9ada86 | 2015-05-11 17:20:37 -0700 | [diff] [blame] | 199 | ], |
| 200 | }, |
| 201 | { |
Robert Sloan | 921ef2c | 2017-10-17 09:02:20 -0700 | [diff] [blame] | 202 | 'name': 'sde_linux64_extract', |
Adam Langley | e9ada86 | 2015-05-11 17:20:37 -0700 | [diff] [blame] | 203 | 'pattern': '.', |
Robert Sloan | 921ef2c | 2017-10-17 09:02:20 -0700 | [diff] [blame] | 204 | 'condition': 'checkout_sde and host_os == "linux"', |
Adam Langley | e9ada86 | 2015-05-11 17:20:37 -0700 | [diff] [blame] | 205 | 'action': [ 'python', |
| 206 | 'boringssl/util/bot/extract.py', |
Robert Sloan | 921ef2c | 2017-10-17 09:02:20 -0700 | [diff] [blame] | 207 | 'boringssl/util/bot/sde-linux64.tar.bz2', |
| 208 | 'boringssl/util/bot/sde-linux64/', |
Adam Langley | e9ada86 | 2015-05-11 17:20:37 -0700 | [diff] [blame] | 209 | ], |
| 210 | }, |
Robert Sloan | 4c22c5f | 2019-03-01 15:53:37 -0800 | [diff] [blame] | 211 | { |
| 212 | 'name': 'sde_win32', |
| 213 | 'pattern': '.', |
| 214 | 'condition': 'checkout_sde and host_os == "win"', |
| 215 | 'action': [ 'download_from_google_storage', |
| 216 | '--no_resume', |
| 217 | '--bucket', 'chrome-boringssl-sde', |
| 218 | '-s', 'boringssl/util/bot/sde-win32.tar.bz2.sha1' |
| 219 | ], |
| 220 | }, |
| 221 | { |
| 222 | 'name': 'sde_win32_extract', |
| 223 | 'pattern': '.', |
| 224 | 'condition': 'checkout_sde and host_os == "win"', |
| 225 | 'action': [ 'python', |
| 226 | 'boringssl/util/bot/extract.py', |
| 227 | 'boringssl/util/bot/sde-win32.tar.bz2', |
| 228 | 'boringssl/util/bot/sde-win32/', |
| 229 | ], |
| 230 | }, |
Adam Langley | e9ada86 | 2015-05-11 17:20:37 -0700 | [diff] [blame] | 231 | ] |