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