Update the GN style guide on target naming.
[chromium-blink-merge.git] / DEPS
blobb557674300d8d2f6aa84e2286629189adf6a0f2c
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   'webkit_revision': 'ba7b33706677dcb9bf568fa9ad762364728e7a02', # from svn revision 198401
34   'chromium_git': 'https://chromium.googlesource.com',
35   'libvpx_revision': 'aa9b5f1d6e226fbeae31b2e8984d6c135c61169f',
36   'sfntly_revision': '1bdaae8fc788a5ac8936d68bf24f37d977a13dac',
37   'skia_revision': '5617900063f69754de62b8b12d32f6e36df14104',
38   # Three lines of non-changing comments so that
39   # the commit queue can handle CLs rolling V8
40   # and whatever else without interference from each other.
41   'v8_revision': '5babf75ecf0a9aa3e9eeb24a2ff80ca8950e4544',
42   # Three lines of non-changing comments so that
43   # the commit queue can handle CLs rolling swarming_client
44   # and whatever else without interference from each other.
45   'swarming_revision': 'b39a448d8522392389b28f6997126a6ab04bfe87',
46   # Three lines of non-changing comments so that
47   # the commit queue can handle CLs rolling ANGLE
48   # and whatever else without interference from each other.
49   'angle_revision': 'e62cedd0e9d6575b561622209dd591a28870320c',
50   # Three lines of non-changing comments so that
51   # the commit queue can handle CLs rolling build tools
52   # and whatever else without interference from each other.
53   'buildtools_revision': 'ecc8e253abac3b6186a97573871a084f4c0ca3ae',
54   # Three lines of non-changing comments so that
55   # the commit queue can handle CLs rolling PDFium
56   # and whatever else without interference from each other.
57   'pdfium_revision': 'cc2323f0d0d626edac4a426097eb38b53ba54848',
58   # Three lines of non-changing comments so that
59   # the commit queue can handle CLs rolling openmax_dl
60   # and whatever else without interference from each other.
61   'openmax_dl_revision': '22bb1085a6a0f6f3589a8c3d60ed0a9b82248275',
62   # Three lines of non-changing comments so that
63   # the commit queue can handle CLs rolling BoringSSL
64   # and whatever else without interference from each other.
65   'boringssl_revision': 'de24aadc5bc01130b6a9d25582203bb5308fabe1',
66   # Three lines of non-changing comments so that
67   # the commit queue can handle CLs rolling nss
68   # and whatever else without interference from each other.
69   'nss_revision': 'aab0d08a298b29407397fbb1c4219f99e99431ed', # from svn revision 295435
70   # Three lines of non-changing comments so that
71   # the commit queue can handle CLs rolling google-toolbox-for-mac
72   # and whatever else without interference from each other.
73   'google_toolbox_for_mac_revision': 'ce47a231ea0b238fbe95538e86cc61d74c234be6', # from svn revision 705
74   # Three lines of non-changing comments so that
75   # the commit queue can handle CLs rolling lighttpd
76   # and whatever else without interference from each other.
77   'lighttpd_revision': '9dfa55d15937a688a92cbf2b7a8621b0927d06eb',
78   # Three lines of non-changing comments so that
79   # the commit queue can handle CLs rolling lss
80   # and whatever else without interference from each other.
81   'lss_revision': '6f97298fe3794e92c8c896a6bc06e0b36e4c3de3',
82   # Three lines of non-changing comments so that
83   # the commit queue can handle CLs rolling NaCl
84   # and whatever else without interference from each other.
85   'nacl_revision': '4e75a2959c8c77f68890c29c5082e2a67c99de6f',
88 # Only these hosts are allowed for dependencies in this DEPS file.
89 # If you need to add a new host, contact chrome infrastracture team.
90 allowed_hosts = [
91   'chromium.googlesource.com',
92   'boringssl.googlesource.com',
93   'pdfium.googlesource.com',
94   'android.googlesource.com',
97 deps = {
98   'src/breakpad/src':
99    Var('chromium_git') + '/external/google-breakpad/src.git' + '@' + '0bccfcc38087bf8b71c04befe6cd83c683db980a', # from svn revision 1465
101   'src/buildtools':
102    Var('chromium_git') + '/chromium/buildtools.git' + '@' +  Var('buildtools_revision'),
104   'src/sdch/open-vcdiff':
105    Var('chromium_git') + '/external/open-vcdiff.git' + '@' + '438f2a5be6d809bc21611a94cd37bfc8c28ceb33', # from svn revision 41
107   'src/testing/gtest':
108    Var('chromium_git') + '/external/googletest.git' + '@' + '23574bf2333f834ff665f894c97bef8a5b33a0a9', # from svn revision 711
110   'src/testing/gmock':
111    Var('chromium_git') + '/external/googlemock.git' + '@' + '29763965ab52f24565299976b936d1265cb6a271', # from svn revision 501
113   'src/third_party/angle':
114    Var('chromium_git') + '/angle/angle.git' + '@' +  Var('angle_revision'),
116   'src/third_party/colorama/src':
117    Var('chromium_git') + '/external/colorama.git' + '@' + '799604a1041e9b3bc5d2789ecbd7e8db2e18e6b8',
119   'src/third_party/crashpad/crashpad':
120    Var('chromium_git') + '/crashpad/crashpad.git' + '@' + '797adb320680a4a8ad39428075cca287e04b111f',
122   'src/third_party/trace-viewer':
123    Var('chromium_git') + '/external/trace-viewer.git' + '@' + '4f30209abd53c699c937519f39ce41888f93507b',
125   'src/third_party/WebKit':
126    Var('chromium_git') + '/chromium/blink.git' + '@' +  Var('webkit_revision'),
128   'src/third_party/icu':
129    Var('chromium_git') + '/chromium/deps/icu.git' + '@' + 'c81a1a3989c3b66fa323e9a6ee7418d7c08297af',
131   'src/third_party/libexif/sources':
132    Var('chromium_git') + '/chromium/deps/libexif/sources.git' + '@' + 'ed98343daabd7b4497f97fda972e132e6877c48a',
134   'src/third_party/hunspell_dictionaries':
135    Var('chromium_git') + '/chromium/deps/hunspell_dictionaries.git' + '@' + 'c106afdcec5d3de2622e19f1b3294c47bbd8bd72',
137   'src/third_party/safe_browsing/testing':
138     Var('chromium_git') + '/external/google-safe-browsing/testing.git' + '@' + '9d7e8064f3ca2e45891470c9b5b1dce54af6a9d6',
140   'src/third_party/leveldatabase/src':
141     Var('chromium_git') + '/external/leveldb.git' + '@' + '40c17c0b84ac0b791fb434096fd5c05f3819ad55',
143   'src/third_party/snappy/src':
144     Var('chromium_git') + '/external/snappy.git' + '@' + '762bb32f0c9d2f31ba4958c7c0933d22e80c20bf',
146   'src/tools/grit':
147     Var('chromium_git') + '/external/grit-i18n.git' + '@' + '1dac9ae64b0224beb1547810933a6f9998d0d55e', # from svn revision 191
149   'src/tools/gyp':
150     Var('chromium_git') + '/external/gyp.git' + '@' + '5122240c5e5c4d8da12c543d82b03d6089eb77c5',
152   'src/tools/swarming_client':
153    Var('chromium_git') + '/external/swarming.client.git' + '@' +  Var('swarming_revision'),
155   'src/v8':
156     Var('chromium_git') + '/v8/v8.git' + '@' +  Var('v8_revision'),
158   'src/native_client':
159    Var('chromium_git') + '/native_client/src/native_client.git' + '@' + Var('nacl_revision'),
161   'src/third_party/sfntly/cpp/src':
162     Var('chromium_git') + '/external/sfntly/cpp/src.git' + '@' +  Var('sfntly_revision'),
164   'src/third_party/skia':
165    Var('chromium_git') + '/skia.git' + '@' +  Var('skia_revision'),
167   'src/tools/page_cycler/acid3':
168    Var('chromium_git') + '/chromium/deps/acid3.git' + '@' + '6be0a66a1ebd7ebc5abc1b2f405a945f6d871521',
170   'src/chrome/test/data/perf/canvas_bench':
171    Var('chromium_git') + '/chromium/canvas_bench.git' + '@' + 'a7b40ea5ae0239517d78845a5fc9b12976bfc732',
173   'src/chrome/test/data/perf/frame_rate/content':
174    Var('chromium_git') + '/chromium/frame_rate/content.git' + '@' + 'c10272c88463efeef6bb19c9ec07c42bc8fe22b9',
176   'src/third_party/bidichecker':
177     Var('chromium_git') + '/external/bidichecker/lib.git' + '@' + '97f2aa645b74c28c57eca56992235c79850fa9e0',
179   'src/third_party/webgl/src':
180    Var('chromium_git') + '/external/khronosgroup/webgl.git' + '@' + '8986f8bfa84547b1a30a9256ebdd665024d68d71',
182   'src/third_party/webdriver/pylib':
183     Var('chromium_git') + '/external/selenium/py.git' + '@' + '5fd78261a75fe08d27ca4835fb6c5ce4b42275bd',
185   'src/third_party/libvpx':
186    Var('chromium_git') + '/chromium/deps/libvpx.git' + '@' +  Var('libvpx_revision'),
188   'src/third_party/ffmpeg':
189    Var('chromium_git') + '/chromium/third_party/ffmpeg.git' + '@' + '1f2f7df0f4005fb620342d847bbaa1ec54122c68',
191   'src/third_party/libjingle/source/talk':
192     Var('chromium_git') + '/external/webrtc/trunk/talk.git' + '@' + '0b420e23cd618a42ec1ec567a3e8104ea716847e', # commit position 9544
194   'src/third_party/usrsctp/usrsctplib':
195     Var('chromium_git') + '/external/usrsctplib.git' + '@' + '36444a999739e9e408f8f587cb4c3ffeef2e50ac', # from svn revision 9215
197   'src/third_party/libsrtp':
198    Var('chromium_git') + '/chromium/deps/libsrtp.git' + '@' + '9c53f858cddd4d890e405e91ff3af0b48dfd90e6', # from svn revision 295151
200   'src/third_party/yasm/source/patched-yasm':
201    Var('chromium_git') + '/chromium/deps/yasm/patched-yasm.git' + '@' + '4671120cd8558ce62ee8672ebf3eb6f5216f909b',
203   'src/third_party/libjpeg_turbo':
204    Var('chromium_git') + '/chromium/deps/libjpeg_turbo.git' + '@' + 'f4631b6ee8b1dbb05e51ae335a7886f9ac598ab6',
206   'src/third_party/flac':
207    Var('chromium_git') + '/chromium/deps/flac.git' + '@' + 'c291ce676d2c855f7b2739f00f5c7f7e813813dc',
209   'src/third_party/pyftpdlib/src':
210     Var('chromium_git') + '/external/pyftpdlib.git' + '@' + '2be6d65e31c7ee6320d059f581f05ae8d89d7e45',
212   'src/third_party/scons-2.0.1':
213    Var('chromium_git') + '/native_client/src/third_party/scons-2.0.1.git' + '@' + '1c1550e17fc26355d08627fbdec13d8291227067',
215   'src/third_party/webrtc':
216     Var('chromium_git') + '/external/webrtc/trunk/webrtc.git' + '@' + 'b2f1cafd39a20437784f1d5b309d1ce037307b31', # commit position 9545
218   'src/third_party/openmax_dl':
219     Var('chromium_git') + '/external/webrtc/deps/third_party/openmax.git' + '@' +  Var('openmax_dl_revision'),
221   'src/third_party/jsoncpp/source':
222     Var('chromium_git') + '/external/github.com/open-source-parsers/jsoncpp.git' + '@' + 'f572e8e42e22cfcf5ab0aea26574f408943edfa4', # from svn 248
224   'src/third_party/libyuv':
225     Var('chromium_git') + '/libyuv/libyuv.git' + '@' + '6dde4f14bd3b3d1777a371feabbe8130bc043dfa', # from svn revision 1437
227   'src/third_party/smhasher/src':
228     Var('chromium_git') + '/external/smhasher.git' + '@' + 'e87738e57558e0ec472b2fc3a643b838e5b6e88f',
230   'src/third_party/libaddressinput/src':
231     Var('chromium_git') + '/external/libaddressinput.git' + '@' + '5eeeb797e79fa01503fcdcbebdc50036fac023ef',
233   # These are all at libphonenumber r728.
234   'src/third_party/libphonenumber/src/phonenumbers':
235     Var('chromium_git') + '/external/libphonenumber/cpp/src/phonenumbers.git' + '@' + '0d6e3e50e17c94262ad1ca3b7d52b11223084bca',
236   'src/third_party/libphonenumber/src/test':
237     Var('chromium_git') + '/external/libphonenumber/cpp/test.git' + '@' + 'f351a7e007f9c9995494499120bbc361ca808a16',
238   'src/third_party/libphonenumber/src/resources':
239     Var('chromium_git') + '/external/libphonenumber/resources.git' + '@' + 'b6dfdc7952571ff7ee72643cd88c988cbe966396',
241   'src/tools/deps2git':
242    Var('chromium_git') + '/chromium/tools/deps2git.git' + '@' + 'f04828eb0b5acd3e7ad983c024870f17f17b06d9',
244   'src/third_party/webpagereplay':
245    Var('chromium_git') + '/external/github.com/chromium/web-page-replay.git' + '@' + '5da5975950daa7b30a6938da73fd0b3200901b0c',
247   'src/third_party/pywebsocket/src':
248     Var('chromium_git') + '/external/pywebsocket/src.git' + '@' + 'cb349e87ddb30ff8d1fa1a89be39cec901f4a29c',
250   'src/third_party/opus/src':
251    Var('chromium_git') + '/chromium/deps/opus.git' + '@' + 'cae696156f1e60006e39821e79a1811ae1933c69',
253   'src/media/cdm/ppapi/api':
254    Var('chromium_git') + '/chromium/cdm.git' + '@' + '7377023e384f296cbb27644eb2c485275f1f92e8', # from svn revision 294518
256   'src/third_party/mesa/src':
257    Var('chromium_git') + '/chromium/deps/mesa.git' + '@' + '071d25db04c23821a12a8b260ab9d96a097402f0',
259   'src/third_party/cld_2/src':
260     Var('chromium_git') + '/external/cld2.git' + '@' + '14d9ef8d4766326f8aa7de54402d1b9c782d4481', # from svn revision 193
262   'src/third_party/pdfium':
263    'https://pdfium.googlesource.com/pdfium.git' + '@' +  Var('pdfium_revision'),
265   'src/third_party/boringssl/src':
266    'https://boringssl.googlesource.com/boringssl.git' + '@' +  Var('boringssl_revision'),
268   'src/third_party/py_trace_event/src':
269     Var('chromium_git') + '/external/py_trace_event.git' + '@' + 'dd463ea9e2c430de2b9e53dea57a77b4c3ac9b30',
271   'src/third_party/dom_distiller_js/dist':
272     Var('chromium_git') + '/external/github.com/chromium/dom-distiller-dist.git' + '@' + '81e5b59da2a7a0a518b90b5ded58670322c98128',
276 deps_os = {
277   'win': {
278     'src/chrome/tools/test/reference_build/chrome_win':
279      Var('chromium_git') + '/chromium/reference_builds/chrome_win.git' + '@' + 'f8a3a845dfc845df6b14280f04f86a61959357ef',
281     'src/third_party/cygwin':
282      Var('chromium_git') + '/chromium/deps/cygwin.git' + '@' + 'c89e446b273697fadf3a10ff1007a97c0b7de6df',
284     'src/third_party/psyco_win32':
285      Var('chromium_git') + '/chromium/deps/psyco_win32.git' + '@' + 'f5af9f6910ee5a8075bbaeed0591469f1661d868',
287     'src/third_party/bison':
288      Var('chromium_git') + '/chromium/deps/bison.git' + '@' + '083c9a45e4affdd5464ee2b224c2df649c6e26c3',
290     'src/third_party/gperf':
291      Var('chromium_git') + '/chromium/deps/gperf.git' + '@' + 'd892d79f64f9449770443fb06da49b5a1e5d33c1',
293     'src/third_party/perl':
294      Var('chromium_git') + '/chromium/deps/perl.git' + '@' + 'ac0d98b5cee6c024b0cffeb4f8f45b6fc5ccdb78',
296     'src/third_party/lighttpd':
297      Var('chromium_git') + '/chromium/deps/lighttpd.git' + '@' + Var('lighttpd_revision'),
299     # Parses Windows PE/COFF executable format.
300     'src/third_party/pefile':
301      Var('chromium_git') + '/external/pefile.git' + '@' + '72c6ae42396cb913bcab63c15585dc3b5c3f92f1',
303     # NSS, for SSLClientSocketNSS.
304     'src/third_party/nss':
305      Var('chromium_git') + '/chromium/deps/nss.git' + '@' + Var('nss_revision'),
307     # GNU binutils assembler for x86-32.
308     'src/third_party/gnu_binutils':
309       Var('chromium_git') + '/native_client/deps/third_party/gnu_binutils.git' + '@' + 'f4003433b61b25666565690caf3d7a7a1a4ec436',
310     # GNU binutils assembler for x86-64.
311     'src/third_party/mingw-w64/mingw/bin':
312       Var('chromium_git') + '/native_client/deps/third_party/mingw-w64/mingw/bin.git' + '@' + '3cc8b140b883a9fe4986d12cfd46c16a093d3527',
314     # Dependencies used by libjpeg-turbo
315     'src/third_party/yasm/binaries':
316      Var('chromium_git') + '/chromium/deps/yasm/binaries.git' + '@' + '52f9b3f4b0aa06da24ef8b123058bb61ee468881',
318     # Binaries for nacl sdk.
319     'src/third_party/nacl_sdk_binaries':
320      Var('chromium_git') + '/chromium/deps/nacl_sdk_binaries.git' + '@' + '759dfca03bdc774da7ecbf974f6e2b84f43699a5',
322     # ANGLE uses dEQP for GPU testing
323     'src/third_party/deqp/src':
324      'https://android.googlesource.com/platform/external/deqp@194294e69d44eac48bc1fb063bd607189650aa5e',
325   },
326   'ios': {
327     'src/ios/third_party/gcdwebserver/src':
328      Var('chromium_git') + '/external/github.com/swisspol/GCDWebServer.git' + '@' + '3d5fd0b8281a7224c057deb2d17709b5bea64836',
330     'src/third_party/google_toolbox_for_mac/src':
331       Var('chromium_git') + '/external/google-toolbox-for-mac.git' + '@' + Var('google_toolbox_for_mac_revision'),
333     'src/third_party/nss':
334      Var('chromium_git') + '/chromium/deps/nss.git' + '@' + Var('nss_revision'),
336     # class-dump utility to generate header files for undocumented SDKs
337     'src/third_party/class-dump/src':
338      Var('chromium_git') + '/external/github.com/nygard/class-dump.git' + '@' + '93e7c6a5419380d89656dcc511dc60d475199b67',
340     # Code that's not needed due to not building everything
341     'src/chrome/test/data/perf/canvas_bench': None,
342     'src/chrome/test/data/perf/frame_rate/content': None,
343     'src/native_client': None,
344     'src/third_party/ffmpeg': None,
345     'src/third_party/hunspell_dictionaries': None,
346     'src/third_party/webgl': None,
347   },
348   'mac': {
349     'src/chrome/tools/test/reference_build/chrome_mac':
350      Var('chromium_git') + '/chromium/reference_builds/chrome_mac.git' + '@' + '8dc181329e7c5255f83b4b85dc2f71498a237955',
352     'src/third_party/google_toolbox_for_mac/src':
353       Var('chromium_git') + '/external/google-toolbox-for-mac.git' + '@' + Var('google_toolbox_for_mac_revision'),
356     'src/third_party/pdfsqueeze':
357       Var('chromium_git') + '/external/pdfsqueeze.git' + '@' + '5936b871e6a087b7e50d4cbcb122378d8a07499f',
359     'src/third_party/lighttpd':
360      Var('chromium_git') + '/chromium/deps/lighttpd.git' + '@' + Var('lighttpd_revision'),
362     # NSS, for SSLClientSocketNSS.
363     'src/third_party/nss':
364      Var('chromium_git') + '/chromium/deps/nss.git' + '@' + Var('nss_revision'),
366     'src/chrome/installer/mac/third_party/xz/xz':
367      Var('chromium_git') + '/chromium/deps/xz.git' + '@' + 'eecaf55632ca72e90eb2641376bce7cdbc7284f7',
368   },
369   'unix': {
370     # Linux, really.
371     'src/chrome/tools/test/reference_build/chrome_linux':
372      Var('chromium_git') + '/chromium/reference_builds/chrome_linux64.git' + '@' + '033d053a528e820e1de3e2db766678d862a86b36',
374     'src/third_party/xdg-utils':
375      Var('chromium_git') + '/chromium/deps/xdg-utils.git' + '@' + 'd80274d5869b17b8c9067a1022e4416ee7ed5e0d',
377     'src/third_party/lss':
378       Var('chromium_git') + '/external/linux-syscall-support/lss.git' + '@' + Var('lss_revision'),
380     # For Linux and Chromium OS.
381     'src/third_party/cros_system_api':
382      Var('chromium_git') + '/chromiumos/platform/system_api.git' + '@' + '513f58ccbcecfd4a3d21545f67136090838eaf52',
384     # Note that this is different from Android's freetype repo.
385     'src/third_party/freetype2/src':
386      Var('chromium_git') + '/chromium/src/third_party/freetype2.git' + '@' + '1dd5f5f4a909866f15c92a45c9702bce290a0151',
388     # Build tools for Chrome OS.
389     'src/third_party/chromite':
390      Var('chromium_git') + '/chromiumos/chromite.git' + '@' + '8a83c625c57a1ad990ba8f5f95890b57d204501f',
392     # Dependency of chromite.git.
393     'src/third_party/pyelftools':
394      Var('chromium_git') + '/chromiumos/third_party/pyelftools.git' + '@' + 'bdc1d380acd88d4bfaf47265008091483b0d614e',
396     'src/third_party/liblouis/src':
397      Var('chromium_git') + '/external/liblouis-github.git' + '@' + '5f9c03f2a3478561deb6ae4798175094be8a26c2',
399     # Used for embedded builds. CrOS & Linux use the system version.
400     'src/third_party/fontconfig/src':
401      Var('chromium_git') + '/external/fontconfig.git' + '@' + 'f16c3118e25546c1b749f9823c51827a60aeb5c1',
403     'src/third_party/stp/src':
404      Var('chromium_git') + '/external/github.com/stp/stp.git' + '@' + 'fc94a599207752ab4d64048204f0c88494811b62',
405   },
406   'android': {
407     'src/third_party/android_protobuf/src':
408      Var('chromium_git') + '/external/android_protobuf.git' + '@' + '999188d0dc72e97f7fe08bb756958a2cf090f4e7',
410     'src/third_party/android_tools':
411      Var('chromium_git') + '/android_tools.git' + '@' + '21f4bcbd6cd927e4b4227cfde7d5f13486be1236',
413     'src/third_party/apache-mime4j':
414      Var('chromium_git') + '/chromium/deps/apache-mime4j.git' + '@' + '28cb1108bff4b6cf0a2e86ff58b3d025934ebe3a',
416     'src/third_party/appurify-python/src':
417      Var('chromium_git') + '/external/github.com/appurify/appurify-python.git' + '@' + 'ee7abd5c5ae3106f72b2a0b9d2cb55094688e867',
419     'src/third_party/cardboard-java/src':
420      Var('chromium_git') + '/external/github.com/googlesamples/cardboard-java.git' + '@' + '08ad25a04f2801bd822c3f2cd28301b68d74aef6',
422     'src/third_party/errorprone/lib':
423       Var('chromium_git') + '/chromium/third_party/errorprone.git' + '@' + '6c66e56c0f9d750aef83190466df834f9d6af8ab',
425     'src/third_party/findbugs':
426      Var('chromium_git') + '/chromium/deps/findbugs.git' + '@' + '7f69fa78a6db6dc31866d09572a0e356e921bf12',
428     'src/third_party/freetype-android/src':
429      Var('chromium_git') + '/chromium/src/third_party/freetype2.git' + '@' + 'e186230678ee8e4ea4ac4797ece8125761e3225a',
431    'src/third_party/elfutils/src':
432      Var('chromium_git') + '/external/elfutils.git' + '@' + '249673729a7e5dbd5de4f3760bdcaa3d23d154d7',
434     'src/third_party/httpcomponents-client':
435      Var('chromium_git') + '/chromium/deps/httpcomponents-client.git' + '@' + '285c4dafc5de0e853fa845dce5773e223219601c',
437     'src/third_party/httpcomponents-core':
438      Var('chromium_git') + '/chromium/deps/httpcomponents-core.git' + '@' + '9f7180a96f8fa5cab23f793c14b413356d419e62',
440     'src/third_party/jarjar':
441      Var('chromium_git') + '/chromium/deps/jarjar.git' + '@' + '2e1ead4c68c450e0b77fe49e3f9137842b8b6920',
443     'src/third_party/jsr-305/src':
444       Var('chromium_git') + '/external/jsr-305.git' + '@' + '642c508235471f7220af6d5df2d3210e3bfc0919',
446     'src/third_party/junit/src':
447       Var('chromium_git') + '/external/junit.git' + '@' + '45a44647e7306262162e1346b750c3209019f2e1',
449     'src/third_party/mockito/src':
450       Var('chromium_git') + '/external/mockito/mockito.git' + '@' + 'ed99a52e94a84bd7c467f2443b475a22fcc6ba8e',
452     'src/third_party/robolectric/lib':
453       Var('chromium_git') + '/chromium/third_party/robolectric.git' + '@' + '6b63c99a8b6967acdb42cbed0adb067c80efc810',
455     'src/third_party/ub-uiautomator/lib':
456       Var('chromium_git') + '/chromium/third_party/ub-uiautomator.git' + '@' + 'e6f02481bada8bdbdfdd7987dd6e648c44a3adcb',
458     'src/third_party/lss':
459       Var('chromium_git') + '/external/linux-syscall-support/lss.git' + '@' + Var('lss_revision'),
461     'src/third_party/requests/src':
462       Var('chromium_git') + '/external/github.com/kennethreitz/requests.git' + '@' + 'f172b30356d821d180fa4ecfa3e71c7274a32de4',
464     'src/third_party/custom_tabs_client/src':
465       Var('chromium_git') + '/external/github.com/GoogleChrome/custom-tabs-client.git' + '@' + '47a8e598e6116a211c320d285d887e9fb9376524',
466   },
470 include_rules = [
471   # Everybody can use some things.
472   # NOTE: THIS HAS TO STAY IN SYNC WITH third_party/DEPS which disallows these.
473   '+base',
474   '+build',
475   '+ipc',
477   # Everybody can use headers generated by tools/generate_library_loader.
478   '+library_loaders',
480   '+testing',
481   '+third_party/icu/source/common/unicode',
482   '+third_party/icu/source/i18n/unicode',
483   '+url',
487 # checkdeps.py shouldn't check include paths for files in these dirs:
488 skip_child_includes = [
489   'breakpad',
490   'native_client_sdk',
491   'out',
492   'sdch',
493   'skia',
494   'testing',
495   'v8',
496   'win8',
500 hooks = [
501   {
502     # This clobbers when necessary (based on get_landmines.py). It must be the
503     # first hook so that other things that get/generate into the output
504     # directory will not subsequently be clobbered.
505     'name': 'landmines',
506     'pattern': '.',
507     'action': [
508         'python',
509         'src/build/landmines.py',
510     ],
511   },
512   {
513     # This downloads binaries for Native Client's newlib toolchain.
514     # Done in lieu of building the toolchain from scratch as it can take
515     # anywhere from 30 minutes to 4 hours depending on platform to build.
516     'name': 'nacltools',
517     'pattern': '.',
518     'action': [
519         'python',
520         'src/build/download_nacl_toolchains.py',
521         '--mode', 'nacl_core_sdk',
522         'sync', '--extract',
523     ],
524   },
525   {
526     # This downloads SDK extras and puts them in the
527     # third_party/android_tools/sdk/extras directory on the bots. Developers
528     # need to manually install these packages and accept the ToS.
529     'name': 'sdkextras',
530     'pattern': '.',
531     # When adding a new sdk extras package to download, add the package
532     # directory and zip file to .gitignore in third_party/android_tools.
533     'action': ['python', 'src/build/download_sdk_extras.py'],
534   },
535   {
536     # Downloads the current stable linux sysroot to build/linux/ if needed.
537     # This sysroot updates at about the same rate that the chrome build deps
538     # change. This script is a no-op except for linux users who are doing
539     # official chrome builds or cross compiling.
540     'name': 'sysroot',
541     'pattern': '.',
542     'action': ['python', 'src/build/linux/sysroot_scripts/install-sysroot.py',
543                '--running-as-hook'],
544   },
545   {
546     # Update the Windows toolchain if necessary.
547     'name': 'win_toolchain',
548     'pattern': '.',
549     'action': ['python', 'src/build/vs_toolchain.py', 'update'],
550   },
551   # Pull binutils for linux, enabled debug fission for faster linking /
552   # debugging when used with clang on Ubuntu Precise.
553   # https://code.google.com/p/chromium/issues/detail?id=352046
554   {
555     'name': 'binutils',
556     'pattern': 'src/third_party/binutils',
557     'action': [
558         'python',
559         'src/third_party/binutils/download.py',
560     ],
561   },
562   {
563     # Pull clang if needed or requested via GYP_DEFINES.
564     # Note: On Win, this should run after win_toolchain, as it may use it.
565     'name': 'clang',
566     'pattern': '.',
567     'action': ['python', 'src/tools/clang/scripts/update.py', '--if-needed'],
568   },
569   {
570     # Update LASTCHANGE.
571     'name': 'lastchange',
572     'pattern': '.',
573     'action': ['python', 'src/build/util/lastchange.py',
574                '-o', 'src/build/util/LASTCHANGE'],
575   },
576   {
577     # Update LASTCHANGE.blink.
578     'name': 'lastchange',
579     'pattern': '.',
580     'action': ['python', 'src/build/util/lastchange.py',
581                '-s', 'src/third_party/WebKit',
582                '-o', 'src/build/util/LASTCHANGE.blink'],
583   },
584   # Pull GN binaries. This needs to be before running GYP below.
585   {
586     'name': 'gn_win',
587     'pattern': '.',
588     'action': [ 'download_from_google_storage',
589                 '--no_resume',
590                 '--platform=win32',
591                 '--no_auth',
592                 '--bucket', 'chromium-gn',
593                 '-s', 'src/buildtools/win/gn.exe.sha1',
594     ],
595   },
596   {
597     'name': 'gn_mac',
598     'pattern': '.',
599     'action': [ 'download_from_google_storage',
600                 '--no_resume',
601                 '--platform=darwin',
602                 '--no_auth',
603                 '--bucket', 'chromium-gn',
604                 '-s', 'src/buildtools/mac/gn.sha1',
605     ],
606   },
607   {
608     'name': 'gn_linux64',
609     'pattern': '.',
610     'action': [ 'download_from_google_storage',
611                 '--no_resume',
612                 '--platform=linux*',
613                 '--no_auth',
614                 '--bucket', 'chromium-gn',
615                 '-s', 'src/buildtools/linux64/gn.sha1',
616     ],
617   },
618   # Pull clang-format binaries using checked-in hashes.
619   {
620     'name': 'clang_format_win',
621     'pattern': '.',
622     'action': [ 'download_from_google_storage',
623                 '--no_resume',
624                 '--platform=win32',
625                 '--no_auth',
626                 '--bucket', 'chromium-clang-format',
627                 '-s', 'src/buildtools/win/clang-format.exe.sha1',
628     ],
629   },
630   {
631     'name': 'clang_format_mac',
632     'pattern': '.',
633     'action': [ 'download_from_google_storage',
634                 '--no_resume',
635                 '--platform=darwin',
636                 '--no_auth',
637                 '--bucket', 'chromium-clang-format',
638                 '-s', 'src/buildtools/mac/clang-format.sha1',
639     ],
640   },
641   {
642     'name': 'clang_format_linux',
643     'pattern': '.',
644     'action': [ 'download_from_google_storage',
645                 '--no_resume',
646                 '--platform=linux*',
647                 '--no_auth',
648                 '--bucket', 'chromium-clang-format',
649                 '-s', 'src/buildtools/linux64/clang-format.sha1',
650     ],
651   },
652   # Pull luci-go binaries (isolate, swarming) using checked-in hashes.
653   {
654     'name': 'luci-go_win',
655     'pattern': '.',
656     'action': [ 'download_from_google_storage',
657                 '--no_resume',
658                 '--platform=win32',
659                 '--no_auth',
660                 '--bucket', 'chromium-luci',
661                 '-d', 'src/tools/luci-go/win64',
662     ],
663   },
664   {
665     'name': 'luci-go_mac',
666     'pattern': '.',
667     'action': [ 'download_from_google_storage',
668                 '--no_resume',
669                 '--platform=darwin',
670                 '--no_auth',
671                 '--bucket', 'chromium-luci',
672                 '-d', 'src/tools/luci-go/mac64',
673     ],
674   },
675   {
676     'name': 'luci-go_linux',
677     'pattern': '.',
678     'action': [ 'download_from_google_storage',
679                 '--no_resume',
680                 '--platform=linux*',
681                 '--no_auth',
682                 '--bucket', 'chromium-luci',
683                 '-d', 'src/tools/luci-go/linux64',
684     ],
685   },
686   # Pull eu-strip binaries using checked-in hashes.
687   {
688     'name': 'eu-strip',
689     'pattern': '.',
690     'action': [ 'download_from_google_storage',
691                 '--no_resume',
692                 '--platform=linux*',
693                 '--no_auth',
694                 '--bucket', 'chromium-eu-strip',
695                 '-s', 'src/build/linux/bin/eu-strip.sha1',
696     ],
697   },
698   {
699     'name': 'drmemory',
700     'pattern': '.',
701     'action': [ 'download_from_google_storage',
702                 '--no_resume',
703                 '--platform=win32',
704                 '--no_auth',
705                 '--bucket', 'chromium-drmemory',
706                 '-s', 'src/third_party/drmemory/drmemory-windows-sfx.exe.sha1',
707               ],
708   },
709   # Pull the Syzygy binaries, used for optimization and instrumentation.
710   {
711     'name': 'syzygy-binaries',
712     'pattern': '.',
713     'action': ['python',
714                'src/build/get_syzygy_binaries.py',
715                '--output-dir=src/third_party/syzygy/binaries',
716                '--revision=e50a9822fc8aeb5e7902da5e2940ea135d732e57',
717                '--overwrite',
718     ],
719   },
720   {
721     'name': 'kasko',
722     'pattern': '.',
723     'action': ['python',
724                'src/build/get_syzygy_binaries.py',
725                '--output-dir=src/third_party/kasko',
726                '--revision=283aeaceeb22e2ba40a1753e3cb32454b59cc017',
727                '--resource=kasko.zip',
728                '--resource=kasko_symbols.zip',
729                '--overwrite',
730     ],
731   },
732   {
733     'name': 'apache_win32',
734     'pattern': '\\.sha1',
735     'action': [ 'download_from_google_storage',
736                 '--no_resume',
737                 '--platform=win32',
738                 '--directory',
739                 '--recursive',
740                 '--no_auth',
741                 '--num_threads=16',
742                 '--bucket', 'chromium-apache-win32',
743                 'src/third_party/apache-win32',
744     ],
745   },
746   # Pull the mojo_shell binary, used for mojo development
747   {
748     'name': 'download_mojo_shell',
749     'pattern': '',
750     'action': [ 'python',
751                 'src/third_party/mojo/src/mojo/public/tools/download_shell_binary.py',
752                 '--tools-directory=../../../../../../tools',
753               ],
754   },
755   {
756     # Pull sanitizer-instrumented third-party libraries if requested via
757     # GYP_DEFINES.
758     'name': 'instrumented_libraries',
759     'pattern': '\\.sha1',
760     'action': ['python', 'src/third_party/instrumented_libraries/scripts/download_binaries.py'],
761   },
762   {
763     # Ensure that while generating dependencies lists in .gyp files we don't
764     # accidentally reference any .pyc files whose corresponding .py files have
765     # already been deleted.
766     # We should actually try to avoid generating .pyc files, crbug.com/500078.
767     'name': 'remove_stale_pyc_files',
768     'pattern': '.',
769     'action': [
770         'python',
771         'src/tools/remove_stale_pyc_files.py',
772         'src/android_webview/tools',
773         'src/gpu/gles2_conform_support',
774         'src/ppapi',
775         'src/printing',
776         'src/third_party/closure_compiler/build',
777         'src/tools',
778     ],
779   },
780   {
781     # A change to a .gyp, .gypi, or to GYP itself should run the generator.
782     'name': 'gyp',
783     'pattern': '.',
784     'action': ['python', 'src/build/gyp_chromium'],
785   },
786   {
787     # Verify committers' ~/.netc, gclient and git are properly configured for
788     # write access to the git repo. To be removed sometime after Chrome to git
789     # migration completes (let's say Sep 1 2014).
790     'name': 'check_git_config',
791     'pattern': '.',
792     'action': [
793         'python',
794         'src/tools/check_git_config.py',
795         '--running-as-hook',
796     ],
797   },