James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 1 | # This file is automatically processed to create .DEPS.git which is the file |
| 2 | # that gclient uses under git. |
| 3 | # |
| 4 | # See http://code.google.com/p/chromium/wiki/UsingGit |
| 5 | # |
| 6 | # To test manually, run: |
| 7 | # python tools/deps2git/deps2git.py -o .DEPS.git -w <gclientdir> |
| 8 | # where <gcliendir> is the absolute path to the directory containing the |
| 9 | # .gclient file (the parent of 'src'). |
| 10 | # |
| 11 | # Then commit .DEPS.git locally (gclient doesn't like dirty trees) and run |
| 12 | # gclient sync |
| 13 | # Verify the thing happened you wanted. Then revert your .DEPS.git change |
| 14 | # DO NOT CHECK IN CHANGES TO .DEPS.git upstream. It will be automatically |
| 15 | # updated by a bot when you modify this one. |
| 16 | # |
| 17 | # When adding a new dependency, please update the top-level .gitignore file |
| 18 | # to list the dependency's destination directory. |
| 19 | |
| 20 | vars = { |
Adam Barth | 0352f98 | 2014-10-30 09:38:46 -0700 | [diff] [blame] | 21 | 'chromium_git': 'https://chromium.googlesource.com', |
Adam Barth | c14c1e1 | 2015-01-20 10:33:54 -0800 | [diff] [blame] | 22 | 'dart_svn': 'https://dart.googlecode.com', |
Viet-Trung Luu | 916dc37 | 2015-04-21 13:15:25 -0700 | [diff] [blame] | 23 | 'skia_revision': '409fd66a5afcef5f165f7ccec7c3473add231752', |
Alhaad Gokhale | 4f51307 | 2015-03-24 10:49:34 -0700 | [diff] [blame] | 24 | 'v8_revision': '230d131d173ab2d60291d303177bc04ec3f6e519', |
Alhaad Gokhale | 4f51307 | 2015-03-24 10:49:34 -0700 | [diff] [blame] | 25 | 'angle_revision': 'bdd419f9f5b006e913606e7363125942c8ae06bc', |
James Robinson | 0fae000 | 2015-05-05 16:31:51 -0700 | [diff] [blame] | 26 | 'buildtools_revision': '15308f469a704c45d15567fa69cd94ce07ad0e1b', |
John McCutchan | 4613e6b | 2015-05-28 07:45:06 -0700 | [diff] [blame] | 27 | 'dart_revision': '7c02eae5ec835c410682182bd380791f69b5eb8d', |
John McCutchan | f84766d | 2015-05-06 15:36:12 -0700 | [diff] [blame] | 28 | 'dart_observatory_packages_revision': '45565', |
Alhaad Gokhale | 4f51307 | 2015-03-24 10:49:34 -0700 | [diff] [blame] | 29 | 'pdfium_revision': 'b0115665b0f33971f1b7077740d51e155583cec0', |
Alhaad Gokhale | 4f51307 | 2015-03-24 10:49:34 -0700 | [diff] [blame] | 30 | 'boringssl_revision': '642f1498d056dbba3e50ed5a232ab2f482626dec', |
Dave Moore | 0ae79f4 | 2015-03-17 12:56:46 -0700 | [diff] [blame] | 31 | 'lss_revision': 'e079768b7e3a94dcbe7d338496c0c3bde7151b6e', |
James Robinson | 6a64b81 | 2014-12-03 13:38:42 -0800 | [diff] [blame] | 32 | 'nss_revision': 'bb4e75a43d007518ae7d618665ea2f25b0c60b63', |
James Robinson | 0fae000 | 2015-05-05 16:31:51 -0700 | [diff] [blame] | 33 | 'nacl_revision': '87d5dd90911a0657c27574f78e86b7dfc4ad8b29', |
John McCutchan | 93cf2ef | 2015-06-02 14:09:22 -0700 | [diff] [blame] | 34 | 'vector_math_dart_revision': '65915583f7aa606cb47ed265f853c18c60102b81', |
| 35 | 'box2d_dart_revision': 'c5e65d9546275e78ad2a1d51b459e7638f6e4323', |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 36 | } |
| 37 | |
| 38 | # Only these hosts are allowed for dependencies in this DEPS file. |
Zachary Anderson | 309b11c | 2014-11-12 08:07:54 -0800 | [diff] [blame] | 39 | # If you need to add a new host, contact chrome infrastructure team. |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 40 | allowed_hosts = [ |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 41 | 'boringssl.googlesource.com', |
Adam Barth | c14c1e1 | 2015-01-20 10:33:54 -0800 | [diff] [blame] | 42 | 'chromium.googlesource.com', |
| 43 | 'dart.googlecode.com', |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 44 | 'pdfium.googlesource.com', |
| 45 | ] |
| 46 | |
| 47 | deps = { |
| 48 | 'src/buildtools': |
| 49 | Var('chromium_git') + '/chromium/buildtools.git' + '@' + Var('buildtools_revision'), |
| 50 | |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 51 | 'src/testing/gtest': |
James Robinson | 5e66a79 | 2015-01-21 17:02:08 -0800 | [diff] [blame] | 52 | Var('chromium_git') + '/external/googletest.git' + '@' + 'be1868139ffe0ccd0e8e3b37292b84c821d9c8ad', # from svn revision 704 |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 53 | |
| 54 | 'src/testing/gmock': |
James Robinson | df7315a | 2014-11-21 18:35:48 -0800 | [diff] [blame] | 55 | Var('chromium_git') + '/external/googlemock.git' + '@' + '29763965ab52f24565299976b936d1265cb6a271', # from svn revision 501 |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 56 | |
| 57 | 'src/third_party/angle': |
| 58 | Var('chromium_git') + '/angle/angle.git' + '@' + Var('angle_revision'), |
| 59 | |
| 60 | 'src/third_party/icu': |
Alhaad Gokhale | 4f51307 | 2015-03-24 10:49:34 -0700 | [diff] [blame] | 61 | Var('chromium_git') + '/chromium/deps/icu.git' + '@' + '7c81740601355556e630da515b74d889ba2f8d08', |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 62 | |
| 63 | 'src/tools/grit': |
James Robinson | 0fae000 | 2015-05-05 16:31:51 -0700 | [diff] [blame] | 64 | Var('chromium_git') + '/external/grit-i18n.git' + '@' + 'c1b1591a05209c1ad467e845ba8543c22f9072af', # from svn revision 189 |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 65 | |
James Robinson | 51b982b | 2014-10-06 11:06:50 -0700 | [diff] [blame] | 66 | 'src/v8': |
| 67 | Var('chromium_git') + '/v8/v8.git' + '@' + Var('v8_revision'), |
| 68 | |
John McCutchan | 4613e6b | 2015-05-28 07:45:06 -0700 | [diff] [blame] | 69 | 'src/dart': |
| 70 | Var('chromium_git') + '/external/github.com/dart-lang/sdk.git' + '@' + Var('dart_revision'), |
Adam Barth | c14c1e1 | 2015-01-20 10:33:54 -0800 | [diff] [blame] | 71 | |
John McCutchan | 16e0316 | 2015-04-08 07:30:38 -0700 | [diff] [blame] | 72 | 'src/dart/third_party/observatory_pub_packages': |
| 73 | Var('dart_svn') + '/svn/third_party/observatory_pub_packages' + '@' + |
| 74 | Var('dart_observatory_packages_revision'), |
| 75 | |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 76 | 'src/third_party/skia': |
| 77 | Var('chromium_git') + '/skia.git' + '@' + Var('skia_revision'), |
| 78 | |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 79 | 'src/third_party/yasm/source/patched-yasm': |
James Robinson | 6a64b81 | 2014-12-03 13:38:42 -0800 | [diff] [blame] | 80 | Var('chromium_git') + '/chromium/deps/yasm/patched-yasm.git' + '@' + '4671120cd8558ce62ee8672ebf3eb6f5216f909b', |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 81 | |
| 82 | 'src/third_party/libjpeg_turbo': |
| 83 | Var('chromium_git') + '/chromium/deps/libjpeg_turbo.git' + '@' + '034e9a9747e0983bc19808ea70e469bc8342081f', |
| 84 | |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 85 | 'src/third_party/smhasher/src': |
| 86 | Var('chromium_git') + '/external/smhasher.git' + '@' + 'e87738e57558e0ec472b2fc3a643b838e5b6e88f', |
| 87 | |
| 88 | 'src/third_party/pywebsocket/src': |
| 89 | Var('chromium_git') + '/external/pywebsocket/src.git' + '@' + 'cb349e87ddb30ff8d1fa1a89be39cec901f4a29c', |
| 90 | |
| 91 | 'src/third_party/mesa/src': |
Benjamin Lerman | 0461682 | 2014-12-22 13:08:16 +0100 | [diff] [blame] | 92 | Var('chromium_git') + '/chromium/deps/mesa.git' + '@' + '071d25db04c23821a12a8b260ab9d96a097402f0', |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 93 | |
John Abd-El-Malek | 7cd059b | 2014-10-29 11:00:40 -0700 | [diff] [blame] | 94 | 'src/third_party/pdfium': |
| 95 | 'https://pdfium.googlesource.com/pdfium.git' + '@' + Var('pdfium_revision'), |
| 96 | |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 97 | 'src/third_party/boringssl/src': |
| 98 | 'https://boringssl.googlesource.com/boringssl.git' + '@' + Var('boringssl_revision'), |
John Abd-El-Malek | 9eb76f9 | 2014-11-07 20:45:44 -0800 | [diff] [blame] | 99 | |
Etienne Membrives | 24ffb7d | 2015-03-27 10:58:41 +0100 | [diff] [blame] | 100 | 'src/third_party/requests/src': |
| 101 | Var('chromium_git') + '/external/github.com/kennethreitz/requests.git' + '@' + 'f172b30356d821d180fa4ecfa3e71c7274a32de4', |
James Robinson | 288298d | 2015-04-06 11:37:23 -0700 | [diff] [blame] | 102 | |
| 103 | 'src/native_client': |
| 104 | Var('chromium_git') + '/native_client/src/native_client.git' + '@' + Var('nacl_revision'), |
John McCutchan | 93cf2ef | 2015-06-02 14:09:22 -0700 | [diff] [blame] | 105 | |
| 106 | 'src/third_party/dart-pkg/vector_math': |
| 107 | Var('chromium_git') + '/external/github.com/google/vector_math.dart.git' + '@' + Var('vector_math_dart_revision'), |
| 108 | |
| 109 | 'src/third_party/dart-pkg/box2d': |
| 110 | Var('chromium_git') + '/external/github.com/google/box2d.dart.git' + '@' + Var('box2d_dart_revision'), |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 111 | } |
| 112 | |
| 113 | |
| 114 | deps_os = { |
James Robinson | ba1e658 | 2014-10-14 14:49:04 -0700 | [diff] [blame] | 115 | 'android': { |
| 116 | 'src/third_party/colorama/src': |
| 117 | Var('chromium_git') + '/external/colorama.git' + '@' + '799604a1041e9b3bc5d2789ecbd7e8db2e18e6b8', |
| 118 | |
| 119 | 'src/third_party/jsr-305/src': |
| 120 | Var('chromium_git') + '/external/jsr-305.git' + '@' + '642c508235471f7220af6d5df2d3210e3bfc0919', |
| 121 | |
James Robinson | 0fae000 | 2015-05-05 16:31:51 -0700 | [diff] [blame] | 122 | 'src/third_party/junit/src': |
| 123 | Var('chromium_git') + '/external/junit.git' + '@' + '45a44647e7306262162e1346b750c3209019f2e1', |
| 124 | |
| 125 | 'src/third_party/mockito/src': |
| 126 | Var('chromium_git') + '/external/mockito/mockito.git' + '@' + 'ed99a52e94a84bd7c467f2443b475a22fcc6ba8e', |
| 127 | |
| 128 | 'src/third_party/robolectric/lib': |
| 129 | Var('chromium_git') + '/chromium/third_party/robolectric.git' + '@' + '6b63c99a8b6967acdb42cbed0adb067c80efc810', |
| 130 | |
James Robinson | ba1e658 | 2014-10-14 14:49:04 -0700 | [diff] [blame] | 131 | 'src/third_party/android_tools': |
Alhaad Gokhale | 4f51307 | 2015-03-24 10:49:34 -0700 | [diff] [blame] | 132 | Var('chromium_git') + '/android_tools.git' + '@' + 'a1ffd63322c438627d78ea56eb73fb8779e06950', |
James Robinson | ba1e658 | 2014-10-14 14:49:04 -0700 | [diff] [blame] | 133 | |
Scott Violet | 973065b | 2014-12-16 09:14:21 -0800 | [diff] [blame] | 134 | 'src/third_party/appurify-python/src': |
| 135 | Var('chromium_git') + '/external/github.com/appurify/appurify-python.git' + '@' + 'ee7abd5c5ae3106f72b2a0b9d2cb55094688e867', |
| 136 | |
James Robinson | ba1e658 | 2014-10-14 14:49:04 -0700 | [diff] [blame] | 137 | 'src/third_party/freetype': |
Etienne Membrives | 175837a | 2014-12-19 15:45:38 +0100 | [diff] [blame] | 138 | Var('chromium_git') + '/chromium/src/third_party/freetype.git' + '@' + 'fd6919ac23f74b876c209aba5eaa2be662086391', |
Scott Violet | fa8a90d | 2014-12-16 09:30:16 -0800 | [diff] [blame] | 139 | |
| 140 | 'src/third_party/requests/src': |
| 141 | Var('chromium_git') + '/external/github.com/kennethreitz/requests.git' + '@' + 'f172b30356d821d180fa4ecfa3e71c7274a32de4', |
James Robinson | ba1e658 | 2014-10-14 14:49:04 -0700 | [diff] [blame] | 142 | }, |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 143 | } |
| 144 | |
| 145 | |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 146 | hooks = [ |
| 147 | { |
| 148 | # This clobbers when necessary (based on get_landmines.py). It must be the |
| 149 | # first hook so that other things that get/generate into the output |
| 150 | # directory will not subsequently be clobbered. |
| 151 | 'name': 'landmines', |
| 152 | 'pattern': '.', |
| 153 | 'action': [ |
| 154 | 'python', |
| 155 | 'src/build/landmines.py', |
| 156 | ], |
| 157 | }, |
| 158 | { |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 159 | # Pull clang if needed or requested via GYP_DEFINES. |
| 160 | 'name': 'clang', |
| 161 | 'pattern': '.', |
| 162 | 'action': ['python', 'src/tools/clang/scripts/update.py', '--if-needed'], |
| 163 | }, |
| 164 | { |
Elliot Glaysher | eb78aaf | 2015-02-17 15:46:04 -0800 | [diff] [blame] | 165 | # Pull dart sdk if needed |
| 166 | 'name': 'dart', |
| 167 | 'pattern': '.', |
| 168 | 'action': ['python', 'src/tools/dart/update.py'], |
| 169 | }, |
| 170 | { |
James Robinson | 138597c | 2015-02-18 16:10:20 -0800 | [diff] [blame] | 171 | # This downloads SDK extras and puts them in the |
| 172 | # third_party/android_tools/sdk/extras directory on the bots. Developers |
| 173 | # need to manually install these packages and accept the ToS. |
| 174 | 'name': 'sdkextras', |
Scott Graham | d7f3bd8 | 2014-11-07 20:15:36 -0800 | [diff] [blame] | 175 | 'pattern': '.', |
James Robinson | 138597c | 2015-02-18 16:10:20 -0800 | [diff] [blame] | 176 | # When adding a new sdk extras package to download, add the package |
| 177 | # directory and zip file to .gitignore in third_party/android_tools. |
| 178 | 'action': ['python', 'src/build/download_sdk_extras.py'], |
Scott Graham | d7f3bd8 | 2014-11-07 20:15:36 -0800 | [diff] [blame] | 179 | }, |
| 180 | { |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 181 | # Update LASTCHANGE. This is also run by export_tarball.py in |
| 182 | # src/tools/export_tarball - please keep them in sync. |
| 183 | 'name': 'lastchange', |
| 184 | 'pattern': '.', |
| 185 | 'action': ['python', 'src/build/util/lastchange.py', |
| 186 | '-o', 'src/build/util/LASTCHANGE'], |
| 187 | }, |
| 188 | # Pull GN binaries. This needs to be before running GYP below. |
| 189 | { |
| 190 | 'name': 'gn_linux32', |
| 191 | 'pattern': '.', |
| 192 | 'action': [ 'download_from_google_storage', |
| 193 | '--no_resume', |
| 194 | '--platform=linux*', |
| 195 | '--no_auth', |
| 196 | '--bucket', 'chromium-gn', |
| 197 | '-s', 'src/buildtools/linux32/gn.sha1', |
| 198 | ], |
| 199 | }, |
| 200 | { |
| 201 | 'name': 'gn_linux64', |
| 202 | 'pattern': '.', |
| 203 | 'action': [ 'download_from_google_storage', |
| 204 | '--no_resume', |
| 205 | '--platform=linux*', |
| 206 | '--no_auth', |
| 207 | '--bucket', 'chromium-gn', |
| 208 | '-s', 'src/buildtools/linux64/gn.sha1', |
| 209 | ], |
| 210 | }, |
Scott Graham | d19529d | 2014-11-03 15:04:31 -0800 | [diff] [blame] | 211 | { |
James Robinson | 06683f4 | 2015-05-07 11:29:37 -0700 | [diff] [blame] | 212 | 'name': 'gn_mac', |
| 213 | 'pattern': '.', |
| 214 | 'action': [ 'download_from_google_storage', |
| 215 | '--no_resume', |
| 216 | '--platform=darwin', |
| 217 | '--no_auth', |
| 218 | '--bucket', 'chromium-gn', |
| 219 | '-s', 'src/buildtools/mac/gn.sha1', |
| 220 | ], |
| 221 | }, |
| 222 | { |
Scott Graham | d19529d | 2014-11-03 15:04:31 -0800 | [diff] [blame] | 223 | 'name': 'gn_win', |
| 224 | 'pattern': '.', |
| 225 | 'action': [ 'download_from_google_storage', |
| 226 | '--no_resume', |
| 227 | '--platform=win*', |
| 228 | '--no_auth', |
| 229 | '--bucket', 'chromium-gn', |
| 230 | '-s', 'src/buildtools/win/gn.exe.sha1', |
| 231 | ], |
| 232 | }, |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 233 | # Pull clang-format binaries using checked-in hashes. |
| 234 | { |
| 235 | 'name': 'clang_format_linux', |
| 236 | 'pattern': '.', |
| 237 | 'action': [ 'download_from_google_storage', |
| 238 | '--no_resume', |
| 239 | '--platform=linux*', |
| 240 | '--no_auth', |
| 241 | '--bucket', 'chromium-clang-format', |
| 242 | '-s', 'src/buildtools/linux64/clang-format.sha1', |
| 243 | ], |
| 244 | }, |
James Robinson | 06683f4 | 2015-05-07 11:29:37 -0700 | [diff] [blame] | 245 | { |
| 246 | 'name': 'clang_format_mac', |
| 247 | 'pattern': '.', |
| 248 | 'action': [ 'download_from_google_storage', |
| 249 | '--no_resume', |
| 250 | '--platform=darwin', |
| 251 | '--no_auth', |
| 252 | '--bucket', 'chromium-clang-format', |
| 253 | '-s', 'src/buildtools/mac/clang-format.sha1', |
| 254 | ], |
| 255 | }, |
Eric Seidel | 22feaa0 | 2015-05-27 10:42:33 -0700 | [diff] [blame] | 256 | # Pull sky_server binaries using checked-in hashes. |
| 257 | { |
| 258 | 'name': 'sky_server_linux', |
| 259 | 'pattern': '.', |
| 260 | 'action': [ 'download_from_google_storage', |
| 261 | '--no_resume', |
| 262 | '--platform=linux*', |
| 263 | '--no_auth', |
| 264 | '--bucket', 'mojo', |
| 265 | '-s', 'src/sky/tools/skygo/linux64/sky_server.sha1', |
| 266 | ], |
| 267 | }, |
| 268 | { |
| 269 | 'name': 'sky_server_mac', |
| 270 | 'pattern': '.', |
| 271 | 'action': [ 'download_from_google_storage', |
| 272 | '--no_resume', |
| 273 | '--platform=darwin', |
| 274 | '--no_auth', |
| 275 | '--bucket', 'mojo', |
| 276 | '-s', 'src/sky/tools/skygo/mac/sky_server.sha1', |
| 277 | ], |
| 278 | }, |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 279 | # Pull binutils for linux, enabled debug fission for faster linking / |
| 280 | # debugging when used with clang on Ubuntu Precise. |
| 281 | # https://code.google.com/p/chromium/issues/detail?id=352046 |
| 282 | { |
| 283 | 'name': 'binutils', |
| 284 | 'pattern': 'src/third_party/binutils', |
| 285 | 'action': [ |
| 286 | 'python', |
| 287 | 'src/third_party/binutils/download.py', |
| 288 | ], |
| 289 | }, |
| 290 | # Pull eu-strip binaries using checked-in hashes. |
| 291 | { |
| 292 | 'name': 'eu-strip', |
| 293 | 'pattern': '.', |
| 294 | 'action': [ 'download_from_google_storage', |
| 295 | '--no_resume', |
| 296 | '--platform=linux*', |
| 297 | '--no_auth', |
| 298 | '--bucket', 'chromium-eu-strip', |
| 299 | '-s', 'src/build/linux/bin/eu-strip.sha1', |
| 300 | ], |
| 301 | }, |
Przemysław Pietrzkiewicz | bd599f3 | 2015-01-23 15:25:10 -0800 | [diff] [blame] | 302 | # Pull the prebuilt network service binaries according to |
Colin Blundell | 6966625 | 2015-02-13 09:38:24 +0100 | [diff] [blame] | 303 | # mojo/public/tools/NETWORK_SERVICE_VERSION. |
Przemysław Pietrzkiewicz | bd599f3 | 2015-01-23 15:25:10 -0800 | [diff] [blame] | 304 | { |
| 305 | 'name': 'download_network_service', |
| 306 | 'pattern': '', |
Colin Blundell | 25540eb | 2015-02-13 09:47:05 +0100 | [diff] [blame] | 307 | 'action': [ 'python', |
| 308 | 'src/mojo/public/tools/download_network_service.py', |
| 309 | '--tools-directory', '../../../tools', |
| 310 | ], |
Przemysław Pietrzkiewicz | bd599f3 | 2015-01-23 15:25:10 -0800 | [diff] [blame] | 311 | }, |
John McCutchan | dd167af | 2015-04-21 14:10:36 -0700 | [diff] [blame] | 312 | # Run "pub get" on any directories with checked-in pubspec.yaml files |
Colin Blundell | a5e7439 | 2015-04-13 16:32:14 +0200 | [diff] [blame] | 313 | # (excluding sky/, whose pubspec.yaml files are not intended for supporting |
| 314 | # building in-place in the repo). |
| 315 | { |
| 316 | 'name': 'run_dart_pub_get', |
| 317 | 'pattern': '', |
| 318 | 'action': [ 'python', |
| 319 | 'src/mojo/public/tools/git/dart_pub_get.py', |
| 320 | '--repository-root', '../../../..', |
| 321 | '--dart-sdk-directory', |
| 322 | '../../../../third_party/dart-sdk/dart-sdk', |
| 323 | '--dirs-to-ignore', 'sky/', |
| 324 | ], |
| 325 | }, |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 326 | { |
| 327 | # Ensure that we don't accidentally reference any .pyc files whose |
| 328 | # corresponding .py files have already been deleted. |
| 329 | 'name': 'remove_stale_pyc_files', |
| 330 | 'pattern': 'src/tools/.*\\.py', |
| 331 | 'action': [ |
| 332 | 'python', |
| 333 | 'src/tools/remove_stale_pyc_files.py', |
| 334 | 'src/tools', |
| 335 | ], |
| 336 | }, |
James Robinson | 288298d | 2015-04-06 11:37:23 -0700 | [diff] [blame] | 337 | { |
| 338 | # This downloads binaries for Native Client's newlib toolchain. |
| 339 | # Done in lieu of building the toolchain from scratch as it can take |
| 340 | # anywhere from 30 minutes to 4 hours depending on platform to build. |
| 341 | 'name': 'nacltools', |
| 342 | 'pattern': '.', |
| 343 | 'action': [ |
| 344 | 'python', 'src/build/download_nacl_toolchains.py', |
| 345 | '--packages', 'pnacl_newlib', |
| 346 | 'sync', '--extract', |
| 347 | ], |
Sergey Rogulenko | 791dda8 | 2015-04-22 13:58:15 -0700 | [diff] [blame] | 348 | }, |
| 349 | { |
| 350 | # This downloads linux and android Go binaries according to |
| 351 | # tools/go/VERSION. |
| 352 | 'name': 'gotools', |
| 353 | 'pattern': '.', |
| 354 | 'action': [ |
| 355 | 'python', 'src/tools/go/download.py', |
| 356 | ], |
| 357 | }, |
Viet-Trung Luu | 4ecbe5a | 2015-05-05 13:09:52 -0700 | [diff] [blame] | 358 | # Pull DejaVu fonts using checked-in hashes. |
| 359 | { |
| 360 | 'name': 'dejavu-fonts', |
| 361 | 'pattern': '', |
| 362 | 'action': [ 'download_from_google_storage', |
| 363 | '--no_resume', |
| 364 | '--no_auth', |
| 365 | '--bucket', 'mojo/dejavu-fonts', |
| 366 | '-s', 'src/third_party/dejavu-fonts-ttf-2.34/ttf/DejaVuSansMono.ttf.sha1', |
| 367 | ], |
| 368 | }, |
Andrew Wilson | 5177863 | 2015-06-02 16:17:29 -0700 | [diff] [blame] | 369 | # Pull keyboard_native resources using checked-in hashes. |
| 370 | { |
| 371 | 'name': 'keyboard_native_resources', |
| 372 | 'pattern': '', |
| 373 | 'action': [ 'download_from_google_storage', |
| 374 | '--no_resume', |
| 375 | '--no_auth', |
| 376 | '--bucket', 'mojo/keyboard_native', |
| 377 | '-d', 'src/services/keyboard_native/res', |
| 378 | ], |
| 379 | }, |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 380 | ] |