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', |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 22 | 'libcxx_revision': '48198f9110397fff47fe7c37cbfa296be7d44d3d', |
| 23 | 'libcxxabi_revision': '4ad1009ab3a59fa7a6896d74d5e4de5885697f95', |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 24 | 'sfntly_revision': '1bdaae8fc788a5ac8936d68bf24f37d977a13dac', |
Przemyslaw Pietrzkiewicz | ea77f0b | 2014-12-10 15:35:08 +0100 | [diff] [blame] | 25 | 'skia_revision': 'f9d09c969f8ffa664bc5cd40a71077e3dc46e0aa', |
James Robinson | 51b982b | 2014-10-06 11:06:50 -0700 | [diff] [blame] | 26 | # Three lines of non-changing comments so that |
| 27 | # the commit queue can handle CLs rolling Skia |
| 28 | # and V8 without interference from each other. |
Przemyslaw Pietrzkiewicz | ea77f0b | 2014-12-10 15:35:08 +0100 | [diff] [blame] | 29 | 'v8_revision': '49dd4474ba5b874fd2ac982be8c34d09052dcd85', |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 30 | # Three lines of non-changing comments so that |
| 31 | # the commit queue can handle CLs rolling ANGLE |
| 32 | # and whatever else without interference from each other. |
James Robinson | d2015d9 | 2014-12-08 13:45:40 -0800 | [diff] [blame] | 33 | "angle_revision": "16545669136028420f67ac496c45c2e9a32ed5a9", |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 34 | # Three lines of non-changing comments so that |
| 35 | # the commit queue can handle CLs rolling build tools |
| 36 | # and whatever else without interference from each other. |
Przemyslaw Pietrzkiewicz | ea77f0b | 2014-12-10 15:35:08 +0100 | [diff] [blame] | 37 | 'buildtools_revision': '05dd6a24723170d7c6ff35b537ee02947f619891', |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 38 | # Three lines of non-changing comments so that |
John Abd-El-Malek | 7cd059b | 2014-10-29 11:00:40 -0700 | [diff] [blame] | 39 | # the commit queue can handle CLs rolling PDFium |
| 40 | # and whatever else without interference from each other. |
James Robinson | 6a64b81 | 2014-12-03 13:38:42 -0800 | [diff] [blame] | 41 | 'pdfium_revision': 'ef619d0562b39f30943cfdc4985a0df233d00e42', |
John Abd-El-Malek | 7cd059b | 2014-10-29 11:00:40 -0700 | [diff] [blame] | 42 | # Three lines of non-changing comments so that |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 43 | # the commit queue can handle CLs rolling BoringSSL |
| 44 | # and whatever else without interference from each other. |
Przemyslaw Pietrzkiewicz | ea77f0b | 2014-12-10 15:35:08 +0100 | [diff] [blame] | 45 | 'boringssl_revision': '306e520cda7d2f0afee9ba634dae629f994b096c', |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 46 | # Three lines of non-changing comments so that |
| 47 | # the commit queue can handle CLs rolling lss |
| 48 | # and whatever else without interference from each other. |
| 49 | 'lss_revision': '952107fa7cea0daaabead28c0e92d579bee517eb', |
Scott Graham | d19529d | 2014-11-03 15:04:31 -0800 | [diff] [blame] | 50 | # Three lines of non-changing comments so that |
| 51 | # the commit queue can handle CLs rolling nss |
| 52 | # and whatever else without interference from each other. |
James Robinson | 6a64b81 | 2014-12-03 13:38:42 -0800 | [diff] [blame] | 53 | 'nss_revision': 'bb4e75a43d007518ae7d618665ea2f25b0c60b63', |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 54 | } |
| 55 | |
| 56 | # Only these hosts are allowed for dependencies in this DEPS file. |
Zachary Anderson | 309b11c | 2014-11-12 08:07:54 -0800 | [diff] [blame] | 57 | # If you need to add a new host, contact chrome infrastructure team. |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 58 | allowed_hosts = [ |
| 59 | 'chromium.googlesource.com', |
| 60 | 'boringssl.googlesource.com', |
| 61 | 'pdfium.googlesource.com', |
| 62 | ] |
| 63 | |
| 64 | deps = { |
| 65 | 'src/buildtools': |
| 66 | Var('chromium_git') + '/chromium/buildtools.git' + '@' + Var('buildtools_revision'), |
| 67 | |
| 68 | 'src/sdch/open-vcdiff': |
| 69 | Var('chromium_git') + '/external/open-vcdiff.git' + '@' + '438f2a5be6d809bc21611a94cd37bfc8c28ceb33', # from svn revision 41 |
| 70 | |
| 71 | 'src/testing/gtest': |
James Robinson | df7315a | 2014-11-21 18:35:48 -0800 | [diff] [blame] | 72 | Var('chromium_git') + '/external/googletest.git' + '@' + '8245545b6dc9c4703e6496d1efd19e975ad2b038', # from svn revision 700 |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 73 | |
| 74 | 'src/testing/gmock': |
James Robinson | df7315a | 2014-11-21 18:35:48 -0800 | [diff] [blame] | 75 | Var('chromium_git') + '/external/googlemock.git' + '@' + '29763965ab52f24565299976b936d1265cb6a271', # from svn revision 501 |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 76 | |
| 77 | 'src/third_party/angle': |
| 78 | Var('chromium_git') + '/angle/angle.git' + '@' + Var('angle_revision'), |
| 79 | |
| 80 | 'src/third_party/icu': |
James Robinson | d2015d9 | 2014-12-08 13:45:40 -0800 | [diff] [blame] | 81 | Var('chromium_git') + '/chromium/deps/icu.git' + '@' + '53ecf0f68b27a004bef5526553b8e5f6c235b80b', |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 82 | |
| 83 | 'src/third_party/libc++/trunk': |
| 84 | Var('chromium_git') + '/chromium/llvm-project/libcxx.git' + '@' + Var('libcxx_revision'), |
| 85 | |
| 86 | 'src/third_party/libc++abi/trunk': |
| 87 | Var('chromium_git') + '/chromium/llvm-project/libcxxabi.git' + '@' + Var('libcxxabi_revision'), |
| 88 | |
| 89 | 'src/tools/grit': |
James Robinson | d2015d9 | 2014-12-08 13:45:40 -0800 | [diff] [blame] | 90 | Var('chromium_git') + '/external/grit-i18n.git' + '@' + 'ba706f5aa055960b40927d7e5b42186acac9c5e6', # from svn revision 184 |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 91 | |
James Robinson | 51b982b | 2014-10-06 11:06:50 -0700 | [diff] [blame] | 92 | 'src/v8': |
| 93 | Var('chromium_git') + '/v8/v8.git' + '@' + Var('v8_revision'), |
| 94 | |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 95 | 'src/third_party/sfntly/cpp/src': |
| 96 | Var('chromium_git') + '/external/sfntly/cpp/src.git' + '@' + Var('sfntly_revision'), |
| 97 | |
| 98 | 'src/third_party/skia': |
| 99 | Var('chromium_git') + '/skia.git' + '@' + Var('skia_revision'), |
| 100 | |
| 101 | 'src/third_party/ots': |
| 102 | Var('chromium_git') + '/external/ots.git' + '@' + '98897009f3ea8a5fa3e20a4a74977da7aaa8e61a', |
| 103 | |
Adam Barth | 86cb1c7 | 2014-10-21 14:31:34 -0700 | [diff] [blame] | 104 | 'src/third_party/brotli/src': |
James Robinson | 6a64b81 | 2014-12-03 13:38:42 -0800 | [diff] [blame] | 105 | Var('chromium_git') + '/external/font-compression-reference.git' + '@' + '8c9c83426beb4a58da34be76ea1fccb4054c4703', |
Adam Barth | 86cb1c7 | 2014-10-21 14:31:34 -0700 | [diff] [blame] | 106 | |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 107 | 'src/third_party/yasm/source/patched-yasm': |
James Robinson | 6a64b81 | 2014-12-03 13:38:42 -0800 | [diff] [blame] | 108 | Var('chromium_git') + '/chromium/deps/yasm/patched-yasm.git' + '@' + '4671120cd8558ce62ee8672ebf3eb6f5216f909b', |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 109 | |
| 110 | 'src/third_party/libjpeg_turbo': |
| 111 | Var('chromium_git') + '/chromium/deps/libjpeg_turbo.git' + '@' + '034e9a9747e0983bc19808ea70e469bc8342081f', |
| 112 | |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 113 | 'src/third_party/smhasher/src': |
| 114 | Var('chromium_git') + '/external/smhasher.git' + '@' + 'e87738e57558e0ec472b2fc3a643b838e5b6e88f', |
| 115 | |
| 116 | 'src/third_party/pywebsocket/src': |
| 117 | Var('chromium_git') + '/external/pywebsocket/src.git' + '@' + 'cb349e87ddb30ff8d1fa1a89be39cec901f4a29c', |
| 118 | |
| 119 | 'src/third_party/mesa/src': |
| 120 | Var('chromium_git') + '/chromium/deps/mesa.git' + '@' + '9731cb962963bca8a05f3d0f6ea40c3a781f0537', |
| 121 | |
John Abd-El-Malek | 7cd059b | 2014-10-29 11:00:40 -0700 | [diff] [blame] | 122 | 'src/third_party/pdfium': |
| 123 | 'https://pdfium.googlesource.com/pdfium.git' + '@' + Var('pdfium_revision'), |
| 124 | |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 125 | 'src/third_party/boringssl/src': |
| 126 | 'https://boringssl.googlesource.com/boringssl.git' + '@' + Var('boringssl_revision'), |
John Abd-El-Malek | 9eb76f9 | 2014-11-07 20:45:44 -0800 | [diff] [blame] | 127 | |
| 128 | 'src/tools/gyp': |
James Robinson | 6a64b81 | 2014-12-03 13:38:42 -0800 | [diff] [blame] | 129 | Var('chromium_git') + '/external/gyp.git' + '@' + 'fe00999dfaee449d3465a9316778434884da4fa7', # from svn revision 2010 |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 130 | } |
| 131 | |
| 132 | |
| 133 | deps_os = { |
| 134 | 'unix': { |
| 135 | # Linux, really. |
| 136 | 'src/third_party/lss': |
| 137 | Var('chromium_git') + '/external/linux-syscall-support/lss.git' + '@' + Var('lss_revision'), |
| 138 | |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 139 | # Note that this is different from Android's freetype repo. |
| 140 | 'src/third_party/freetype2/src': |
James Robinson | 2153f14 | 2014-10-15 13:22:00 -0700 | [diff] [blame] | 141 | Var('chromium_git') + '/chromium/src/third_party/freetype2.git' + '@' + '495a23fce9cd125f715dc20643d14fed226d76ac', |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 142 | |
| 143 | # Used for embedded builds. CrOS & Linux use the system version. |
| 144 | 'src/third_party/fontconfig/src': |
| 145 | Var('chromium_git') + '/external/fontconfig.git' + '@' + 'f16c3118e25546c1b749f9823c51827a60aeb5c1', |
| 146 | }, |
James Robinson | ba1e658 | 2014-10-14 14:49:04 -0700 | [diff] [blame] | 147 | 'android': { |
| 148 | 'src/third_party/colorama/src': |
| 149 | Var('chromium_git') + '/external/colorama.git' + '@' + '799604a1041e9b3bc5d2789ecbd7e8db2e18e6b8', |
| 150 | |
| 151 | 'src/third_party/jsr-305/src': |
| 152 | Var('chromium_git') + '/external/jsr-305.git' + '@' + '642c508235471f7220af6d5df2d3210e3bfc0919', |
| 153 | |
| 154 | 'src/third_party/android_tools': |
James Robinson | 6a64b81 | 2014-12-03 13:38:42 -0800 | [diff] [blame] | 155 | Var('chromium_git') + '/android_tools.git' + '@' + '4f723e2a5fa5b7b8a198072ac19b92344be2b271', |
James Robinson | ba1e658 | 2014-10-14 14:49:04 -0700 | [diff] [blame] | 156 | |
| 157 | 'src/third_party/freetype': |
| 158 | Var('chromium_git') + '/chromium/src/third_party/freetype.git' + '@' + 'a2b9955b49034a51dfbc8bf9f4e9d312149cecac', |
| 159 | }, |
Scott Graham | d19529d | 2014-11-03 15:04:31 -0800 | [diff] [blame] | 160 | 'win': { |
| 161 | 'src/third_party/nss': |
Scott Graham | 8f63fa9 | 2014-11-07 09:58:22 -0800 | [diff] [blame] | 162 | Var('chromium_git') + '/chromium/deps/nss.git' + '@' + Var('nss_revision'), |
Scott Graham | d19529d | 2014-11-03 15:04:31 -0800 | [diff] [blame] | 163 | 'src/third_party/bison': |
Scott Graham | 8f63fa9 | 2014-11-07 09:58:22 -0800 | [diff] [blame] | 164 | Var('chromium_git') + '/chromium/deps/bison.git' + '@' + '083c9a45e4affdd5464ee2b224c2df649c6e26c3', |
Scott Graham | d19529d | 2014-11-03 15:04:31 -0800 | [diff] [blame] | 165 | 'src/third_party/gperf': |
Scott Graham | 8f63fa9 | 2014-11-07 09:58:22 -0800 | [diff] [blame] | 166 | Var('chromium_git') + '/chromium/deps/gperf.git' + '@' + 'd892d79f64f9449770443fb06da49b5a1e5d33c1', |
Scott Graham | d19529d | 2014-11-03 15:04:31 -0800 | [diff] [blame] | 167 | } |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 168 | } |
| 169 | |
| 170 | |
| 171 | include_rules = [ |
| 172 | # Everybody can use some things. |
| 173 | '+base', |
| 174 | '+build', |
| 175 | |
| 176 | '+testing', |
| 177 | '+third_party/icu/source/common/unicode', |
| 178 | '+third_party/icu/source/i18n/unicode', |
| 179 | '+url', |
| 180 | ] |
| 181 | |
| 182 | |
| 183 | # checkdeps.py shouldn't check include paths for files in these dirs: |
| 184 | skip_child_includes = [ |
James Robinson | 76850ae | 2014-12-01 14:43:17 -0800 | [diff] [blame] | 185 | 'examples', |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 186 | 'sdch', |
James Robinson | 76850ae | 2014-12-01 14:43:17 -0800 | [diff] [blame] | 187 | 'services', |
James Robinson | b4b7af2 | 2014-12-05 11:21:01 -0800 | [diff] [blame] | 188 | 'shell', |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 189 | 'skia', |
James Robinson | 76850ae | 2014-12-01 14:43:17 -0800 | [diff] [blame] | 190 | 'sky', |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 191 | 'testing', |
| 192 | 'third_party', |
| 193 | ] |
| 194 | |
| 195 | |
| 196 | hooks = [ |
| 197 | { |
| 198 | # This clobbers when necessary (based on get_landmines.py). It must be the |
| 199 | # first hook so that other things that get/generate into the output |
| 200 | # directory will not subsequently be clobbered. |
| 201 | 'name': 'landmines', |
| 202 | 'pattern': '.', |
| 203 | 'action': [ |
| 204 | 'python', |
| 205 | 'src/build/landmines.py', |
| 206 | ], |
| 207 | }, |
| 208 | { |
| 209 | # Downloads an ARM sysroot image to src/arm-sysroot. This image updates |
| 210 | # at about the same rate that the chrome build deps change. |
| 211 | # This script is a no-op except for linux users who have |
| 212 | # target_arch=arm in their GYP_DEFINES. |
| 213 | 'name': 'sysroot', |
| 214 | 'pattern': '.', |
| 215 | 'action': ['python', 'src/build/linux/install-arm-sysroot.py', |
| 216 | '--linux-only'], |
| 217 | }, |
| 218 | { |
| 219 | # Pull clang if needed or requested via GYP_DEFINES. |
| 220 | 'name': 'clang', |
| 221 | 'pattern': '.', |
| 222 | 'action': ['python', 'src/tools/clang/scripts/update.py', '--if-needed'], |
| 223 | }, |
| 224 | { |
Scott Graham | d7f3bd8 | 2014-11-07 20:15:36 -0800 | [diff] [blame] | 225 | # Update the Windows toolchain if necessary. |
| 226 | 'name': 'win_toolchain', |
| 227 | 'pattern': '.', |
| 228 | 'action': ['python', 'src/build/vs_toolchain.py', 'update'], |
| 229 | }, |
| 230 | { |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 231 | # Update LASTCHANGE. This is also run by export_tarball.py in |
| 232 | # src/tools/export_tarball - please keep them in sync. |
| 233 | 'name': 'lastchange', |
| 234 | 'pattern': '.', |
| 235 | 'action': ['python', 'src/build/util/lastchange.py', |
| 236 | '-o', 'src/build/util/LASTCHANGE'], |
| 237 | }, |
| 238 | # Pull GN binaries. This needs to be before running GYP below. |
| 239 | { |
| 240 | 'name': 'gn_linux32', |
| 241 | 'pattern': '.', |
| 242 | 'action': [ 'download_from_google_storage', |
| 243 | '--no_resume', |
| 244 | '--platform=linux*', |
| 245 | '--no_auth', |
| 246 | '--bucket', 'chromium-gn', |
| 247 | '-s', 'src/buildtools/linux32/gn.sha1', |
| 248 | ], |
| 249 | }, |
| 250 | { |
| 251 | 'name': 'gn_linux64', |
| 252 | 'pattern': '.', |
| 253 | 'action': [ 'download_from_google_storage', |
| 254 | '--no_resume', |
| 255 | '--platform=linux*', |
| 256 | '--no_auth', |
| 257 | '--bucket', 'chromium-gn', |
| 258 | '-s', 'src/buildtools/linux64/gn.sha1', |
| 259 | ], |
| 260 | }, |
Scott Graham | d19529d | 2014-11-03 15:04:31 -0800 | [diff] [blame] | 261 | { |
| 262 | 'name': 'gn_win', |
| 263 | 'pattern': '.', |
| 264 | 'action': [ 'download_from_google_storage', |
| 265 | '--no_resume', |
| 266 | '--platform=win*', |
| 267 | '--no_auth', |
| 268 | '--bucket', 'chromium-gn', |
| 269 | '-s', 'src/buildtools/win/gn.exe.sha1', |
| 270 | ], |
| 271 | }, |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 272 | # Pull clang-format binaries using checked-in hashes. |
| 273 | { |
| 274 | 'name': 'clang_format_linux', |
| 275 | 'pattern': '.', |
| 276 | 'action': [ 'download_from_google_storage', |
| 277 | '--no_resume', |
| 278 | '--platform=linux*', |
| 279 | '--no_auth', |
| 280 | '--bucket', 'chromium-clang-format', |
| 281 | '-s', 'src/buildtools/linux64/clang-format.sha1', |
| 282 | ], |
| 283 | }, |
| 284 | # Pull binutils for linux, enabled debug fission for faster linking / |
| 285 | # debugging when used with clang on Ubuntu Precise. |
| 286 | # https://code.google.com/p/chromium/issues/detail?id=352046 |
| 287 | { |
| 288 | 'name': 'binutils', |
| 289 | 'pattern': 'src/third_party/binutils', |
| 290 | 'action': [ |
| 291 | 'python', |
| 292 | 'src/third_party/binutils/download.py', |
| 293 | ], |
| 294 | }, |
| 295 | # Pull eu-strip binaries using checked-in hashes. |
| 296 | { |
| 297 | 'name': 'eu-strip', |
| 298 | 'pattern': '.', |
| 299 | 'action': [ 'download_from_google_storage', |
| 300 | '--no_resume', |
| 301 | '--platform=linux*', |
| 302 | '--no_auth', |
| 303 | '--bucket', 'chromium-eu-strip', |
| 304 | '-s', 'src/build/linux/bin/eu-strip.sha1', |
| 305 | ], |
| 306 | }, |
James Robinson | 0c81e9b | 2014-10-03 15:32:44 -0700 | [diff] [blame] | 307 | { |
| 308 | # Ensure that we don't accidentally reference any .pyc files whose |
| 309 | # corresponding .py files have already been deleted. |
| 310 | 'name': 'remove_stale_pyc_files', |
| 311 | 'pattern': 'src/tools/.*\\.py', |
| 312 | 'action': [ |
| 313 | 'python', |
| 314 | 'src/tools/remove_stale_pyc_files.py', |
| 315 | 'src/tools', |
| 316 | ], |
| 317 | }, |
| 318 | ] |