blob: 969a2dd5d719787128e74a4344399037e64ae92c [file] [log] [blame]
Torne (Richard Coles)1e9bf3e2013-10-31 11:16:26 +00001# 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:
Torne (Richard Coles)0de60732014-05-15 12:16:31 +01007# python tools/deps2git/deps2git.py -o .DEPS.git -w <gclientdir>
Torne (Richard Coles)0de60732014-05-15 12:16:31 +01008# where <gcliendir> is the absolute path to the directory containing the
Primiano Tucci1320f922014-09-30 14:45:55 +01009# .gclient file (the parent of 'src').
Torne (Richard Coles)cedac222014-06-03 10:58:34 +010010#
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.
Torne (Richard Coles)1e9bf3e2013-10-31 11:16:26 +000016#
Torne (Richard Coles)58218062012-11-14 11:43:16 +000017# When adding a new dependency, please update the top-level .gitignore file
18# to list the dependency's destination directory.
19
20vars = {
21 # Use this googlecode_url variable only if there is an internal mirror for it.
22 # If you do not know, use the full path while defining your new deps entry.
Primiano Tucci1320f922014-09-30 14:45:55 +010023 'googlecode_url': 'http://%s.googlecode.com/svn',
24 'sourceforge_url': 'http://svn.code.sf.net/p/%(repo)s/code',
25 'llvm_url': 'http://src.chromium.org/llvm-project',
26 'llvm_git': 'https://llvm.googlesource.com',
27 'libcxx_revision': '48198f9110397fff47fe7c37cbfa296be7d44d3d',
28 'libcxxabi_revision': '4ad1009ab3a59fa7a6896d74d5e4de5885697f95',
29 'webkit_trunk': 'http://src.chromium.org/blink/trunk',
30 'webkit_revision': '889f35a63b23d86c0f318af9a65a875117811cfd', # from svn revision 182778
31 'chromium_git': 'https://chromium.googlesource.com',
32 'chromiumos_git': 'https://chromium.googlesource.com/chromiumos',
33 'pdfium_git': 'https://pdfium.googlesource.com',
34 'skia_git': 'https://skia.googlesource.com',
35 'boringssl_git': 'https://boringssl.googlesource.com',
36 'libvpx_revision': 'efe9712d52c2d216fb3d1ceb508b8148847a7e4b',
37 'sfntly_revision': '1bdaae8fc788a5ac8936d68bf24f37d977a13dac',
38 'skia_revision': 'b5fae93d72c7b6480f83fd8a7b534cd1fdfcd49a',
Torne (Richard Coles)58218062012-11-14 11:43:16 +000039 # Three lines of non-changing comments so that
40 # the commit queue can handle CLs rolling Skia
41 # and V8 without interference from each other.
Primiano Tucci1320f922014-09-30 14:45:55 +010042 'v8_branch': 'trunk',
43 'v8_revision': '5830436a84f7792f61451af9bccd991d923fe81c', # from svn revision 24223
Torne (Richard Coles)58218062012-11-14 11:43:16 +000044 # Three lines of non-changing comments so that
45 # the commit queue can handle CLs rolling WebRTC
46 # and V8 without interference from each other.
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +000047 # Three lines of non-changing comments so that
Torne (Richard Coles)0f1bc082013-11-06 12:27:47 +000048 # the commit queue can handle CLs rolling swarming_client
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +000049 # and whatever else without interference from each other.
Primiano Tucci1320f922014-09-30 14:45:55 +010050 'swarming_revision': '79940aeeec0ace78ade0fec27515850268761af5',
Torne (Richard Coles)a1401312014-03-18 10:20:56 +000051 # Three lines of non-changing comments so that
52 # the commit queue can handle CLs rolling ANGLE
53 # and whatever else without interference from each other.
Primiano Tucci1320f922014-09-30 14:45:55 +010054 "angle_revision": "df647a2a354d5dc9affdd6a982fccb6b95d361b0",
Torne (Richard Coles)cedac222014-06-03 10:58:34 +010055 # Three lines of non-changing comments so that
56 # the commit queue can handle CLs rolling build tools
57 # and whatever else without interference from each other.
Primiano Tucci1320f922014-09-30 14:45:55 +010058 'buildtools_revision': '56bc51aff4175d3fa27dcd0faa2c345ab046c8a5',
Torne (Richard Coles)cedac222014-06-03 10:58:34 +010059 # Three lines of non-changing comments so that
60 # the commit queue can handle CLs rolling PDFIum
61 # and whatever else without interference from each other.
Primiano Tucci1320f922014-09-30 14:45:55 +010062 'pdfium_revision': '7a649fe262d77f93ad3213f53e973a7665d95a23',
Torne (Richard Coles)6d86b772014-06-25 10:30:53 +010063 # Three lines of non-changing comments so that
64 # the commit queue can handle CLs rolling openmax_dl
65 # and whatever else without interference from each other.
Primiano Tucci1320f922014-09-30 14:45:55 +010066 'openmax_dl_revision': '79e64bc9243e5ff11822434cf39b9fabefff3bfb',
Ben Murdoch116680a2014-07-20 18:25:52 -070067 # Three lines of non-changing comments so that
68 # the commit queue can handle CLs rolling BoringSSL
69 # and whatever else without interference from each other.
Primiano Tucci1320f922014-09-30 14:45:55 +010070 'boringssl_revision': '01fe820ab957514f6b83e511492de1b3c03649d5',
71 # Three lines of non-changing comments so that
72 # the commit queue can handle CLs rolling nss
73 # and whatever else without interference from each other.
74 'nss_revision': '87b96db4268293187d7cf741907a6d5d1d8080e0',
75 # Three lines of non-changing comments so that
76 # the commit queue can handle CLs rolling google-toolbox-for-mac
77 # and whatever else without interference from each other.
78 'google_toolbox_for_mac_revision': 'a09526298f9dd1ec49d3b3ac5608d2a257b94cef',
79 # Three lines of non-changing comments so that
80 # the commit queue can handle CLs rolling lighttpd
81 # and whatever else without interference from each other.
82 'lighttpd_revision': '9dfa55d15937a688a92cbf2b7a8621b0927d06eb',
83 # Three lines of non-changing comments so that
84 # the commit queue can handle CLs rolling lss
85 # and whatever else without interference from each other.
86 'lss_revision': '952107fa7cea0daaabead28c0e92d579bee517eb',
87 # Three lines of non-changing comments so that
88 # the commit queue can handle CLs rolling NaCl
89 # and whatever else without interference from each other.
90 'nacl_revision': 'c65c1ed84d500015273d5e72c6ddcebc2a23f9b8', # from svn revision r13797
Torne (Richard Coles)58218062012-11-14 11:43:16 +000091}
92
Primiano Tucci1320f922014-09-30 14:45:55 +010093# Only these hosts are allowed for dependencies in this DEPS file.
94# If you need to add a new host, contact chrome infrastracture team.
95allowed_hosts = [
96 'chromium.googlesource.com',
97 'boringssl.googlesource.com',
98 'pdfium.googlesource.com',
99]
100
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000101deps = {
Primiano Tucci1320f922014-09-30 14:45:55 +0100102 'src/breakpad/src':
103 Var('chromium_git') + '/external/google-breakpad/src.git' + '@' + '35189355da4b65ed5e7692f790c240a9ab347731', # from svn revision 1387
Torne (Richard Coles)cedac222014-06-03 10:58:34 +0100104
Primiano Tucci1320f922014-09-30 14:45:55 +0100105 'src/buildtools':
106 Var('chromium_git') + '/chromium/buildtools.git' + '@' + Var('buildtools_revision'),
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000107
Primiano Tucci1320f922014-09-30 14:45:55 +0100108 'src/sdch/open-vcdiff':
109 Var('chromium_git') + '/external/open-vcdiff.git' + '@' + '438f2a5be6d809bc21611a94cd37bfc8c28ceb33', # from svn revision 41
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000110
Primiano Tucci1320f922014-09-30 14:45:55 +0100111 'src/testing/gtest':
112 Var('chromium_git') + '/external/googletest.git' + '@' + '4650552ff637bb44ecf7784060091cbed3252211', # from svn revision 692
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000113
Primiano Tucci1320f922014-09-30 14:45:55 +0100114 'src/testing/gmock':
115 Var('chromium_git') + '/external/googlemock.git' + '@' + '896ba0e03f520fb9b6ed582bde2bd00847e3c3f2', # from svn revision 485
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000116
Primiano Tucci1320f922014-09-30 14:45:55 +0100117 'src/third_party/angle':
118 Var('chromium_git') + '/angle/angle.git' + '@' + Var('angle_revision'),
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000119
Primiano Tucci1320f922014-09-30 14:45:55 +0100120 'src/third_party/colorama/src':
121 Var('chromium_git') + '/external/colorama.git' + '@' + '799604a1041e9b3bc5d2789ecbd7e8db2e18e6b8',
Torne (Richard Coles)f8ee7882014-06-20 14:52:04 +0100122
Primiano Tucci1320f922014-09-30 14:45:55 +0100123 'src/third_party/trace-viewer':
124 Var('chromium_git') + '/external/trace-viewer.git' + '@' + '76a4496033c164d8be9ee8c57f702b0859cb1911',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000125
Primiano Tucci1320f922014-09-30 14:45:55 +0100126 'src/third_party/WebKit':
127 Var('chromium_git') + '/chromium/blink.git' + '@' + Var('webkit_revision'),
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000128
Primiano Tucci1320f922014-09-30 14:45:55 +0100129 'src/third_party/icu':
130 Var('chromium_git') + '/chromium/deps/icu52.git' + '@' + 'd2abf6c1e1f986f4a8db0341b8a8c55c55ec1174', # from svn revision 292003
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000131
Primiano Tucci1320f922014-09-30 14:45:55 +0100132 'src/third_party/libexif/sources':
133 Var('chromium_git') + '/chromium/deps/libexif/sources.git' + '@' + 'ed98343daabd7b4497f97fda972e132e6877c48a',
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000134
Primiano Tucci1320f922014-09-30 14:45:55 +0100135 'src/third_party/hunspell':
136 Var('chromium_git') + '/chromium/deps/hunspell.git' + '@' + 'c956c0e97af00ef789afb2f64d02c9a5a50e6eb1',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000137
Primiano Tucci1320f922014-09-30 14:45:55 +0100138 'src/third_party/hunspell_dictionaries':
139 Var('chromium_git') + '/chromium/deps/hunspell_dictionaries.git' + '@' + '4560bdd463a3500e2334e85c8a0e9e5d5d6774e7',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000140
Primiano Tucci1320f922014-09-30 14:45:55 +0100141 'src/third_party/safe_browsing/testing':
142 Var('chromium_git') + '/external/google-safe-browsing/testing.git' + '@' + '9d7e8064f3ca2e45891470c9b5b1dce54af6a9d6',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000143
Primiano Tucci1320f922014-09-30 14:45:55 +0100144 'src/third_party/cacheinvalidation/src':
145 Var('chromium_git') + '/external/google-cache-invalidation-api/src.git' + '@' + 'c91bd9d9fed06bf440be64f87b94a2effdb32bc4', # from svn revision 341
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000146
Primiano Tucci1320f922014-09-30 14:45:55 +0100147 'src/third_party/leveldatabase/src':
148 Var('chromium_git') + '/external/leveldb.git' + '@' + '3f77584eb3f9754bbb7079070873ece3f30a1e6b',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000149
Primiano Tucci1320f922014-09-30 14:45:55 +0100150 'src/third_party/libc++/trunk':
151 Var('chromium_git') + '/chromium/llvm-project/libcxx.git' + '@' + Var('libcxx_revision'),
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000152
Primiano Tucci1320f922014-09-30 14:45:55 +0100153 'src/third_party/libc++abi/trunk':
154 Var('chromium_git') + '/chromium/llvm-project/libcxxabi.git' + '@' + Var('libcxxabi_revision'),
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000155
Primiano Tucci1320f922014-09-30 14:45:55 +0100156 'src/third_party/snappy/src':
157 Var('chromium_git') + '/external/snappy.git' + '@' + '762bb32f0c9d2f31ba4958c7c0933d22e80c20bf',
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000158
Primiano Tucci1320f922014-09-30 14:45:55 +0100159 'src/tools/grit':
160 Var('chromium_git') + '/external/grit-i18n.git' + '@' + '740badd5e3e44434a9a47b5d16749daac1e8ea80', # from svn revision 176
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000161
Primiano Tucci1320f922014-09-30 14:45:55 +0100162 'src/tools/gyp':
163 Var('chromium_git') + '/external/gyp.git' + '@' + '46282cedf40ff7fe803be4af357b9d59050f02e4', # from svn revision 1977
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000164
Primiano Tucci1320f922014-09-30 14:45:55 +0100165 'src/tools/swarming_client':
166 Var('chromium_git') + '/external/swarming.client.git' + '@' + Var('swarming_revision'),
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000167
Primiano Tucci1320f922014-09-30 14:45:55 +0100168 'src/v8':
169 Var('chromium_git') + '/v8/v8.git' + '@' + Var('v8_revision'),
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000170
Primiano Tucci1320f922014-09-30 14:45:55 +0100171 'src/native_client':
172 Var('chromium_git') + '/native_client/src/native_client.git' + '@' + Var('nacl_revision'),
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000173
Primiano Tucci1320f922014-09-30 14:45:55 +0100174 'src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin':
175 Var('chromium_git') + '/native_client/src/native_client/tests/prebuilt.git' + '@' + '3e17365176c94624f46cace174f61834b7f3c35d',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000176
Primiano Tucci1320f922014-09-30 14:45:55 +0100177 'src/third_party/sfntly/cpp/src':
178 Var('chromium_git') + '/external/sfntly/cpp/src.git' + '@' + Var('sfntly_revision'),
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000179
Primiano Tucci1320f922014-09-30 14:45:55 +0100180 'src/third_party/skia':
181 Var('chromium_git') + '/skia.git' + '@' + Var('skia_revision'),
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000182
Primiano Tucci1320f922014-09-30 14:45:55 +0100183 'src/third_party/ots':
184 Var('chromium_git') + '/external/ots.git' + '@' + '98897009f3ea8a5fa3e20a4a74977da7aaa8e61a',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000185
Primiano Tucci1320f922014-09-30 14:45:55 +0100186 'src/third_party/brotli/src':
187 Var('chromium_git') + '/external/font-compression-reference.git' + '@' + '6cef49677dc4c650ef6e3f56041e0a41803afa8c',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000188
Primiano Tucci1320f922014-09-30 14:45:55 +0100189 'src/tools/page_cycler/acid3':
190 Var('chromium_git') + '/chromium/deps/acid3.git' + '@' + '6be0a66a1ebd7ebc5abc1b2f405a945f6d871521',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000191
Primiano Tucci1320f922014-09-30 14:45:55 +0100192 'src/chrome/test/data/perf/canvas_bench':
193 Var('chromium_git') + '/chromium/canvas_bench.git' + '@' + 'a7b40ea5ae0239517d78845a5fc9b12976bfc732',
Torne (Richard Coles)a3f6a492013-12-18 16:25:09 +0000194
Primiano Tucci1320f922014-09-30 14:45:55 +0100195 'src/chrome/test/data/perf/frame_rate/content':
196 Var('chromium_git') + '/chromium/frame_rate/content.git' + '@' + 'c10272c88463efeef6bb19c9ec07c42bc8fe22b9',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000197
Primiano Tucci1320f922014-09-30 14:45:55 +0100198 'src/third_party/bidichecker':
199 Var('chromium_git') + '/external/bidichecker/lib.git' + '@' + '97f2aa645b74c28c57eca56992235c79850fa9e0',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000200
Primiano Tucci1320f922014-09-30 14:45:55 +0100201 'src/third_party/webgl/src':
202 Var('chromium_git') + '/external/khronosgroup/webgl.git' + '@' + 'b1a7210dc4034793e34a2149cb571e85700a85f2',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000203
Primiano Tucci1320f922014-09-30 14:45:55 +0100204 'src/third_party/swig/Lib':
205 Var('chromium_git') + '/chromium/deps/swig/Lib.git' + '@' + 'f2a695d52e61e6a8d967731434f165ed400f0d69',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000206
Primiano Tucci1320f922014-09-30 14:45:55 +0100207 'src/third_party/webdriver/pylib':
208 Var('chromium_git') + '/external/selenium/py.git' + '@' + '5fd78261a75fe08d27ca4835fb6c5ce4b42275bd',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000209
Primiano Tucci1320f922014-09-30 14:45:55 +0100210 'src/third_party/libvpx':
211 Var('chromium_git') + '/chromium/deps/libvpx.git' + '@' + Var('libvpx_revision'),
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000212
Primiano Tucci1320f922014-09-30 14:45:55 +0100213 'src/third_party/ffmpeg':
Ben Murdoch78901d12014-12-08 16:38:34 +0000214 Var('chromium_git') + '/chromium/third_party/ffmpeg.git' + '@' + '399d38b9baba60763e1db26be5d6a8577a4276f4',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000215
Primiano Tucci1320f922014-09-30 14:45:55 +0100216 'src/third_party/libjingle/source/talk':
217 Var('chromium_git') + '/external/webrtc/trunk/talk.git' + '@' + '40539b82d5a2c9bcf23d078e997ce0368160f5a3',
Torne (Richard Coles)b2df76e2013-05-13 16:52:09 +0100218
Primiano Tucci1320f922014-09-30 14:45:55 +0100219 'src/third_party/usrsctp/usrsctplib':
220 Var('chromium_git') + '/external/usrsctplib.git' + '@' + '8975bd5397c2ec97f50e0b87b544054e0536bfe1',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000221
Primiano Tucci1320f922014-09-30 14:45:55 +0100222 'src/third_party/libsrtp':
223 Var('chromium_git') + '/chromium/deps/libsrtp.git' + '@' + '98284c8600c73812ff4716a6ea157d1e11d417dc',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000224
Primiano Tucci1320f922014-09-30 14:45:55 +0100225 'src/third_party/yasm/source/patched-yasm':
226 Var('chromium_git') + '/chromium/deps/yasm/patched-yasm.git' + '@' + 'c960eb11ccda80b10ed50be39df4f0663b371d1d',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000227
Primiano Tucci1320f922014-09-30 14:45:55 +0100228 'src/third_party/libjpeg_turbo':
229 Var('chromium_git') + '/chromium/deps/libjpeg_turbo.git' + '@' + '034e9a9747e0983bc19808ea70e469bc8342081f',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000230
Primiano Tucci1320f922014-09-30 14:45:55 +0100231 'src/third_party/flac':
232 Var('chromium_git') + '/chromium/deps/flac.git' + '@' + '0635a091379d9677f1ddde5f2eec85d0f096f219',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000233
Primiano Tucci1320f922014-09-30 14:45:55 +0100234 'src/third_party/pyftpdlib/src':
235 Var('chromium_git') + '/external/pyftpdlib.git' + '@' + '2be6d65e31c7ee6320d059f581f05ae8d89d7e45',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000236
Primiano Tucci1320f922014-09-30 14:45:55 +0100237 'src/third_party/scons-2.0.1':
238 Var('chromium_git') + '/native_client/src/third_party/scons-2.0.1.git' + '@' + '1c1550e17fc26355d08627fbdec13d8291227067',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000239
Primiano Tucci1320f922014-09-30 14:45:55 +0100240 'src/third_party/webrtc':
241 Var('chromium_git') + '/external/webrtc/trunk/webrtc.git' + '@' + '53545bbfc47f2cddb7038395369a0dcd457c8b34',
Torne (Richard Coles)c2e0dbd2013-05-09 18:35:53 +0100242
Primiano Tucci1320f922014-09-30 14:45:55 +0100243 'src/third_party/openmax_dl':
244 Var('chromium_git') + '/external/webrtc/deps/third_party/openmax.git' + '@' + Var('openmax_dl_revision'),
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000245
Primiano Tucci1320f922014-09-30 14:45:55 +0100246 'src/third_party/jsoncpp/source/include':
247 Var('chromium_git') + '/external/jsoncpp/jsoncpp/include.git' + '@' + 'b0dd48e02b6e6248328db78a65b5c601f150c349',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000248
Primiano Tucci1320f922014-09-30 14:45:55 +0100249 'src/third_party/jsoncpp/source/src/lib_json':
250 Var('chromium_git') + '/external/jsoncpp/jsoncpp/src/lib_json.git' + '@' + 'a8caa51ba2f80971a45880425bf2ae864a786784',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000251
Primiano Tucci1320f922014-09-30 14:45:55 +0100252 'src/third_party/libyuv':
253 Var('chromium_git') + '/external/libyuv.git' + '@' + '455c66b4375d72984b79249616d0a708ad568894',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000254
Primiano Tucci1320f922014-09-30 14:45:55 +0100255 'src/third_party/smhasher/src':
256 Var('chromium_git') + '/external/smhasher.git' + '@' + 'e87738e57558e0ec472b2fc3a643b838e5b6e88f',
Torne (Richard Coles)f2477e02013-11-28 11:55:43 +0000257
Primiano Tucci1320f922014-09-30 14:45:55 +0100258 'src/third_party/libaddressinput/src':
259 Var('chromium_git') + '/external/libaddressinput.git' + '@' + '945d96387a716d0d82b195fa69a5e9a701249517', # from svn revision 334
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000260
Primiano Tucci1320f922014-09-30 14:45:55 +0100261 'src/third_party/libphonenumber/src/phonenumbers':
262 Var('chromium_git') + '/external/libphonenumber/cpp/src/phonenumbers.git' + '@' + '8d8b5b3b2035197795d27573d4cf566b5d9ad689',
263 'src/third_party/libphonenumber/src/test':
264 Var('chromium_git') + '/external/libphonenumber/cpp/test.git' + '@' + '883b7b86541d64b2691f7c0e65facb0b08db73e8',
265 'src/third_party/libphonenumber/src/resources':
266 Var('chromium_git') + '/external/libphonenumber/resources.git' + '@' + 'de095548d2ae828a414e01f3951bfefba902b4e4',
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000267
Primiano Tucci1320f922014-09-30 14:45:55 +0100268 'src/tools/deps2git':
269 Var('chromium_git') + '/chromium/tools/deps2git.git' + '@' + 'f04828eb0b5acd3e7ad983c024870f17f17b06d9',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000270
Primiano Tucci1320f922014-09-30 14:45:55 +0100271 'src/third_party/webpagereplay':
272 Var('chromium_git') + '/external/web-page-replay.git' + '@' + '2f7b704b8b567983c040f555d3e46f9766db8e87',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000273
Primiano Tucci1320f922014-09-30 14:45:55 +0100274 'src/third_party/pywebsocket/src':
275 Var('chromium_git') + '/external/pywebsocket/src.git' + '@' + 'cb349e87ddb30ff8d1fa1a89be39cec901f4a29c',
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000276
Primiano Tucci1320f922014-09-30 14:45:55 +0100277 'src/third_party/opus/src':
278 Var('chromium_git') + '/chromium/deps/opus.git' + '@' + 'cae696156f1e60006e39821e79a1811ae1933c69',
Torne (Richard Coles)868fa2f2013-06-11 10:57:03 +0100279
Primiano Tucci1320f922014-09-30 14:45:55 +0100280 'src/media/cdm/ppapi/api':
281 Var('chromium_git') + '/chromium/cdm.git' + '@' + '41c8183a3966a17b440dbe606cb2840e1b7ce884',
Torne (Richard Coles)3551c9c2013-08-23 16:39:15 +0100282
Primiano Tucci1320f922014-09-30 14:45:55 +0100283 'src/third_party/mesa/src':
284 Var('chromium_git') + '/chromium/deps/mesa.git' + '@' + '457812d99a213dedf1c4cd38018ff48118d0c44f',
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000285
Primiano Tucci1320f922014-09-30 14:45:55 +0100286 'src/third_party/cld_2/src':
287 Var('chromium_git') + '/external/cld2.git' + '@' + 'bb5c092e8c02dcc2319c5056aff2182199d51c2f',
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000288
Primiano Tucci1320f922014-09-30 14:45:55 +0100289 'src/chrome/browser/resources/pdf/html_office':
290 Var('chromium_git') + '/chromium/html-office-public.git' + '@' + 'eeff97614f65e0578529490d44d412032c3d7359',
Torne (Richard Coles)a1401312014-03-18 10:20:56 +0000291
Primiano Tucci1320f922014-09-30 14:45:55 +0100292 'src/third_party/libwebm/source':
293 Var('chromium_git') + '/webm/libwebm.git' + '@' + '0d4cb404ea4195e5e21d04db2c955615535ce62e',
Torne (Richard Coles)cedac222014-06-03 10:58:34 +0100294
Primiano Tucci1320f922014-09-30 14:45:55 +0100295 'src/third_party/pdfium':
296 'https://pdfium.googlesource.com/pdfium.git' + '@' + Var('pdfium_revision'),
Ben Murdoch116680a2014-07-20 18:25:52 -0700297
Primiano Tucci1320f922014-09-30 14:45:55 +0100298 'src/third_party/boringssl/src':
299 'https://boringssl.googlesource.com/boringssl.git' + '@' + Var('boringssl_revision'),
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000300}
301
302
303deps_os = {
Primiano Tucci1320f922014-09-30 14:45:55 +0100304 'win': {
305 'src/chrome/tools/test/reference_build/chrome_win':
306 Var('chromium_git') + '/chromium/reference_builds/chrome_win.git' + '@' + 'f8a3a845dfc845df6b14280f04f86a61959357ef',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000307
Primiano Tucci1320f922014-09-30 14:45:55 +0100308 'src/third_party/cygwin':
309 Var('chromium_git') + '/chromium/deps/cygwin.git' + '@' + 'c89e446b273697fadf3a10ff1007a97c0b7de6df',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000310
Primiano Tucci1320f922014-09-30 14:45:55 +0100311 'src/third_party/psyco_win32':
312 Var('chromium_git') + '/chromium/deps/psyco_win32.git' + '@' + 'f5af9f6910ee5a8075bbaeed0591469f1661d868',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000313
Primiano Tucci1320f922014-09-30 14:45:55 +0100314 'src/third_party/bison':
315 Var('chromium_git') + '/chromium/deps/bison.git' + '@' + '083c9a45e4affdd5464ee2b224c2df649c6e26c3',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000316
Primiano Tucci1320f922014-09-30 14:45:55 +0100317 'src/third_party/gperf':
318 Var('chromium_git') + '/chromium/deps/gperf.git' + '@' + 'd892d79f64f9449770443fb06da49b5a1e5d33c1',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000319
Primiano Tucci1320f922014-09-30 14:45:55 +0100320 'src/third_party/perl':
321 Var('chromium_git') + '/chromium/deps/perl.git' + '@' + 'ac0d98b5cee6c024b0cffeb4f8f45b6fc5ccdb78',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000322
Primiano Tucci1320f922014-09-30 14:45:55 +0100323 'src/third_party/lighttpd':
324 Var('chromium_git') + '/chromium/deps/lighttpd.git' + '@' + Var('lighttpd_revision'),
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000325
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000326 # Parses Windows PE/COFF executable format.
Primiano Tucci1320f922014-09-30 14:45:55 +0100327 'src/third_party/pefile':
328 Var('chromium_git') + '/external/pefile.git' + '@' + '72c6ae42396cb913bcab63c15585dc3b5c3f92f1',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000329
330 # NSS, for SSLClientSocketNSS.
Primiano Tucci1320f922014-09-30 14:45:55 +0100331 'src/third_party/nss':
332 Var('chromium_git') + '/chromium/deps/nss.git' + '@' + Var('nss_revision'),
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000333
Primiano Tucci1320f922014-09-30 14:45:55 +0100334 'src/third_party/swig/win':
335 Var('chromium_git') + '/chromium/deps/swig/win.git' + '@' + '986f013ba518541adf5c839811efb35630a31031',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000336
337 # GNU binutils assembler for x86-32.
Primiano Tucci1320f922014-09-30 14:45:55 +0100338 'src/third_party/gnu_binutils':
339 Var('chromium_git') + '/native_client/deps/third_party/gnu_binutils.git' + '@' + 'f4003433b61b25666565690caf3d7a7a1a4ec436',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000340 # GNU binutils assembler for x86-64.
Primiano Tucci1320f922014-09-30 14:45:55 +0100341 'src/third_party/mingw-w64/mingw/bin':
342 Var('chromium_git') + '/native_client/deps/third_party/mingw-w64/mingw/bin.git' + '@' + '3cc8b140b883a9fe4986d12cfd46c16a093d3527',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000343
344 # Dependencies used by libjpeg-turbo
Primiano Tucci1320f922014-09-30 14:45:55 +0100345 'src/third_party/yasm/binaries':
346 Var('chromium_git') + '/chromium/deps/yasm/binaries.git' + '@' + '52f9b3f4b0aa06da24ef8b123058bb61ee468881',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000347
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000348 # Binaries for nacl sdk.
Primiano Tucci1320f922014-09-30 14:45:55 +0100349 'src/third_party/nacl_sdk_binaries':
350 Var('chromium_git') + '/chromium/deps/nacl_sdk_binaries.git' + '@' + '759dfca03bdc774da7ecbf974f6e2b84f43699a5',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000351 },
Primiano Tucci1320f922014-09-30 14:45:55 +0100352 'ios': {
353 'src/third_party/google_toolbox_for_mac/src':
354 Var('chromium_git') + '/external/google-toolbox-for-mac.git' + '@' + Var('google_toolbox_for_mac_revision'),
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000355
Primiano Tucci1320f922014-09-30 14:45:55 +0100356 'src/third_party/nss':
357 Var('chromium_git') + '/chromium/deps/nss.git' + '@' + Var('nss_revision'),
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000358
359 # class-dump utility to generate header files for undocumented SDKs
Primiano Tucci1320f922014-09-30 14:45:55 +0100360 'src/testing/iossim/third_party/class-dump':
361 Var('chromium_git') + '/chromium/deps/class-dump.git' + '@' + '89bd40883c767584240b4dade8b74e6f57b9bdab',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000362
Torne (Richard Coles)868fa2f2013-06-11 10:57:03 +0100363 # Code that's not needed due to not building everything
Primiano Tucci1320f922014-09-30 14:45:55 +0100364 'src/build/util/support': None,
365 'src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin': None,
366 'src/chrome/test/data/perf/canvas_bench': None,
367 'src/chrome/test/data/perf/frame_rate/content': None,
368 'src/media/cdm/ppapi/api': None,
369 'src/native_client': None,
370 'src/third_party/bidichecker': None,
371 'src/third_party/brotli/src': None,
372 'src/third_party/cld_2/src': None,
373 'src/third_party/ffmpeg': None,
374 'src/third_party/hunspell_dictionaries': None,
375 'src/third_party/hunspell': None,
376 'src/third_party/libc++/trunk': None,
377 'src/third_party/libc++abi/trunk': None,
378 'src/third_party/libexif/sources': None,
379 'src/third_party/libjpeg_turbo': None,
380 'src/third_party/libsrtp': None,
381 'src/third_party/opus/src': None,
382 'src/third_party/openmax_dl': None,
383 'src/third_party/ots': None,
384 'src/third_party/pymox/src': None,
385 'src/third_party/safe_browsing/testing': None,
386 'src/third_party/scons-2.0.1': None,
387 'src/third_party/sfntly/cpp/src': None,
Primiano Tucci1320f922014-09-30 14:45:55 +0100388 'src/third_party/swig/Lib': None,
389 'src/third_party/usrsctp/usrsctplib': None,
390 'src/third_party/v8-i18n': None,
391 'src/third_party/webdriver/pylib': None,
392 'src/third_party/webgl': None,
393 'src/third_party/webpagereplay': None,
394 'src/third_party/WebKit/LayoutTests/w3c/web-platform-tests': None,
395 'src/third_party/WebKit/LayoutTests/w3c/csswg-test': None,
396 'src/third_party/yasm/source/patched-yasm': None,
397 'src/tools/page_cycler/acid3': None,
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000398 },
Primiano Tucci1320f922014-09-30 14:45:55 +0100399 'mac': {
400 'src/chrome/tools/test/reference_build/chrome_mac':
401 Var('chromium_git') + '/chromium/reference_builds/chrome_mac.git' + '@' + '8dc181329e7c5255f83b4b85dc2f71498a237955',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000402
Primiano Tucci1320f922014-09-30 14:45:55 +0100403 'src/third_party/google_toolbox_for_mac/src':
404 Var('chromium_git') + '/external/google-toolbox-for-mac.git' + '@' + Var('google_toolbox_for_mac_revision'),
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000405
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000406
Primiano Tucci1320f922014-09-30 14:45:55 +0100407 'src/third_party/pdfsqueeze':
408 Var('chromium_git') + '/external/pdfsqueeze.git' + '@' + '5936b871e6a087b7e50d4cbcb122378d8a07499f',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000409
Primiano Tucci1320f922014-09-30 14:45:55 +0100410 'src/third_party/lighttpd':
411 Var('chromium_git') + '/chromium/deps/lighttpd.git' + '@' + Var('lighttpd_revision'),
412
413 'src/third_party/swig/mac':
414 Var('chromium_git') + '/chromium/deps/swig/mac.git' + '@' + '1b182eef16df2b506f1d710b34df65d55c1ac44e',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000415
416 # NSS, for SSLClientSocketNSS.
Primiano Tucci1320f922014-09-30 14:45:55 +0100417 'src/third_party/nss':
418 Var('chromium_git') + '/chromium/deps/nss.git' + '@' + Var('nss_revision'),
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000419
Primiano Tucci1320f922014-09-30 14:45:55 +0100420 'src/chrome/installer/mac/third_party/xz/xz':
421 Var('chromium_git') + '/chromium/deps/xz.git' + '@' + 'eecaf55632ca72e90eb2641376bce7cdbc7284f7',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000422 },
Primiano Tucci1320f922014-09-30 14:45:55 +0100423 'unix': {
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000424 # Linux, really.
Primiano Tucci1320f922014-09-30 14:45:55 +0100425 'src/chrome/tools/test/reference_build/chrome_linux':
426 Var('chromium_git') + '/chromium/reference_builds/chrome_linux64.git' + '@' + '033d053a528e820e1de3e2db766678d862a86b36',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000427
Primiano Tucci1320f922014-09-30 14:45:55 +0100428 'src/third_party/xdg-utils':
429 Var('chromium_git') + '/chromium/deps/xdg-utils.git' + '@' + 'd80274d5869b17b8c9067a1022e4416ee7ed5e0d',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000430
Primiano Tucci1320f922014-09-30 14:45:55 +0100431 'src/third_party/swig/linux':
432 Var('chromium_git') + '/chromium/deps/swig/linux.git' + '@' + '866b8e0e0e0cfe99ebe608260030916ca0c3f92d',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000433
Primiano Tucci1320f922014-09-30 14:45:55 +0100434 'src/third_party/lss':
435 Var('chromium_git') + '/external/linux-syscall-support/lss.git' + '@' + Var('lss_revision'),
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000436
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000437 # For Linux and Chromium OS.
Primiano Tucci1320f922014-09-30 14:45:55 +0100438 'src/third_party/cros_system_api':
439 Var('chromium_git') + '/chromiumos/platform/system_api.git' + '@' + 'f0fc55329fa536195861778a2ddc6115b4a977bc',
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000440
441 # Note that this is different from Android's freetype repo.
Primiano Tucci1320f922014-09-30 14:45:55 +0100442 'src/third_party/freetype2/src':
443 Var('chromium_git') + '/chromium/src/third_party/freetype2.git' + '@' + 'd699c2994ecc178c4ed05ac2086061b2034c2178',
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000444
Torne (Richard Coles)5f1c9432014-08-12 13:47:38 +0100445 # Build tools for Chrome OS.
Primiano Tucci1320f922014-09-30 14:45:55 +0100446 'src/third_party/chromite':
447 Var('chromium_git') + '/chromiumos/chromite.git' + '@' + '8e92d5c24da7967e27ab2498abc2d2f7ac6ec65a',
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000448
449 # Dependency of chromite.git.
Primiano Tucci1320f922014-09-30 14:45:55 +0100450 'src/third_party/pyelftools':
451 Var('chromium_git') + '/chromiumos/third_party/pyelftools.git' + '@' + 'bdc1d380acd88d4bfaf47265008091483b0d614e',
Torne (Richard Coles)7d4cd472013-06-19 11:58:07 +0100452
Primiano Tucci1320f922014-09-30 14:45:55 +0100453 'src/third_party/undoview':
454 Var('chromium_git') + '/chromium/deps/undoview.git' + '@' + '3ba503e248f3cdbd81b78325a24ece0984637559',
Torne (Richard Coles)f2477e02013-11-28 11:55:43 +0000455
Primiano Tucci1320f922014-09-30 14:45:55 +0100456 'src/third_party/liblouis/src':
457 Var('chromium_git') + '/external/liblouis-github.git' + '@' + '5f9c03f2a3478561deb6ae4798175094be8a26c2',
Torne (Richard Coles)f2477e02013-11-28 11:55:43 +0000458
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000459 # Used for embedded builds. CrOS & Linux use the system version.
Primiano Tucci1320f922014-09-30 14:45:55 +0100460 'src/third_party/fontconfig/src':
461 Var('chromium_git') + '/external/fontconfig.git' + '@' + 'f16c3118e25546c1b749f9823c51827a60aeb5c1',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000462 },
Primiano Tucci1320f922014-09-30 14:45:55 +0100463 'android': {
464 'src/third_party/android_protobuf/src':
465 Var('chromium_git') + '/external/android_protobuf.git' + '@' + '94f522f907e3f34f70d9e7816b947e62fddbb267',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000466
Primiano Tucci1320f922014-09-30 14:45:55 +0100467 # Whenever you roll this please also change frameworks/webview in
468 # src/android_webview/buildbot/aosp_manifest.xml to point to the same revision.
469 'src/third_party/android_webview_glue/src':
mkosiba4ccfafb2014-10-13 05:33:00 -0700470 Var('chromium_git') + '/external/android_webview_glue.git' + '@' + '7d62eab4ca242beacac4471c002e998ef5c218b8',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000471
Primiano Tucci1320f922014-09-30 14:45:55 +0100472 'src/third_party/android_tools':
473 Var('chromium_git') + '/android_tools.git' + '@' + 'd2b86205ff973a3844020feacb35ca6b1d82efbe',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000474
Primiano Tucci1320f922014-09-30 14:45:55 +0100475 'src/third_party/apache-mime4j':
476 Var('chromium_git') + '/chromium/deps/apache-mime4j.git' + '@' + '28cb1108bff4b6cf0a2e86ff58b3d025934ebe3a',
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000477
Primiano Tucci1320f922014-09-30 14:45:55 +0100478 'src/third_party/findbugs':
479 Var('chromium_git') + '/chromium/deps/findbugs.git' + '@' + '7f69fa78a6db6dc31866d09572a0e356e921bf12',
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000480
Primiano Tucci1320f922014-09-30 14:45:55 +0100481 'src/third_party/freetype':
482 Var('chromium_git') + '/chromium/src/third_party/freetype.git' + '@' + 'a2b9955b49034a51dfbc8bf9f4e9d312149cecac',
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000483
Primiano Tucci1320f922014-09-30 14:45:55 +0100484 'src/third_party/elfutils/src':
485 Var('chromium_git') + '/external/elfutils.git' + '@' + '249673729a7e5dbd5de4f3760bdcaa3d23d154d7',
Torne (Richard Coles)cedac222014-06-03 10:58:34 +0100486
Primiano Tucci1320f922014-09-30 14:45:55 +0100487 'src/third_party/httpcomponents-client':
488 Var('chromium_git') + '/chromium/deps/httpcomponents-client.git' + '@' + '285c4dafc5de0e853fa845dce5773e223219601c',
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000489
Primiano Tucci1320f922014-09-30 14:45:55 +0100490 'src/third_party/httpcomponents-core':
491 Var('chromium_git') + '/chromium/deps/httpcomponents-core.git' + '@' + '9f7180a96f8fa5cab23f793c14b413356d419e62',
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000492
Primiano Tucci1320f922014-09-30 14:45:55 +0100493 'src/third_party/jarjar':
494 Var('chromium_git') + '/chromium/deps/jarjar.git' + '@' + '2e1ead4c68c450e0b77fe49e3f9137842b8b6920',
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000495
Primiano Tucci1320f922014-09-30 14:45:55 +0100496 'src/third_party/jsr-305/src':
497 Var('chromium_git') + '/external/jsr-305.git' + '@' + '642c508235471f7220af6d5df2d3210e3bfc0919',
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000498
Primiano Tucci1320f922014-09-30 14:45:55 +0100499 'src/third_party/junit/src':
500 Var('chromium_git') + '/external/junit.git' + '@' + 'c62e2df8dbecccb1b434d4ba8843b59e90b03266',
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000501
Primiano Tucci1320f922014-09-30 14:45:55 +0100502 'src/third_party/lss':
503 Var('chromium_git') + '/external/linux-syscall-support/lss.git' + '@' + Var('lss_revision'),
504
505 'src/third_party/eyesfree/src/android/java/src/com/googlecode/eyesfree/braille':
506 Var('chromium_git') + '/external/eyes-free/braille/client/src/com/googlecode/eyesfree/braille.git' + '@' + '77bf6edb0138e3a38a2772248696f130dab45e34',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000507 },
508}
509
510
511include_rules = [
512 # Everybody can use some things.
Primiano Tucci1320f922014-09-30 14:45:55 +0100513 '+base',
514 '+build',
515 '+ipc',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000516
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000517 # Everybody can use headers generated by tools/generate_library_loader.
Primiano Tucci1320f922014-09-30 14:45:55 +0100518 '+library_loaders',
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000519
Primiano Tucci1320f922014-09-30 14:45:55 +0100520 '+testing',
521 '+third_party/icu/source/common/unicode',
522 '+third_party/icu/source/i18n/unicode',
523 '+url',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000524]
525
526
527# checkdeps.py shouldn't check include paths for files in these dirs:
528skip_child_includes = [
Primiano Tucci1320f922014-09-30 14:45:55 +0100529 'breakpad',
530 'delegate_execute',
531 'metro_driver',
532 'native_client_sdk',
533 'o3d',
534 'sdch',
535 'skia',
536 'testing',
537 'third_party',
538 'v8',
539 'win8',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000540]
541
542
543hooks = [
544 {
Torne (Richard Coles)6e8cce62014-08-19 13:00:08 +0100545 # This clobbers when necessary (based on get_landmines.py). It must be the
546 # first hook so that other things that get/generate into the output
547 # directory will not subsequently be clobbered.
Primiano Tucci1320f922014-09-30 14:45:55 +0100548 'name': 'landmines',
549 'pattern': '.',
550 'action': [
551 'python',
552 'src/build/landmines.py',
Torne (Richard Coles)6e8cce62014-08-19 13:00:08 +0100553 ],
554 },
555 {
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000556 # This downloads binaries for Native Client's newlib toolchain.
557 # Done in lieu of building the toolchain from scratch as it can take
558 # anywhere from 30 minutes to 4 hours depending on platform to build.
Primiano Tucci1320f922014-09-30 14:45:55 +0100559 'name': 'nacltools',
560 'pattern': '.',
561 'action': [
562 'python', 'src/build/download_nacl_toolchains.py',
563 '--exclude', 'arm_trusted',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000564 ],
565 },
566 {
Torne (Richard Coles)b2df76e2013-05-13 16:52:09 +0100567 # Downloads an ARM sysroot image to src/arm-sysroot. This image updates
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000568 # at about the same rate that the chrome build deps change.
569 # This script is a no-op except for linux users who have
Torne (Richard Coles)b2df76e2013-05-13 16:52:09 +0100570 # target_arch=arm in their GYP_DEFINES.
Primiano Tucci1320f922014-09-30 14:45:55 +0100571 'name': 'sysroot',
572 'pattern': '.',
573 'action': ['python', 'src/build/linux/install-arm-sysroot.py',
574 '--linux-only'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000575 },
576 {
Torne (Richard Coles)7d4cd472013-06-19 11:58:07 +0100577 # Downloads the Debian Wheezy sysroot to chrome/installer/linux if needed.
578 # This sysroot updates at about the same rate that the chrome build deps
579 # change. This script is a no-op except for linux users who are doing
580 # official chrome builds.
Primiano Tucci1320f922014-09-30 14:45:55 +0100581 'name': 'sysroot',
582 'pattern': '.',
583 'action': [
584 'python',
585 'src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py',
586 '--linux-only',
587 '--arch=amd64'],
Torne (Richard Coles)7d4cd472013-06-19 11:58:07 +0100588 },
589 {
590 # Same as above, but for 32-bit Linux.
Primiano Tucci1320f922014-09-30 14:45:55 +0100591 'name': 'sysroot',
592 'pattern': '.',
593 'action': [
594 'python',
595 'src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py',
596 '--linux-only',
597 '--arch=i386'],
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000598 },
599 {
Ben Murdochc5cede92014-04-10 11:22:14 +0100600 # Update the Windows toolchain if necessary.
Primiano Tucci1320f922014-09-30 14:45:55 +0100601 'name': 'win_toolchain',
602 'pattern': '.',
603 'action': ['python', 'src/build/vs_toolchain.py', 'update'],
604 },
605 {
606 # Pull clang if needed or requested via GYP_DEFINES.
607 # Note: On Win, this should run after win_toolchain, as it may use it.
608 'name': 'clang',
609 'pattern': '.',
610 'action': ['python', 'src/tools/clang/scripts/update.py', '--if-needed'],
Ben Murdochc5cede92014-04-10 11:22:14 +0100611 },
612 {
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000613 # Update LASTCHANGE. This is also run by export_tarball.py in
614 # src/tools/export_tarball - please keep them in sync.
Primiano Tucci1320f922014-09-30 14:45:55 +0100615 'name': 'lastchange',
616 'pattern': '.',
617 'action': ['python', 'src/build/util/lastchange.py',
618 '-o', 'src/build/util/LASTCHANGE'],
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000619 },
620 {
Torne (Richard Coles)868fa2f2013-06-11 10:57:03 +0100621 # Update LASTCHANGE.blink. This is also run by export_tarball.py in
622 # src/tools/export_tarball - please keep them in sync.
Primiano Tucci1320f922014-09-30 14:45:55 +0100623 'name': 'lastchange',
624 'pattern': '.',
625 'action': ['python', 'src/build/util/lastchange.py',
626 '-s', 'src/third_party/WebKit',
627 '-o', 'src/build/util/LASTCHANGE.blink'],
Torne (Richard Coles)868fa2f2013-06-11 10:57:03 +0100628 },
Torne (Richard Coles)23730a62014-03-21 14:25:57 +0000629 # Pull GN binaries. This needs to be before running GYP below.
630 {
Primiano Tucci1320f922014-09-30 14:45:55 +0100631 'name': 'gn_win',
632 'pattern': '.',
633 'action': [ 'download_from_google_storage',
634 '--no_resume',
635 '--platform=win32',
636 '--no_auth',
637 '--bucket', 'chromium-gn',
638 '-s', 'src/buildtools/win/gn.exe.sha1',
Torne (Richard Coles)23730a62014-03-21 14:25:57 +0000639 ],
640 },
641 {
Primiano Tucci1320f922014-09-30 14:45:55 +0100642 'name': 'gn_mac',
643 'pattern': '.',
644 'action': [ 'download_from_google_storage',
645 '--no_resume',
646 '--platform=darwin',
647 '--no_auth',
648 '--bucket', 'chromium-gn',
649 '-s', 'src/buildtools/mac/gn.sha1',
Torne (Richard Coles)f8ee7882014-06-20 14:52:04 +0100650 ],
651 },
652 {
Primiano Tucci1320f922014-09-30 14:45:55 +0100653 'name': 'gn_linux32',
654 'pattern': '.',
655 'action': [ 'download_from_google_storage',
656 '--no_resume',
657 '--platform=linux*',
658 '--no_auth',
659 '--bucket', 'chromium-gn',
660 '-s', 'src/buildtools/linux32/gn.sha1',
Torne (Richard Coles)f8ee7882014-06-20 14:52:04 +0100661 ],
662 },
663 {
Primiano Tucci1320f922014-09-30 14:45:55 +0100664 'name': 'gn_linux64',
665 'pattern': '.',
666 'action': [ 'download_from_google_storage',
667 '--no_resume',
668 '--platform=linux*',
669 '--no_auth',
670 '--bucket', 'chromium-gn',
671 '-s', 'src/buildtools/linux64/gn.sha1',
Torne (Richard Coles)f8ee7882014-06-20 14:52:04 +0100672 ],
673 },
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000674 # Pull clang-format binaries using checked-in hashes.
675 {
Primiano Tucci1320f922014-09-30 14:45:55 +0100676 'name': 'clang_format_win',
677 'pattern': '.',
678 'action': [ 'download_from_google_storage',
679 '--no_resume',
680 '--platform=win32',
681 '--no_auth',
682 '--bucket', 'chromium-clang-format',
683 '-s', 'src/buildtools/win/clang-format.exe.sha1',
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000684 ],
685 },
686 {
Primiano Tucci1320f922014-09-30 14:45:55 +0100687 'name': 'clang_format_mac',
688 'pattern': '.',
689 'action': [ 'download_from_google_storage',
690 '--no_resume',
691 '--platform=darwin',
692 '--no_auth',
693 '--bucket', 'chromium-clang-format',
694 '-s', 'src/buildtools/mac/clang-format.sha1',
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000695 ],
696 },
697 {
Primiano Tucci1320f922014-09-30 14:45:55 +0100698 'name': 'clang_format_linux',
699 'pattern': '.',
700 'action': [ 'download_from_google_storage',
701 '--no_resume',
702 '--platform=linux*',
703 '--no_auth',
704 '--bucket', 'chromium-clang-format',
705 '-s', 'src/buildtools/linux64/clang-format.sha1',
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000706 ],
707 },
Ben Murdochc5cede92014-04-10 11:22:14 +0100708 # Pull binutils for linux, enabled debug fission for faster linking /
709 # debugging when used with clang on Ubuntu Precise.
710 # https://code.google.com/p/chromium/issues/detail?id=352046
711 {
Primiano Tucci1320f922014-09-30 14:45:55 +0100712 'name': 'binutils',
713 'pattern': 'src/third_party/binutils',
714 'action': [
715 'python',
716 'src/third_party/binutils/download.py',
Ben Murdochc5cede92014-04-10 11:22:14 +0100717 ],
718 },
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000719 # Pull eu-strip binaries using checked-in hashes.
720 {
Primiano Tucci1320f922014-09-30 14:45:55 +0100721 'name': 'eu-strip',
722 'pattern': '.',
723 'action': [ 'download_from_google_storage',
724 '--no_resume',
725 '--platform=linux*',
726 '--no_auth',
727 '--bucket', 'chromium-eu-strip',
728 '-s', 'src/build/linux/bin/eu-strip.sha1',
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000729 ],
730 },
Torne (Richard Coles)46d4c2b2014-06-09 12:00:27 +0100731 {
Primiano Tucci1320f922014-09-30 14:45:55 +0100732 'name': 'drmemory',
733 'pattern': '.',
734 'action': [ 'download_from_google_storage',
735 '--no_resume',
736 '--platform=win32',
737 '--no_auth',
738 '--bucket', 'chromium-drmemory',
739 '-s', 'src/third_party/drmemory/drmemory-windows-sfx.exe.sha1',
Torne (Richard Coles)46d4c2b2014-06-09 12:00:27 +0100740 ],
741 },
Torne (Richard Coles)f8ee7882014-06-20 14:52:04 +0100742 # Pull the Syzygy binaries, used for optimization and instrumentation.
743 {
Primiano Tucci1320f922014-09-30 14:45:55 +0100744 'name': 'syzygy-binaries',
745 'pattern': '.',
746 'action': ['python',
747 'src/build/get_syzygy_binaries.py',
748 '--output-dir=src/third_party/syzygy/binaries',
749 '--revision=363bc02a09c380b6f5f397606cc0744d85d54a51',
750 '--overwrite',
Torne (Richard Coles)f8ee7882014-06-20 14:52:04 +0100751 ],
752 },
753 {
Primiano Tucci1320f922014-09-30 14:45:55 +0100754 'name': 'apache_win32',
755 'pattern': '\\.sha1',
756 'action': [ 'download_from_google_storage',
757 '--no_resume',
758 '--platform=win32',
759 '--directory',
760 '--recursive',
761 '--no_auth',
762 '--num_threads=16',
763 '--bucket', 'chromium-apache-win32',
764 'src/third_party/apache-win32',
Torne (Richard Coles)f8ee7882014-06-20 14:52:04 +0100765 ],
766 },
Torne (Richard Coles)868fa2f2013-06-11 10:57:03 +0100767 {
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000768 # A change to a .gyp, .gypi, or to GYP itself should run the generator.
Primiano Tucci1320f922014-09-30 14:45:55 +0100769 'name': 'gyp',
770 'pattern': '.',
771 'action': ['python', 'src/build/gyp_chromium'],
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000772 },
Torne (Richard Coles)03b57e02014-08-28 12:05:23 +0100773 {
774 # Verify committers' ~/.netc, gclient and git are properly configured for
775 # write access to the git repo. To be removed sometime after Chrome to git
776 # migration completes (let's say Sep 1 2014).
Primiano Tucci1320f922014-09-30 14:45:55 +0100777 'name': 'check_git_config',
778 'pattern': '.',
779 'action': [
780 'python',
781 'src/tools/check_git_config.py',
782 '--running-as-hook',
783 ],
784 },
785 {
786 # Ensure that we don't accidentally reference any .pyc files whose
787 # corresponding .py files have already been deleted.
788 'name': 'remove_stale_pyc_files',
789 'pattern': 'src/tools/.*\\.py',
790 'action': [
791 'python',
792 'src/tools/remove_stale_pyc_files.py',
793 'src/tools',
Torne (Richard Coles)03b57e02014-08-28 12:05:23 +0100794 ],
795 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000796]