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, |
| 19 | 'checkout_fuzzer': False, |
| 20 | 'checkout_sde': False, |
Adam Langley | e9ada86 | 2015-05-11 17:20:37 -0700 | [diff] [blame] | 21 | } |
| 22 | |
| 23 | deps = { |
Robert Sloan | 309a31e | 2018-01-29 10:22:47 -0800 | [diff] [blame] | 24 | 'boringssl/util/bot/android_ndk': { |
Robert Sloan | ab8b888 | 2018-03-26 11:39:51 -0700 | [diff] [blame^] | 25 | 'url': Var('chromium_git') + '/android_ndk.git' + '@' + '635bc380968a76f6948fee65f80a0b28db53ae81', |
Robert Sloan | 309a31e | 2018-01-29 10:22:47 -0800 | [diff] [blame] | 26 | 'condition': 'checkout_android', |
| 27 | }, |
| 28 | |
| 29 | 'boringssl/util/bot/android_tools': { |
Robert Sloan | ab8b888 | 2018-03-26 11:39:51 -0700 | [diff] [blame^] | 30 | 'url': Var('chromium_git') + '/android_tools.git' + '@' + '9a70d48fcdd68cd0e7e968f342bd767ee6323bd1', |
Robert Sloan | 921ef2c | 2017-10-17 09:02:20 -0700 | [diff] [blame] | 31 | 'condition': 'checkout_android', |
Robert Sloan | 8ff0355 | 2017-06-14 12:40:58 -0700 | [diff] [blame] | 32 | }, |
Robert Sloan | 921ef2c | 2017-10-17 09:02:20 -0700 | [diff] [blame] | 33 | |
| 34 | 'boringssl/util/bot/gyp': |
| 35 | Var('chromium_git') + '/external/gyp.git' + '@' + 'd61a9397e668fa9843c4aa7da9e79460fe590bfb', |
| 36 | |
| 37 | 'boringssl/util/bot/libFuzzer': { |
Robert Sloan | 978112c | 2018-01-22 12:53:01 -0800 | [diff] [blame] | 38 | 'url': Var('chromium_git') + '/chromium/llvm-project/compiler-rt/lib/fuzzer.git' + '@' + 'ba2c1cd6f87accb32b5dbce297387c56a2e53a2f', |
Robert Sloan | 921ef2c | 2017-10-17 09:02:20 -0700 | [diff] [blame] | 39 | 'condition': 'checkout_fuzzer', |
David Benjamin | d316cba | 2016-06-02 16:17:39 -0400 | [diff] [blame] | 40 | }, |
| 41 | } |
| 42 | |
Steven Valdez | 909b19f | 2016-11-21 15:35:44 -0500 | [diff] [blame] | 43 | recursedeps = [ |
| 44 | # android_tools pulls in the NDK from a separate repository. |
| 45 | 'boringssl/util/bot/android_tools', |
| 46 | ] |
| 47 | |
Adam Langley | e9ada86 | 2015-05-11 17:20:37 -0700 | [diff] [blame] | 48 | hooks = [ |
| 49 | { |
| 50 | 'name': 'cmake_linux64', |
| 51 | 'pattern': '.', |
Robert Sloan | 921ef2c | 2017-10-17 09:02:20 -0700 | [diff] [blame] | 52 | 'condition': 'host_os == "linux"', |
Adam Langley | e9ada86 | 2015-05-11 17:20:37 -0700 | [diff] [blame] | 53 | 'action': [ 'download_from_google_storage', |
| 54 | '--no_resume', |
| 55 | '--platform=linux*', |
| 56 | '--no_auth', |
| 57 | '--bucket', 'chromium-tools', |
| 58 | '-s', 'boringssl/util/bot/cmake-linux64.tar.gz.sha1', |
| 59 | ], |
| 60 | }, |
| 61 | { |
Robert Sloan | 921ef2c | 2017-10-17 09:02:20 -0700 | [diff] [blame] | 62 | 'name': 'cmake_linux64_extract', |
| 63 | 'pattern': '.', |
| 64 | 'condition': 'host_os == "linux"', |
| 65 | 'action': [ 'python', |
| 66 | 'boringssl/util/bot/extract.py', |
| 67 | 'boringssl/util/bot/cmake-linux64.tar.gz', |
| 68 | 'boringssl/util/bot/cmake-linux64/', |
| 69 | ], |
| 70 | }, |
| 71 | { |
Adam Langley | e9ada86 | 2015-05-11 17:20:37 -0700 | [diff] [blame] | 72 | 'name': 'cmake_mac', |
| 73 | 'pattern': '.', |
Robert Sloan | 921ef2c | 2017-10-17 09:02:20 -0700 | [diff] [blame] | 74 | 'condition': 'host_os == "mac"', |
Adam Langley | e9ada86 | 2015-05-11 17:20:37 -0700 | [diff] [blame] | 75 | 'action': [ 'download_from_google_storage', |
| 76 | '--no_resume', |
| 77 | '--platform=darwin', |
| 78 | '--no_auth', |
| 79 | '--bucket', 'chromium-tools', |
| 80 | '-s', 'boringssl/util/bot/cmake-mac.tar.gz.sha1', |
| 81 | ], |
| 82 | }, |
| 83 | { |
Robert Sloan | 921ef2c | 2017-10-17 09:02:20 -0700 | [diff] [blame] | 84 | 'name': 'cmake_mac_extract', |
| 85 | 'pattern': '.', |
| 86 | 'condition': 'host_os == "mac"', |
| 87 | 'action': [ 'python', |
| 88 | 'boringssl/util/bot/extract.py', |
| 89 | 'boringssl/util/bot/cmake-mac.tar.gz', |
| 90 | 'boringssl/util/bot/cmake-mac/', |
| 91 | ], |
| 92 | }, |
| 93 | { |
Adam Langley | e9ada86 | 2015-05-11 17:20:37 -0700 | [diff] [blame] | 94 | 'name': 'cmake_win32', |
| 95 | 'pattern': '.', |
Robert Sloan | 921ef2c | 2017-10-17 09:02:20 -0700 | [diff] [blame] | 96 | 'condition': 'host_os == "win"', |
Adam Langley | e9ada86 | 2015-05-11 17:20:37 -0700 | [diff] [blame] | 97 | 'action': [ 'download_from_google_storage', |
| 98 | '--no_resume', |
| 99 | '--platform=win32', |
| 100 | '--no_auth', |
| 101 | '--bucket', 'chromium-tools', |
| 102 | '-s', 'boringssl/util/bot/cmake-win32.zip.sha1', |
| 103 | ], |
| 104 | }, |
| 105 | { |
Robert Sloan | 921ef2c | 2017-10-17 09:02:20 -0700 | [diff] [blame] | 106 | 'name': 'cmake_win32_extract', |
| 107 | 'pattern': '.', |
| 108 | 'condition': 'host_os == "win"', |
| 109 | 'action': [ 'python', |
| 110 | 'boringssl/util/bot/extract.py', |
| 111 | 'boringssl/util/bot/cmake-win32.zip', |
| 112 | 'boringssl/util/bot/cmake-win32/', |
| 113 | ], |
| 114 | }, |
| 115 | { |
Adam Langley | e9ada86 | 2015-05-11 17:20:37 -0700 | [diff] [blame] | 116 | 'name': 'perl_win32', |
| 117 | 'pattern': '.', |
Robert Sloan | 921ef2c | 2017-10-17 09:02:20 -0700 | [diff] [blame] | 118 | 'condition': 'host_os == "win"', |
Adam Langley | e9ada86 | 2015-05-11 17:20:37 -0700 | [diff] [blame] | 119 | 'action': [ 'download_from_google_storage', |
| 120 | '--no_resume', |
| 121 | '--platform=win32', |
| 122 | '--no_auth', |
| 123 | '--bucket', 'chromium-tools', |
| 124 | '-s', 'boringssl/util/bot/perl-win32.zip.sha1', |
| 125 | ], |
| 126 | }, |
| 127 | { |
Robert Sloan | 921ef2c | 2017-10-17 09:02:20 -0700 | [diff] [blame] | 128 | 'name': 'perl_win32_extract', |
| 129 | 'pattern': '.', |
| 130 | 'condition': 'host_os == "win"', |
| 131 | 'action': [ 'python', |
| 132 | 'boringssl/util/bot/extract.py', |
| 133 | '--no-prefix', |
| 134 | 'boringssl/util/bot/perl-win32.zip', |
| 135 | 'boringssl/util/bot/perl-win32/', |
| 136 | ], |
| 137 | }, |
| 138 | { |
Adam Langley | e9ada86 | 2015-05-11 17:20:37 -0700 | [diff] [blame] | 139 | 'name': 'yasm_win32', |
| 140 | 'pattern': '.', |
Robert Sloan | 921ef2c | 2017-10-17 09:02:20 -0700 | [diff] [blame] | 141 | 'condition': 'host_os == "win"', |
Adam Langley | e9ada86 | 2015-05-11 17:20:37 -0700 | [diff] [blame] | 142 | 'action': [ 'download_from_google_storage', |
| 143 | '--no_resume', |
| 144 | '--platform=win32', |
| 145 | '--no_auth', |
| 146 | '--bucket', 'chromium-tools', |
| 147 | '-s', 'boringssl/util/bot/yasm-win32.exe.sha1', |
| 148 | ], |
| 149 | }, |
| 150 | { |
| 151 | 'name': 'win_toolchain', |
| 152 | 'pattern': '.', |
Robert Sloan | 921ef2c | 2017-10-17 09:02:20 -0700 | [diff] [blame] | 153 | 'condition': 'host_os == "win"', |
Adam Langley | e9ada86 | 2015-05-11 17:20:37 -0700 | [diff] [blame] | 154 | 'action': [ 'python', |
| 155 | 'boringssl/util/bot/vs_toolchain.py', |
| 156 | 'update', |
| 157 | ], |
| 158 | }, |
| 159 | { |
| 160 | 'name': 'clang', |
| 161 | 'pattern': '.', |
Robert Sloan | 921ef2c | 2017-10-17 09:02:20 -0700 | [diff] [blame] | 162 | 'condition': 'checkout_clang', |
Adam Langley | e9ada86 | 2015-05-11 17:20:37 -0700 | [diff] [blame] | 163 | 'action': [ 'python', |
| 164 | 'boringssl/util/bot/update_clang.py', |
| 165 | ], |
| 166 | }, |
Adam Langley | e9ada86 | 2015-05-11 17:20:37 -0700 | [diff] [blame] | 167 | { |
Robert Sloan | 921ef2c | 2017-10-17 09:02:20 -0700 | [diff] [blame] | 168 | 'name': 'sde_linux64', |
Adam Langley | e9ada86 | 2015-05-11 17:20:37 -0700 | [diff] [blame] | 169 | 'pattern': '.', |
Robert Sloan | 921ef2c | 2017-10-17 09:02:20 -0700 | [diff] [blame] | 170 | 'condition': 'checkout_sde and host_os == "linux"', |
| 171 | 'action': [ 'download_from_google_storage', |
| 172 | '--no_resume', |
| 173 | '--bucket', 'chrome-boringssl-sde', |
| 174 | '-s', 'boringssl/util/bot/sde-linux64.tar.bz2.sha1' |
Adam Langley | e9ada86 | 2015-05-11 17:20:37 -0700 | [diff] [blame] | 175 | ], |
| 176 | }, |
| 177 | { |
Robert Sloan | 921ef2c | 2017-10-17 09:02:20 -0700 | [diff] [blame] | 178 | 'name': 'sde_linux64_extract', |
Adam Langley | e9ada86 | 2015-05-11 17:20:37 -0700 | [diff] [blame] | 179 | 'pattern': '.', |
Robert Sloan | 921ef2c | 2017-10-17 09:02:20 -0700 | [diff] [blame] | 180 | 'condition': 'checkout_sde and host_os == "linux"', |
Adam Langley | e9ada86 | 2015-05-11 17:20:37 -0700 | [diff] [blame] | 181 | 'action': [ 'python', |
| 182 | 'boringssl/util/bot/extract.py', |
Robert Sloan | 921ef2c | 2017-10-17 09:02:20 -0700 | [diff] [blame] | 183 | 'boringssl/util/bot/sde-linux64.tar.bz2', |
| 184 | 'boringssl/util/bot/sde-linux64/', |
Adam Langley | e9ada86 | 2015-05-11 17:20:37 -0700 | [diff] [blame] | 185 | ], |
| 186 | }, |
| 187 | ] |