blob: 22f9112448c6f2f9dd55af26614dbdcbf23b15a7 [file] [log] [blame]
James Robinson0c81e9b2014-10-03 15:32:44 -07001# 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
20vars = {
Adam Barth0352f982014-10-30 09:38:46 -070021 'chromium_git': 'https://chromium.googlesource.com',
James Robinson0c81e9b2014-10-03 15:32:44 -070022 'libcxx_revision': '48198f9110397fff47fe7c37cbfa296be7d44d3d',
23 'libcxxabi_revision': '4ad1009ab3a59fa7a6896d74d5e4de5885697f95',
James Robinson0c81e9b2014-10-03 15:32:44 -070024 'sfntly_revision': '1bdaae8fc788a5ac8936d68bf24f37d977a13dac',
Przemyslaw Pietrzkiewiczea77f0b2014-12-10 15:35:08 +010025 'skia_revision': 'f9d09c969f8ffa664bc5cd40a71077e3dc46e0aa',
James Robinson51b982b2014-10-06 11:06:50 -070026 # 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 Pietrzkiewiczea77f0b2014-12-10 15:35:08 +010029 'v8_revision': '49dd4474ba5b874fd2ac982be8c34d09052dcd85',
James Robinson0c81e9b2014-10-03 15:32:44 -070030 # 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 Robinsond2015d92014-12-08 13:45:40 -080033 "angle_revision": "16545669136028420f67ac496c45c2e9a32ed5a9",
James Robinson0c81e9b2014-10-03 15:32:44 -070034 # 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 Pietrzkiewiczea77f0b2014-12-10 15:35:08 +010037 'buildtools_revision': '05dd6a24723170d7c6ff35b537ee02947f619891',
James Robinson0c81e9b2014-10-03 15:32:44 -070038 # Three lines of non-changing comments so that
John Abd-El-Malek7cd059b2014-10-29 11:00:40 -070039 # the commit queue can handle CLs rolling PDFium
40 # and whatever else without interference from each other.
James Robinson6a64b812014-12-03 13:38:42 -080041 'pdfium_revision': 'ef619d0562b39f30943cfdc4985a0df233d00e42',
John Abd-El-Malek7cd059b2014-10-29 11:00:40 -070042 # Three lines of non-changing comments so that
James Robinson0c81e9b2014-10-03 15:32:44 -070043 # the commit queue can handle CLs rolling BoringSSL
44 # and whatever else without interference from each other.
Przemyslaw Pietrzkiewiczea77f0b2014-12-10 15:35:08 +010045 'boringssl_revision': '306e520cda7d2f0afee9ba634dae629f994b096c',
James Robinson0c81e9b2014-10-03 15:32:44 -070046 # 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 Grahamd19529d2014-11-03 15:04:31 -080050 # 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 Robinson6a64b812014-12-03 13:38:42 -080053 'nss_revision': 'bb4e75a43d007518ae7d618665ea2f25b0c60b63',
James Robinson0c81e9b2014-10-03 15:32:44 -070054}
55
56# Only these hosts are allowed for dependencies in this DEPS file.
Zachary Anderson309b11c2014-11-12 08:07:54 -080057# If you need to add a new host, contact chrome infrastructure team.
James Robinson0c81e9b2014-10-03 15:32:44 -070058allowed_hosts = [
59 'chromium.googlesource.com',
60 'boringssl.googlesource.com',
61 'pdfium.googlesource.com',
62]
63
64deps = {
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 Robinsondf7315a2014-11-21 18:35:48 -080072 Var('chromium_git') + '/external/googletest.git' + '@' + '8245545b6dc9c4703e6496d1efd19e975ad2b038', # from svn revision 700
James Robinson0c81e9b2014-10-03 15:32:44 -070073
74 'src/testing/gmock':
James Robinsondf7315a2014-11-21 18:35:48 -080075 Var('chromium_git') + '/external/googlemock.git' + '@' + '29763965ab52f24565299976b936d1265cb6a271', # from svn revision 501
James Robinson0c81e9b2014-10-03 15:32:44 -070076
77 'src/third_party/angle':
78 Var('chromium_git') + '/angle/angle.git' + '@' + Var('angle_revision'),
79
80 'src/third_party/icu':
James Robinsond2015d92014-12-08 13:45:40 -080081 Var('chromium_git') + '/chromium/deps/icu.git' + '@' + '53ecf0f68b27a004bef5526553b8e5f6c235b80b',
James Robinson0c81e9b2014-10-03 15:32:44 -070082
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 Robinsond2015d92014-12-08 13:45:40 -080090 Var('chromium_git') + '/external/grit-i18n.git' + '@' + 'ba706f5aa055960b40927d7e5b42186acac9c5e6', # from svn revision 184
James Robinson0c81e9b2014-10-03 15:32:44 -070091
James Robinson51b982b2014-10-06 11:06:50 -070092 'src/v8':
93 Var('chromium_git') + '/v8/v8.git' + '@' + Var('v8_revision'),
94
James Robinson0c81e9b2014-10-03 15:32:44 -070095 '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 Barth86cb1c72014-10-21 14:31:34 -0700104 'src/third_party/brotli/src':
James Robinson6a64b812014-12-03 13:38:42 -0800105 Var('chromium_git') + '/external/font-compression-reference.git' + '@' + '8c9c83426beb4a58da34be76ea1fccb4054c4703',
Adam Barth86cb1c72014-10-21 14:31:34 -0700106
James Robinson0c81e9b2014-10-03 15:32:44 -0700107 'src/third_party/yasm/source/patched-yasm':
James Robinson6a64b812014-12-03 13:38:42 -0800108 Var('chromium_git') + '/chromium/deps/yasm/patched-yasm.git' + '@' + '4671120cd8558ce62ee8672ebf3eb6f5216f909b',
James Robinson0c81e9b2014-10-03 15:32:44 -0700109
110 'src/third_party/libjpeg_turbo':
111 Var('chromium_git') + '/chromium/deps/libjpeg_turbo.git' + '@' + '034e9a9747e0983bc19808ea70e469bc8342081f',
112
James Robinson0c81e9b2014-10-03 15:32:44 -0700113 '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-Malek7cd059b2014-10-29 11:00:40 -0700122 'src/third_party/pdfium':
123 'https://pdfium.googlesource.com/pdfium.git' + '@' + Var('pdfium_revision'),
124
James Robinson0c81e9b2014-10-03 15:32:44 -0700125 'src/third_party/boringssl/src':
126 'https://boringssl.googlesource.com/boringssl.git' + '@' + Var('boringssl_revision'),
John Abd-El-Malek9eb76f92014-11-07 20:45:44 -0800127
128 'src/tools/gyp':
James Robinson6a64b812014-12-03 13:38:42 -0800129 Var('chromium_git') + '/external/gyp.git' + '@' + 'fe00999dfaee449d3465a9316778434884da4fa7', # from svn revision 2010
James Robinson0c81e9b2014-10-03 15:32:44 -0700130}
131
132
133deps_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 Robinson0c81e9b2014-10-03 15:32:44 -0700139 # Note that this is different from Android's freetype repo.
140 'src/third_party/freetype2/src':
James Robinson2153f142014-10-15 13:22:00 -0700141 Var('chromium_git') + '/chromium/src/third_party/freetype2.git' + '@' + '495a23fce9cd125f715dc20643d14fed226d76ac',
James Robinson0c81e9b2014-10-03 15:32:44 -0700142
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 Robinsonba1e6582014-10-14 14:49:04 -0700147 '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 Robinson6a64b812014-12-03 13:38:42 -0800155 Var('chromium_git') + '/android_tools.git' + '@' + '4f723e2a5fa5b7b8a198072ac19b92344be2b271',
James Robinsonba1e6582014-10-14 14:49:04 -0700156
157 'src/third_party/freetype':
158 Var('chromium_git') + '/chromium/src/third_party/freetype.git' + '@' + 'a2b9955b49034a51dfbc8bf9f4e9d312149cecac',
159 },
Scott Grahamd19529d2014-11-03 15:04:31 -0800160 'win': {
161 'src/third_party/nss':
Scott Graham8f63fa92014-11-07 09:58:22 -0800162 Var('chromium_git') + '/chromium/deps/nss.git' + '@' + Var('nss_revision'),
Scott Grahamd19529d2014-11-03 15:04:31 -0800163 'src/third_party/bison':
Scott Graham8f63fa92014-11-07 09:58:22 -0800164 Var('chromium_git') + '/chromium/deps/bison.git' + '@' + '083c9a45e4affdd5464ee2b224c2df649c6e26c3',
Scott Grahamd19529d2014-11-03 15:04:31 -0800165 'src/third_party/gperf':
Scott Graham8f63fa92014-11-07 09:58:22 -0800166 Var('chromium_git') + '/chromium/deps/gperf.git' + '@' + 'd892d79f64f9449770443fb06da49b5a1e5d33c1',
Scott Grahamd19529d2014-11-03 15:04:31 -0800167 }
James Robinson0c81e9b2014-10-03 15:32:44 -0700168}
169
170
171include_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:
184skip_child_includes = [
James Robinson76850ae2014-12-01 14:43:17 -0800185 'examples',
James Robinson0c81e9b2014-10-03 15:32:44 -0700186 'sdch',
James Robinson76850ae2014-12-01 14:43:17 -0800187 'services',
James Robinsonb4b7af22014-12-05 11:21:01 -0800188 'shell',
James Robinson0c81e9b2014-10-03 15:32:44 -0700189 'skia',
James Robinson76850ae2014-12-01 14:43:17 -0800190 'sky',
James Robinson0c81e9b2014-10-03 15:32:44 -0700191 'testing',
192 'third_party',
193]
194
195
196hooks = [
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 Grahamd7f3bd82014-11-07 20:15:36 -0800225 # Update the Windows toolchain if necessary.
226 'name': 'win_toolchain',
227 'pattern': '.',
228 'action': ['python', 'src/build/vs_toolchain.py', 'update'],
229 },
230 {
James Robinson0c81e9b2014-10-03 15:32:44 -0700231 # 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 Grahamd19529d2014-11-03 15:04:31 -0800261 {
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 Robinson0c81e9b2014-10-03 15:32:44 -0700272 # 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 Robinson0c81e9b2014-10-03 15:32:44 -0700307 {
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]