Make checkdeps.py check third_party.
[chromium-blink-merge.git] / DEPS
blob7230a8020eadf425c51062950e9e83cb4999da78
1 # This file is used to manage the dependencies of the Chromium src repo. It is
2 # used by gclient to determine what version of each dependency to check out, and
3 # where.
5 # For more information, please refer to the official documentation:
6 #   https://sites.google.com/a/chromium.org/dev/developers/how-tos/get-the-code
8 # When adding a new dependency, please update the top-level .gitignore file
9 # to list the dependency's destination directory.
11 # -----------------------------------------------------------------------------
12 # Rolling deps
13 # -----------------------------------------------------------------------------
14 # All repositories in this file are git-based, using Chromium git mirrors where
15 # necessary (e.g., a git mirror is used when the source project is SVN-based).
16 # To update the revision that Chromium pulls for a given dependency:
18 #  # Create and switch to a new branch
19 #  git new-branch depsroll
20 #  # Run roll-dep (provided by depot_tools) giving the dep's path and the
21 #  # desired SVN revision number (e.g., third_party/foo/bar and a revision such
22 #  # number from Subversion)
23 #  roll-dep third_party/foo/bar REVISION_NUMBER
24 #  # You should now have a modified DEPS file; commit and upload as normal
25 #  git commit -a
26 #  git cl upload
29 vars = {
30   # Use this googlecode_url variable only if there is an internal mirror for it.
31   # If you do not know, use the full path while defining your new deps entry.
32   'googlecode_url': 'http://%s.googlecode.com/svn',
33   'sourceforge_url': 'http://svn.code.sf.net/p/%(repo)s/code',
34   'llvm_url': 'http://src.chromium.org/llvm-project',
35   'llvm_git': 'https://llvm.googlesource.com',
36   'webkit_trunk': 'http://src.chromium.org/blink/trunk',
37   'webkit_revision': '8fae678b8d52232ae04e2d7a39e413e0bacdcc0d', # from svn revision 192952
38   'chromium_git': 'https://chromium.googlesource.com',
39   'chromiumos_git': 'https://chromium.googlesource.com/chromiumos',
40   'pdfium_git': 'https://pdfium.googlesource.com',
41   'skia_git': 'https://skia.googlesource.com',
42   'boringssl_git': 'https://boringssl.googlesource.com',
43   'libvpx_revision': '861f35b01c87a021540aace739cb7415c08e987b',
44   'sfntly_revision': '1bdaae8fc788a5ac8936d68bf24f37d977a13dac',
45   'skia_revision': '2469c999518e7b0063d35e9e2eb074a0477c21ac',
46   # Three lines of non-changing comments so that
47   # the commit queue can handle CLs rolling Skia
48   # and V8 without interference from each other.
49   'v8_branch': 'trunk',
50   'v8_revision': '818985545b161e720dddb6c92309fb4f8b6888ba',
51   # Three lines of non-changing comments so that
52   # the commit queue can handle CLs rolling WebRTC
53   # and V8 without interference from each other.
54   # Three lines of non-changing comments so that
55   # the commit queue can handle CLs rolling swarming_client
56   # and whatever else without interference from each other.
57   'swarming_revision': '13e7c88b5a9494467259603486f001694ea85721',
58   # Three lines of non-changing comments so that
59   # the commit queue can handle CLs rolling ANGLE
60   # and whatever else without interference from each other.
61   'angle_revision': '1ea584c562b74e0a5bb7420d702fb613195175b5',
62   # Three lines of non-changing comments so that
63   # the commit queue can handle CLs rolling build tools
64   # and whatever else without interference from each other.
65   'buildtools_revision': '3b302fef93f7cc58d9b8168466905237484b2772',
66   # Three lines of non-changing comments so that
67   # the commit queue can handle CLs rolling PDFium
68   # and whatever else without interference from each other.
69   'pdfium_revision': 'e3dd159edee8cf2eec3f30f77ef6830597c1bc2f',
70   # Three lines of non-changing comments so that
71   # the commit queue can handle CLs rolling openmax_dl
72   # and whatever else without interference from each other.
73   'openmax_dl_revision': '0b238cb62c32b6f45680cf577eddb1b051ae0219',
74   # Three lines of non-changing comments so that
75   # the commit queue can handle CLs rolling BoringSSL
76   # and whatever else without interference from each other.
77   'boringssl_revision': 'e2e13265ff9cb637f8d0cdefc27b13370848472f',
78   # Three lines of non-changing comments so that
79   # the commit queue can handle CLs rolling nss
80   # and whatever else without interference from each other.
81   'nss_revision': 'bb4e75a43d007518ae7d618665ea2f25b0c60b63',
82   # Three lines of non-changing comments so that
83   # the commit queue can handle CLs rolling google-toolbox-for-mac
84   # and whatever else without interference from each other.
85   'google_toolbox_for_mac_revision': '17eee6933bb4a978bf045ef1b12fc68f15b08cd2', # from svn revision 703
86   # Three lines of non-changing comments so that
87   # the commit queue can handle CLs rolling lighttpd
88   # and whatever else without interference from each other.
89   'lighttpd_revision': '9dfa55d15937a688a92cbf2b7a8621b0927d06eb',
90   # Three lines of non-changing comments so that
91   # the commit queue can handle CLs rolling lss
92   # and whatever else without interference from each other.
93   'lss_revision': 'e079768b7e3a94dcbe7d338496c0c3bde7151b6e',
94   # Three lines of non-changing comments so that
95   # the commit queue can handle CLs rolling NaCl
96   # and whatever else without interference from each other.
97   'nacl_revision': '21fcf74d38f5e16d579c4c113050194119f3b29c',
100 # Only these hosts are allowed for dependencies in this DEPS file.
101 # If you need to add a new host, contact chrome infrastracture team.
102 allowed_hosts = [
103   'chromium.googlesource.com',
104   'boringssl.googlesource.com',
105   'pdfium.googlesource.com',
106   'android.googlesource.com',
109 deps = {
110   'src/breakpad/src':
111    Var('chromium_git') + '/external/google-breakpad/src.git' + '@' + '2c37c225e729d6ada72d5ffd808406db9c916985', # from svn revision 1434
113   'src/buildtools':
114    Var('chromium_git') + '/chromium/buildtools.git' + '@' +  Var('buildtools_revision'),
116   'src/sdch/open-vcdiff':
117    Var('chromium_git') + '/external/open-vcdiff.git' + '@' + '438f2a5be6d809bc21611a94cd37bfc8c28ceb33', # from svn revision 41
119   'src/testing/gtest':
120    Var('chromium_git') + '/external/googletest.git' + '@' + 'be1868139ffe0ccd0e8e3b37292b84c821d9c8ad', # from svn revision 704
122   'src/testing/gmock':
123    Var('chromium_git') + '/external/googlemock.git' + '@' + '29763965ab52f24565299976b936d1265cb6a271', # from svn revision 501
125   'src/third_party/angle':
126    Var('chromium_git') + '/angle/angle.git' + '@' +  Var('angle_revision'),
128   'src/third_party/colorama/src':
129    Var('chromium_git') + '/external/colorama.git' + '@' + '799604a1041e9b3bc5d2789ecbd7e8db2e18e6b8',
131   'src/third_party/crashpad/crashpad':
132    Var('chromium_git') + '/crashpad/crashpad.git' + '@' + '5d0a133ecd6625f30c6491d502f12f26a0bef32d',
134   'src/third_party/trace-viewer':
135    Var('chromium_git') + '/external/trace-viewer.git' + '@' + 'ff20313e37892c3c7f20c88bb22ab6f6e65659ae',
137   'src/third_party/WebKit':
138    Var('chromium_git') + '/chromium/blink.git' + '@' +  Var('webkit_revision'),
140   'src/third_party/icu':
141    Var('chromium_git') + '/chromium/deps/icu.git' + '@' + '46be516de5c83aa0b7b3b75be669b48e7a803290',
143   'src/third_party/libexif/sources':
144    Var('chromium_git') + '/chromium/deps/libexif/sources.git' + '@' + 'ed98343daabd7b4497f97fda972e132e6877c48a',
146   'src/third_party/hunspell':
147    Var('chromium_git') + '/chromium/deps/hunspell.git' + '@' + 'c956c0e97af00ef789afb2f64d02c9a5a50e6eb1',
149   'src/third_party/hunspell_dictionaries':
150    Var('chromium_git') + '/chromium/deps/hunspell_dictionaries.git' + '@' + '80796932b89ab36431399d76c5b8391ea471e30a', # from svn revision 294404
152   'src/third_party/safe_browsing/testing':
153     Var('chromium_git') + '/external/google-safe-browsing/testing.git' + '@' + '9d7e8064f3ca2e45891470c9b5b1dce54af6a9d6',
155   'src/third_party/cacheinvalidation/src':
156     Var('chromium_git') + '/external/google-cache-invalidation-api/src.git' + '@' + '0fbfe801cca467fa986ebe08d34012342aa47e55', # from svn revision 342
158   'src/third_party/leveldatabase/src':
159     Var('chromium_git') + '/external/leveldb.git' + '@' + '251ebf5dc70129ad3c38193fe6c99a5b0ec6b9fa',
161   'src/third_party/snappy/src':
162     Var('chromium_git') + '/external/snappy.git' + '@' + '762bb32f0c9d2f31ba4958c7c0933d22e80c20bf',
164   'src/tools/grit':
165     Var('chromium_git') + '/external/grit-i18n.git' + '@' + 'c1b1591a05209c1ad467e845ba8543c22f9072af', # from svn revision 189
167   'src/tools/gyp':
168     Var('chromium_git') + '/external/gyp.git' + '@' + 'd174d75bf69c682cb62af9187879e01513b35e52',
170   'src/tools/swarming_client':
171    Var('chromium_git') + '/external/swarming.client.git' + '@' +  Var('swarming_revision'),
173   'src/v8':
174     Var('chromium_git') + '/v8/v8.git' + '@' +  Var('v8_revision'),
176   'src/native_client':
177    Var('chromium_git') + '/native_client/src/native_client.git' + '@' + Var('nacl_revision'),
179   'src/third_party/sfntly/cpp/src':
180     Var('chromium_git') + '/external/sfntly/cpp/src.git' + '@' +  Var('sfntly_revision'),
182   'src/third_party/skia':
183    Var('chromium_git') + '/skia.git' + '@' +  Var('skia_revision'),
185   'src/tools/page_cycler/acid3':
186    Var('chromium_git') + '/chromium/deps/acid3.git' + '@' + '6be0a66a1ebd7ebc5abc1b2f405a945f6d871521',
188   'src/chrome/test/data/perf/canvas_bench':
189    Var('chromium_git') + '/chromium/canvas_bench.git' + '@' + 'a7b40ea5ae0239517d78845a5fc9b12976bfc732',
191   'src/chrome/test/data/perf/frame_rate/content':
192    Var('chromium_git') + '/chromium/frame_rate/content.git' + '@' + 'c10272c88463efeef6bb19c9ec07c42bc8fe22b9',
194   'src/third_party/bidichecker':
195     Var('chromium_git') + '/external/bidichecker/lib.git' + '@' + '97f2aa645b74c28c57eca56992235c79850fa9e0',
197   'src/third_party/webgl/src':
198    Var('chromium_git') + '/external/khronosgroup/webgl.git' + '@' + '0c2bcf36a740181f50ce94a0eaad357219441dee',
200   'src/third_party/swig/Lib':
201    Var('chromium_git') + '/chromium/deps/swig/Lib.git' + '@' + 'f2a695d52e61e6a8d967731434f165ed400f0d69',
203   'src/third_party/webdriver/pylib':
204     Var('chromium_git') + '/external/selenium/py.git' + '@' + '5fd78261a75fe08d27ca4835fb6c5ce4b42275bd',
206   'src/third_party/libvpx':
207    Var('chromium_git') + '/chromium/deps/libvpx.git' + '@' +  Var('libvpx_revision'),
209   'src/third_party/ffmpeg':
210    Var('chromium_git') + '/chromium/third_party/ffmpeg.git' + '@' + '104f872faf2cd809cdada885a1e39be85e5b3316',
212   'src/third_party/libjingle/source/talk':
213     Var('chromium_git') + '/external/webrtc/trunk/talk.git' + '@' + '038f92328e5301cb388752c80f983b801f3c8475', # commit position 8905
215   'src/third_party/usrsctp/usrsctplib':
216     Var('chromium_git') + '/external/usrsctplib.git' + '@' + '36444a999739e9e408f8f587cb4c3ffeef2e50ac', # from svn revision 9215
218   'src/third_party/libsrtp':
219    Var('chromium_git') + '/chromium/deps/libsrtp.git' + '@' + '6446144c7f083552f21cc4e6768e891bcb767574',
221   'src/third_party/yasm/source/patched-yasm':
222    Var('chromium_git') + '/chromium/deps/yasm/patched-yasm.git' + '@' + '4671120cd8558ce62ee8672ebf3eb6f5216f909b',
224   'src/third_party/libjpeg_turbo':
225    Var('chromium_git') + '/chromium/deps/libjpeg_turbo.git' + '@' + '034e9a9747e0983bc19808ea70e469bc8342081f',
227   'src/third_party/flac':
228    Var('chromium_git') + '/chromium/deps/flac.git' + '@' + '0635a091379d9677f1ddde5f2eec85d0f096f219',
230   'src/third_party/pyftpdlib/src':
231     Var('chromium_git') + '/external/pyftpdlib.git' + '@' + '2be6d65e31c7ee6320d059f581f05ae8d89d7e45',
233   'src/third_party/scons-2.0.1':
234    Var('chromium_git') + '/native_client/src/third_party/scons-2.0.1.git' + '@' + '1c1550e17fc26355d08627fbdec13d8291227067',
236   'src/third_party/webrtc':
237     Var('chromium_git') + '/external/webrtc/trunk/webrtc.git' + '@' + '5195090802b01591951424c217b9d9e7df43cb65', # commit position 8909
239   'src/third_party/openmax_dl':
240     Var('chromium_git') + '/external/webrtc/deps/third_party/openmax.git' + '@' +  Var('openmax_dl_revision'),
242   'src/third_party/jsoncpp/source/include':
243     Var('chromium_git') + '/external/jsoncpp/jsoncpp/include.git' + '@' + 'b0dd48e02b6e6248328db78a65b5c601f150c349',
245   'src/third_party/jsoncpp/source/src/lib_json':
246     Var('chromium_git') + '/external/jsoncpp/jsoncpp/src/lib_json.git' + '@' + 'a8caa51ba2f80971a45880425bf2ae864a786784',
248   'src/third_party/libyuv':
249     Var('chromium_git') + '/external/libyuv.git' + '@' + 'd204db647e591ccf0e2589236ecea90330d65a66', # from svn revision 1171
251   'src/third_party/smhasher/src':
252     Var('chromium_git') + '/external/smhasher.git' + '@' + 'e87738e57558e0ec472b2fc3a643b838e5b6e88f',
254   'src/third_party/libaddressinput/src':
255     Var('chromium_git') + '/external/libaddressinput.git' + '@' + '61f63da7ae6fa469138d60dec5d6bbecc6ab43d6',
257   # These are all at libphonenumber r728.
258   'src/third_party/libphonenumber/src/phonenumbers':
259     Var('chromium_git') + '/external/libphonenumber/cpp/src/phonenumbers.git' + '@' + '0d6e3e50e17c94262ad1ca3b7d52b11223084bca',
260   'src/third_party/libphonenumber/src/test':
261     Var('chromium_git') + '/external/libphonenumber/cpp/test.git' + '@' + 'f351a7e007f9c9995494499120bbc361ca808a16',
262   'src/third_party/libphonenumber/src/resources':
263     Var('chromium_git') + '/external/libphonenumber/resources.git' + '@' + 'b6dfdc7952571ff7ee72643cd88c988cbe966396',
265   'src/tools/deps2git':
266    Var('chromium_git') + '/chromium/tools/deps2git.git' + '@' + 'f04828eb0b5acd3e7ad983c024870f17f17b06d9',
268   'src/third_party/webpagereplay':
269    Var('chromium_git') + '/external/github.com/chromium/web-page-replay.git' + '@' + '94d7e2a265facfbb0570a9a7fd6c335c774ee866',
271   'src/third_party/pywebsocket/src':
272     Var('chromium_git') + '/external/pywebsocket/src.git' + '@' + 'cb349e87ddb30ff8d1fa1a89be39cec901f4a29c',
274   'src/third_party/opus/src':
275    Var('chromium_git') + '/chromium/deps/opus.git' + '@' + 'cae696156f1e60006e39821e79a1811ae1933c69',
277   'src/media/cdm/ppapi/api':
278    Var('chromium_git') + '/chromium/cdm.git' + '@' + '7377023e384f296cbb27644eb2c485275f1f92e8', # from svn revision 294518
280   'src/third_party/mesa/src':
281    Var('chromium_git') + '/chromium/deps/mesa.git' + '@' + '071d25db04c23821a12a8b260ab9d96a097402f0',
283   'src/third_party/cld_2/src':
284     Var('chromium_git') + '/external/cld2.git' + '@' + '14d9ef8d4766326f8aa7de54402d1b9c782d4481', # from svn revision 193
286   'src/third_party/pdfium':
287    'https://pdfium.googlesource.com/pdfium.git' + '@' +  Var('pdfium_revision'),
289   'src/third_party/boringssl/src':
290    'https://boringssl.googlesource.com/boringssl.git' + '@' +  Var('boringssl_revision'),
292   'src/third_party/py_trace_event/src':
293     Var('chromium_git') + '/external/py_trace_event.git' + '@' + 'dd463ea9e2c430de2b9e53dea57a77b4c3ac9b30',
295   'src/third_party/dom_distiller_js/dist':
296     Var('chromium_git') + '/external/github.com/chromium/dom-distiller-dist.git' + '@' + '419c7e659cf1b35763d5e6ce4a757fe15f4f37db',
300 deps_os = {
301   'win': {
302     'src/chrome/tools/test/reference_build/chrome_win':
303      Var('chromium_git') + '/chromium/reference_builds/chrome_win.git' + '@' + 'f8a3a845dfc845df6b14280f04f86a61959357ef',
305     'src/third_party/cygwin':
306      Var('chromium_git') + '/chromium/deps/cygwin.git' + '@' + 'c89e446b273697fadf3a10ff1007a97c0b7de6df',
308     'src/third_party/psyco_win32':
309      Var('chromium_git') + '/chromium/deps/psyco_win32.git' + '@' + 'f5af9f6910ee5a8075bbaeed0591469f1661d868',
311     'src/third_party/bison':
312      Var('chromium_git') + '/chromium/deps/bison.git' + '@' + '083c9a45e4affdd5464ee2b224c2df649c6e26c3',
314     'src/third_party/gperf':
315      Var('chromium_git') + '/chromium/deps/gperf.git' + '@' + 'd892d79f64f9449770443fb06da49b5a1e5d33c1',
317     'src/third_party/perl':
318      Var('chromium_git') + '/chromium/deps/perl.git' + '@' + 'ac0d98b5cee6c024b0cffeb4f8f45b6fc5ccdb78',
320     'src/third_party/lighttpd':
321      Var('chromium_git') + '/chromium/deps/lighttpd.git' + '@' + Var('lighttpd_revision'),
323     # Parses Windows PE/COFF executable format.
324     'src/third_party/pefile':
325      Var('chromium_git') + '/external/pefile.git' + '@' + '72c6ae42396cb913bcab63c15585dc3b5c3f92f1',
327     # NSS, for SSLClientSocketNSS.
328     'src/third_party/nss':
329      Var('chromium_git') + '/chromium/deps/nss.git' + '@' + Var('nss_revision'),
331     'src/third_party/swig/win':
332      Var('chromium_git') + '/chromium/deps/swig/win.git' + '@' + '986f013ba518541adf5c839811efb35630a31031',
334     # GNU binutils assembler for x86-32.
335     'src/third_party/gnu_binutils':
336       Var('chromium_git') + '/native_client/deps/third_party/gnu_binutils.git' + '@' + 'f4003433b61b25666565690caf3d7a7a1a4ec436',
337     # GNU binutils assembler for x86-64.
338     'src/third_party/mingw-w64/mingw/bin':
339       Var('chromium_git') + '/native_client/deps/third_party/mingw-w64/mingw/bin.git' + '@' + '3cc8b140b883a9fe4986d12cfd46c16a093d3527',
341     # Dependencies used by libjpeg-turbo
342     'src/third_party/yasm/binaries':
343      Var('chromium_git') + '/chromium/deps/yasm/binaries.git' + '@' + '52f9b3f4b0aa06da24ef8b123058bb61ee468881',
345     # Binaries for nacl sdk.
346     'src/third_party/nacl_sdk_binaries':
347      Var('chromium_git') + '/chromium/deps/nacl_sdk_binaries.git' + '@' + '759dfca03bdc774da7ecbf974f6e2b84f43699a5',
349     # Omaha code for src/app_installer/.
350     'src/third_party/omaha/src/omaha':
351      Var('chromium_git') + '/external/omaha.git' + '@' + '098c7a3d157218dab4eed595e8f2fbe5a20a0bae',
352   },
353   'ios': {
354     'src/ios/third_party/gcdwebserver/src':
355      Var('chromium_git') + '/external/github.com/swisspol/GCDWebServer.git' + '@' + '18889793b75d7ee593d62ac88997caad850acdb6',
357     'src/third_party/google_toolbox_for_mac/src':
358       Var('chromium_git') + '/external/google-toolbox-for-mac.git' + '@' + Var('google_toolbox_for_mac_revision'),
360     'src/third_party/nss':
361      Var('chromium_git') + '/chromium/deps/nss.git' + '@' + Var('nss_revision'),
363     # class-dump utility to generate header files for undocumented SDKs
364     'src/testing/iossim/third_party/class-dump':
365      Var('chromium_git') + '/chromium/deps/class-dump.git' + '@' + '89bd40883c767584240b4dade8b74e6f57b9bdab',
367     # Code that's not needed due to not building everything
368     'src/chrome/test/data/perf/canvas_bench': None,
369     'src/chrome/test/data/perf/frame_rate/content': None,
370     'src/native_client': None,
371     'src/third_party/ffmpeg': None,
372     'src/third_party/hunspell_dictionaries': None,
373     'src/third_party/hunspell': None,
374     'src/third_party/webgl': None,
375   },
376   'mac': {
377     'src/chrome/tools/test/reference_build/chrome_mac':
378      Var('chromium_git') + '/chromium/reference_builds/chrome_mac.git' + '@' + '8dc181329e7c5255f83b4b85dc2f71498a237955',
380     'src/third_party/google_toolbox_for_mac/src':
381       Var('chromium_git') + '/external/google-toolbox-for-mac.git' + '@' + Var('google_toolbox_for_mac_revision'),
384     'src/third_party/pdfsqueeze':
385       Var('chromium_git') + '/external/pdfsqueeze.git' + '@' + '5936b871e6a087b7e50d4cbcb122378d8a07499f',
387     'src/third_party/lighttpd':
388      Var('chromium_git') + '/chromium/deps/lighttpd.git' + '@' + Var('lighttpd_revision'),
390     'src/third_party/swig/mac':
391      Var('chromium_git') + '/chromium/deps/swig/mac.git' + '@' + '1b182eef16df2b506f1d710b34df65d55c1ac44e',
393     # NSS, for SSLClientSocketNSS.
394     'src/third_party/nss':
395      Var('chromium_git') + '/chromium/deps/nss.git' + '@' + Var('nss_revision'),
397     'src/chrome/installer/mac/third_party/xz/xz':
398      Var('chromium_git') + '/chromium/deps/xz.git' + '@' + 'eecaf55632ca72e90eb2641376bce7cdbc7284f7',
399   },
400   'unix': {
401     # Linux, really.
402     'src/chrome/tools/test/reference_build/chrome_linux':
403      Var('chromium_git') + '/chromium/reference_builds/chrome_linux64.git' + '@' + '033d053a528e820e1de3e2db766678d862a86b36',
405     'src/third_party/xdg-utils':
406      Var('chromium_git') + '/chromium/deps/xdg-utils.git' + '@' + 'd80274d5869b17b8c9067a1022e4416ee7ed5e0d',
408     'src/third_party/swig/linux':
409      Var('chromium_git') + '/chromium/deps/swig/linux.git' + '@' + '866b8e0e0e0cfe99ebe608260030916ca0c3f92d',
411     'src/third_party/lss':
412       Var('chromium_git') + '/external/linux-syscall-support/lss.git' + '@' + Var('lss_revision'),
414     # For Linux and Chromium OS.
415     'src/third_party/cros_system_api':
416      Var('chromium_git') + '/chromiumos/platform/system_api.git' + '@' + '95c486f3d3da2cb4e6564f1cd69ab522cf315ea1',
418     # Note that this is different from Android's freetype repo.
419     'src/third_party/freetype2/src':
420      Var('chromium_git') + '/chromium/src/third_party/freetype2.git' + '@' + '495a23fce9cd125f715dc20643d14fed226d76ac',
422     # Build tools for Chrome OS.
423     'src/third_party/chromite':
424      Var('chromium_git') + '/chromiumos/chromite.git' + '@' + 'fdc9440cb96f8de35202abc285ffb896e04292d3',
426     # Dependency of chromite.git.
427     'src/third_party/pyelftools':
428      Var('chromium_git') + '/chromiumos/third_party/pyelftools.git' + '@' + '19b3e610c86fcadb837d252c794cb5e8008826ae',
430     'src/third_party/undoview':
431      Var('chromium_git') + '/chromium/deps/undoview.git' + '@' + '3ba503e248f3cdbd81b78325a24ece0984637559',
433     'src/third_party/liblouis/src':
434      Var('chromium_git') + '/external/liblouis-github.git' + '@' + '5f9c03f2a3478561deb6ae4798175094be8a26c2',
436     # Used for embedded builds. CrOS & Linux use the system version.
437     'src/third_party/fontconfig/src':
438      Var('chromium_git') + '/external/fontconfig.git' + '@' + 'f16c3118e25546c1b749f9823c51827a60aeb5c1',
440     'src/third_party/stp/src':
441      Var('chromium_git') + '/external/github.com/stp/stp.git' + '@' + 'fc94a599207752ab4d64048204f0c88494811b62',
442   },
443   'android': {
444     'src/third_party/android_protobuf/src':
445      Var('chromium_git') + '/external/android_protobuf.git' + '@' + '94f522f907e3f34f70d9e7816b947e62fddbb267',
447     'src/third_party/android_tools':
448      Var('chromium_git') + '/android_tools.git' + '@' + 'a1ffd63322c438627d78ea56eb73fb8779e06950',
450     'src/third_party/apache-mime4j':
451      Var('chromium_git') + '/chromium/deps/apache-mime4j.git' + '@' + '28cb1108bff4b6cf0a2e86ff58b3d025934ebe3a',
453     'src/third_party/appurify-python/src':
454      Var('chromium_git') + '/external/github.com/appurify/appurify-python.git' + '@' + 'ee7abd5c5ae3106f72b2a0b9d2cb55094688e867',
456     'src/third_party/findbugs':
457      Var('chromium_git') + '/chromium/deps/findbugs.git' + '@' + '7f69fa78a6db6dc31866d09572a0e356e921bf12',
459     'src/third_party/freetype':
460      Var('chromium_git') + '/chromium/src/third_party/freetype.git' + '@' + 'fd6919ac23f74b876c209aba5eaa2be662086391',
462    'src/third_party/elfutils/src':
463      Var('chromium_git') + '/external/elfutils.git' + '@' + '249673729a7e5dbd5de4f3760bdcaa3d23d154d7',
465     'src/third_party/httpcomponents-client':
466      Var('chromium_git') + '/chromium/deps/httpcomponents-client.git' + '@' + '285c4dafc5de0e853fa845dce5773e223219601c',
468     'src/third_party/httpcomponents-core':
469      Var('chromium_git') + '/chromium/deps/httpcomponents-core.git' + '@' + '9f7180a96f8fa5cab23f793c14b413356d419e62',
471     'src/third_party/jarjar':
472      Var('chromium_git') + '/chromium/deps/jarjar.git' + '@' + '2e1ead4c68c450e0b77fe49e3f9137842b8b6920',
474     'src/third_party/jsr-305/src':
475       Var('chromium_git') + '/external/jsr-305.git' + '@' + '642c508235471f7220af6d5df2d3210e3bfc0919',
477     'src/third_party/junit/src':
478       Var('chromium_git') + '/external/junit.git' + '@' + '45a44647e7306262162e1346b750c3209019f2e1',
480     'src/third_party/mockito/src':
481       Var('chromium_git') + '/external/mockito/mockito.git' + '@' + 'ed99a52e94a84bd7c467f2443b475a22fcc6ba8e',
483     'src/third_party/robolectric/lib':
484       Var('chromium_git') + '/chromium/third_party/robolectric.git' + '@' + '6b63c99a8b6967acdb42cbed0adb067c80efc810',
486     'src/third_party/lss':
487       Var('chromium_git') + '/external/linux-syscall-support/lss.git' + '@' + Var('lss_revision'),
489     'src/third_party/requests/src':
490       Var('chromium_git') + '/external/github.com/kennethreitz/requests.git' + '@' + 'f172b30356d821d180fa4ecfa3e71c7274a32de4',
492   },
496 include_rules = [
497   # Everybody can use some things.
498   # NOTE: THIS HAS TO STAY IN SYNC WITH third_party/DEPS which disallows these.
499   '+base',
500   '+build',
501   '+ipc',
503   # Everybody can use headers generated by tools/generate_library_loader.
504   '+library_loaders',
506   '+testing',
507   '+third_party/icu/source/common/unicode',
508   '+third_party/icu/source/i18n/unicode',
509   '+url',
513 # checkdeps.py shouldn't check include paths for files in these dirs:
514 skip_child_includes = [
515   'breakpad',
516   'native_client_sdk',
517   'out',
518   'sdch',
519   'skia',
520   'testing',
521   'v8',
522   'win8',
526 hooks = [
527   {
528     # This clobbers when necessary (based on get_landmines.py). It must be the
529     # first hook so that other things that get/generate into the output
530     # directory will not subsequently be clobbered.
531     'name': 'landmines',
532     'pattern': '.',
533     'action': [
534         'python',
535         'src/build/landmines.py',
536     ],
537   },
538   {
539     # This downloads binaries for Native Client's newlib toolchain.
540     # Done in lieu of building the toolchain from scratch as it can take
541     # anywhere from 30 minutes to 4 hours depending on platform to build.
542     'name': 'nacltools',
543     'pattern': '.',
544     'action': [
545         'python',
546         'src/build/download_nacl_toolchains.py',
547         '--mode', 'nacl_core_sdk',
548         'sync', '--extract',
549     ],
550   },
551   {
552     # This downloads SDK extras and puts them in the
553     # third_party/android_tools/sdk/extras directory on the bots. Developers
554     # need to manually install these packages and accept the ToS.
555     'name': 'sdkextras',
556     'pattern': '.',
557     # When adding a new sdk extras package to download, add the package
558     # directory and zip file to .gitignore in third_party/android_tools.
559     'action': ['python', 'src/build/download_sdk_extras.py'],
560   },
561   {
562     # Downloads the Debian Wheezy sysroot to chrome/installer/linux if needed.
563     # This sysroot updates at about the same rate that the chrome build deps
564     # change. This script is a no-op except for linux users who are doing
565     # official chrome builds.
566     'name': 'sysroot',
567     'pattern': '.',
568     'action': [
569         'python',
570         'src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py',
571         '--linux-only'],
572   },
573   {
574     # Update the Windows toolchain if necessary.
575     'name': 'win_toolchain',
576     'pattern': '.',
577     'action': ['python', 'src/build/vs_toolchain.py', 'update'],
578   },
579   {
580     # Pull clang if needed or requested via GYP_DEFINES.
581     # Note: On Win, this should run after win_toolchain, as it may use it.
582     'name': 'clang',
583     'pattern': '.',
584     'action': ['python', 'src/tools/clang/scripts/update.py', '--if-needed'],
585   },
586   {
587     # Update LASTCHANGE. This is also run by export_tarball.py in
588     # src/tools/export_tarball - please keep them in sync.
589     'name': 'lastchange',
590     'pattern': '.',
591     'action': ['python', 'src/build/util/lastchange.py',
592                '-o', 'src/build/util/LASTCHANGE'],
593   },
594   {
595     # Update LASTCHANGE.blink. This is also run by export_tarball.py in
596     # src/tools/export_tarball - please keep them in sync.
597     'name': 'lastchange',
598     'pattern': '.',
599     'action': ['python', 'src/build/util/lastchange.py',
600                '-s', 'src/third_party/WebKit',
601                '-o', 'src/build/util/LASTCHANGE.blink'],
602   },
603   # Pull GN binaries. This needs to be before running GYP below.
604   {
605     'name': 'gn_win',
606     'pattern': '.',
607     'action': [ 'download_from_google_storage',
608                 '--no_resume',
609                 '--platform=win32',
610                 '--no_auth',
611                 '--bucket', 'chromium-gn',
612                 '-s', 'src/buildtools/win/gn.exe.sha1',
613     ],
614   },
615   {
616     'name': 'gn_mac',
617     'pattern': '.',
618     'action': [ 'download_from_google_storage',
619                 '--no_resume',
620                 '--platform=darwin',
621                 '--no_auth',
622                 '--bucket', 'chromium-gn',
623                 '-s', 'src/buildtools/mac/gn.sha1',
624     ],
625   },
626   {
627     'name': 'gn_linux32',
628     'pattern': '.',
629     'action': [ 'download_from_google_storage',
630                 '--no_resume',
631                 '--platform=linux*',
632                 '--no_auth',
633                 '--bucket', 'chromium-gn',
634                 '-s', 'src/buildtools/linux32/gn.sha1',
635     ],
636   },
637   {
638     'name': 'gn_linux64',
639     'pattern': '.',
640     'action': [ 'download_from_google_storage',
641                 '--no_resume',
642                 '--platform=linux*',
643                 '--no_auth',
644                 '--bucket', 'chromium-gn',
645                 '-s', 'src/buildtools/linux64/gn.sha1',
646     ],
647   },
648   # Pull clang-format binaries using checked-in hashes.
649   {
650     'name': 'clang_format_win',
651     'pattern': '.',
652     'action': [ 'download_from_google_storage',
653                 '--no_resume',
654                 '--platform=win32',
655                 '--no_auth',
656                 '--bucket', 'chromium-clang-format',
657                 '-s', 'src/buildtools/win/clang-format.exe.sha1',
658     ],
659   },
660   {
661     'name': 'clang_format_mac',
662     'pattern': '.',
663     'action': [ 'download_from_google_storage',
664                 '--no_resume',
665                 '--platform=darwin',
666                 '--no_auth',
667                 '--bucket', 'chromium-clang-format',
668                 '-s', 'src/buildtools/mac/clang-format.sha1',
669     ],
670   },
671   {
672     'name': 'clang_format_linux',
673     'pattern': '.',
674     'action': [ 'download_from_google_storage',
675                 '--no_resume',
676                 '--platform=linux*',
677                 '--no_auth',
678                 '--bucket', 'chromium-clang-format',
679                 '-s', 'src/buildtools/linux64/clang-format.sha1',
680     ],
681   },
682   # Pull binutils for linux, enabled debug fission for faster linking /
683   # debugging when used with clang on Ubuntu Precise.
684   # https://code.google.com/p/chromium/issues/detail?id=352046
685   {
686     'name': 'binutils',
687     'pattern': 'src/third_party/binutils',
688     'action': [
689         'python',
690         'src/third_party/binutils/download.py',
691     ],
692   },
693   # Pull eu-strip binaries using checked-in hashes.
694   {
695     'name': 'eu-strip',
696     'pattern': '.',
697     'action': [ 'download_from_google_storage',
698                 '--no_resume',
699                 '--platform=linux*',
700                 '--no_auth',
701                 '--bucket', 'chromium-eu-strip',
702                 '-s', 'src/build/linux/bin/eu-strip.sha1',
703     ],
704   },
705   {
706     'name': 'drmemory',
707     'pattern': '.',
708     'action': [ 'download_from_google_storage',
709                 '--no_resume',
710                 '--platform=win32',
711                 '--no_auth',
712                 '--bucket', 'chromium-drmemory',
713                 '-s', 'src/third_party/drmemory/drmemory-windows-sfx.exe.sha1',
714               ],
715   },
716   # Pull the Syzygy binaries, used for optimization and instrumentation.
717   {
718     'name': 'syzygy-binaries',
719     'pattern': '.',
720     'action': ['python',
721                'src/build/get_syzygy_binaries.py',
722                '--output-dir=src/third_party/syzygy/binaries',
723                '--revision=e869aa03e0f40f74321a70d6d4578f5bbbc29bda',
724                '--overwrite',
725     ],
726   },
727   {
728     'name': 'kasko',
729     'pattern': '.',
730     'action': ['python',
731                'src/build/get_syzygy_binaries.py',
732                '--output-dir=src/third_party/kasko',
733                '--revision=3278b959bdf6c9aa4b326a38e8b953e566c1ec58',
734                '--resource=kasko.zip',
735                '--resource=kasko_symbols.zip',
736                '--overwrite',
737     ],
738   },
739   {
740     'name': 'apache_win32',
741     'pattern': '\\.sha1',
742     'action': [ 'download_from_google_storage',
743                 '--no_resume',
744                 '--platform=win32',
745                 '--directory',
746                 '--recursive',
747                 '--no_auth',
748                 '--num_threads=16',
749                 '--bucket', 'chromium-apache-win32',
750                 'src/third_party/apache-win32',
751     ],
752   },
753   # Pull the mojo_shell binary, used for mojo development
754   {
755     'name': 'download_mojo_shell',
756     'pattern': '',
757     'action': [ 'python',
758                 'src/third_party/mojo/src/mojo/public/tools/download_shell_binary.py',
759                 '--tools-directory=../../../../../../tools',
760               ],
761   },
762   {
763     # Pull sanitizer-instrumented third-party libraries if requested via
764     # GYP_DEFINES.
765     'name': 'instrumented_libraries',
766     'pattern': '\\.sha1',
767     'action': ['python', 'src/third_party/instrumented_libraries/scripts/download_binaries.py'],
768   },
769   {
770     # A change to a .gyp, .gypi, or to GYP itself should run the generator.
771     'name': 'gyp',
772     'pattern': '.',
773     'action': ['python', 'src/build/gyp_chromium'],
774   },
775   {
776     # Verify committers' ~/.netc, gclient and git are properly configured for
777     # write access to the git repo. To be removed sometime after Chrome to git
778     # migration completes (let's say Sep 1 2014).
779     'name': 'check_git_config',
780     'pattern': '.',
781     'action': [
782         'python',
783         'src/tools/check_git_config.py',
784         '--running-as-hook',
785     ],
786   },
787   {
788     # Ensure that we don't accidentally reference any .pyc files whose
789     # corresponding .py files have already been deleted.
790     'name': 'remove_stale_pyc_files',
791     'pattern': 'src/tools/.*\\.py',
792     'action': [
793         'python',
794         'src/tools/remove_stale_pyc_files.py',
795         'src/tools',
796     ],
797   },