Cleaning up CRWBrowsingDataMode
[chromium-blink-merge.git] / DEPS
blobbae54b94e17df519b174635e72c61c4825603ebb
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': 'ea9a19dbf003f4a38de69247a98e31ac8c636b7a', # from svn revision 196571
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': '654e6615e1ef38ae95b9e03f937fb4dae4db7323',
44   'sfntly_revision': '1bdaae8fc788a5ac8936d68bf24f37d977a13dac',
45   'skia_revision': 'b500ffa1a253dca35a7ff846ebece9fe570e3565',
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': 'f4760990c6a0c4a4514a10629a005ee9bc3fc1a1',
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': 'b39a448d8522392389b28f6997126a6ab04bfe87',
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': '10eb591a434c48f0ef9ad2cda2f4867bacd1c9f9',
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': 'fa660d47fa1a6c649d5c29e001348447c55709e6',
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': '7bb4d8dc9e825f484e180205254aee1488cc34dc',
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': '22bb1085a6a0f6f3589a8c3d60ed0a9b82248275',
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': 'af0e32cb84f0c9cc65b9233a3414d2562642b342',
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': 'aab0d08a298b29407397fbb1c4219f99e99431ed', # from svn revision 295435
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': 'ce47a231ea0b238fbe95538e86cc61d74c234be6', # from svn revision 705
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': '6f97298fe3794e92c8c896a6bc06e0b36e4c3de3',
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': 'e255676bce441a5a54072548cd1cf1ed8eaaecad',
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' + '@' + 'd7e4030ff7d38e0d88d7ca39c1c1222940bfb3b7', # from svn revision 1456
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' + '@' + '23574bf2333f834ff665f894c97bef8a5b33a0a9', # from svn revision 711
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' + '@' + '00c42ae7bdcf40d15c02b87e088c1eb565a51333',
134   'src/third_party/trace-viewer':
135    Var('chromium_git') + '/external/trace-viewer.git' + '@' + 'cd91381c069ce9a6db35f335999759fab6dac7b9',
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' + '@' + '9939a5d5314b6d59d5fb070902d73304c2482f88',
143   'src/third_party/libexif/sources':
144    Var('chromium_git') + '/chromium/deps/libexif/sources.git' + '@' + 'ed98343daabd7b4497f97fda972e132e6877c48a',
146   'src/third_party/hunspell_dictionaries':
147    Var('chromium_git') + '/chromium/deps/hunspell_dictionaries.git' + '@' + '80796932b89ab36431399d76c5b8391ea471e30a', # from svn revision 294404
149   'src/third_party/safe_browsing/testing':
150     Var('chromium_git') + '/external/google-safe-browsing/testing.git' + '@' + '9d7e8064f3ca2e45891470c9b5b1dce54af6a9d6',
152   'src/third_party/leveldatabase/src':
153     Var('chromium_git') + '/external/leveldb.git' + '@' + '251ebf5dc70129ad3c38193fe6c99a5b0ec6b9fa',
155   'src/third_party/snappy/src':
156     Var('chromium_git') + '/external/snappy.git' + '@' + '762bb32f0c9d2f31ba4958c7c0933d22e80c20bf',
158   'src/tools/grit':
159     Var('chromium_git') + '/external/grit-i18n.git' + '@' + 'c1b1591a05209c1ad467e845ba8543c22f9072af', # from svn revision 189
161   'src/tools/gyp':
162     Var('chromium_git') + '/external/gyp.git' + '@' + '29e94a3285ee899d14d5e56a6001682620d3778f',
164   'src/tools/swarming_client':
165    Var('chromium_git') + '/external/swarming.client.git' + '@' +  Var('swarming_revision'),
167   'src/v8':
168     Var('chromium_git') + '/v8/v8.git' + '@' +  Var('v8_revision'),
170   'src/native_client':
171    Var('chromium_git') + '/native_client/src/native_client.git' + '@' + Var('nacl_revision'),
173   'src/third_party/sfntly/cpp/src':
174     Var('chromium_git') + '/external/sfntly/cpp/src.git' + '@' +  Var('sfntly_revision'),
176   'src/third_party/skia':
177    Var('chromium_git') + '/skia.git' + '@' +  Var('skia_revision'),
179   'src/tools/page_cycler/acid3':
180    Var('chromium_git') + '/chromium/deps/acid3.git' + '@' + '6be0a66a1ebd7ebc5abc1b2f405a945f6d871521',
182   'src/chrome/test/data/perf/canvas_bench':
183    Var('chromium_git') + '/chromium/canvas_bench.git' + '@' + 'a7b40ea5ae0239517d78845a5fc9b12976bfc732',
185   'src/chrome/test/data/perf/frame_rate/content':
186    Var('chromium_git') + '/chromium/frame_rate/content.git' + '@' + 'c10272c88463efeef6bb19c9ec07c42bc8fe22b9',
188   'src/third_party/bidichecker':
189     Var('chromium_git') + '/external/bidichecker/lib.git' + '@' + '97f2aa645b74c28c57eca56992235c79850fa9e0',
191   'src/third_party/webgl/src':
192    Var('chromium_git') + '/external/khronosgroup/webgl.git' + '@' + '1e318b3f0ad952d22477151eec98d37fa08e5bc7',
194   'src/third_party/webdriver/pylib':
195     Var('chromium_git') + '/external/selenium/py.git' + '@' + '5fd78261a75fe08d27ca4835fb6c5ce4b42275bd',
197   'src/third_party/libvpx':
198    Var('chromium_git') + '/chromium/deps/libvpx.git' + '@' +  Var('libvpx_revision'),
200   'src/third_party/ffmpeg':
201    Var('chromium_git') + '/chromium/third_party/ffmpeg.git' + '@' + 'c0f05636c4472e5d3c0045ec34464aec46c5fb70',
203   'src/third_party/libjingle/source/talk':
204     Var('chromium_git') + '/external/webrtc/trunk/talk.git' + '@' + '78b410bcd08fe61fb91c4e1a307f5f0c7b5f8001', # commit position 9384
206   'src/third_party/usrsctp/usrsctplib':
207     Var('chromium_git') + '/external/usrsctplib.git' + '@' + '36444a999739e9e408f8f587cb4c3ffeef2e50ac', # from svn revision 9215
209   'src/third_party/libsrtp':
210    Var('chromium_git') + '/chromium/deps/libsrtp.git' + '@' + '9c53f858cddd4d890e405e91ff3af0b48dfd90e6', # from svn revision 295151
212   'src/third_party/yasm/source/patched-yasm':
213    Var('chromium_git') + '/chromium/deps/yasm/patched-yasm.git' + '@' + '4671120cd8558ce62ee8672ebf3eb6f5216f909b',
215   'src/third_party/libjpeg_turbo':
216    Var('chromium_git') + '/chromium/deps/libjpeg_turbo.git' + '@' + '8ee9bdd068effcf5fe876e401829eadb94569750',
218   'src/third_party/flac':
219    Var('chromium_git') + '/chromium/deps/flac.git' + '@' + '0635a091379d9677f1ddde5f2eec85d0f096f219',
221   'src/third_party/pyftpdlib/src':
222     Var('chromium_git') + '/external/pyftpdlib.git' + '@' + '2be6d65e31c7ee6320d059f581f05ae8d89d7e45',
224   'src/third_party/scons-2.0.1':
225    Var('chromium_git') + '/native_client/src/third_party/scons-2.0.1.git' + '@' + '1c1550e17fc26355d08627fbdec13d8291227067',
227   'src/third_party/webrtc':
228     Var('chromium_git') + '/external/webrtc/trunk/webrtc.git' + '@' + 'b125ba2d56b2144d88bd692f1f2ca3f8ce116238', # commit position 9384
230   'src/third_party/openmax_dl':
231     Var('chromium_git') + '/external/webrtc/deps/third_party/openmax.git' + '@' +  Var('openmax_dl_revision'),
233   'src/third_party/jsoncpp/source':
234     Var('chromium_git') + '/external/github.com/open-source-parsers/jsoncpp.git' + '@' + 'f572e8e42e22cfcf5ab0aea26574f408943edfa4', # from svn 248
236   'src/third_party/libyuv':
237     Var('chromium_git') + '/external/libyuv.git' + '@' + '35aa92a1ea1bbcca6bf97e69e7a65f1caa987675', # from svn revision 1385
239   'src/third_party/smhasher/src':
240     Var('chromium_git') + '/external/smhasher.git' + '@' + 'e87738e57558e0ec472b2fc3a643b838e5b6e88f',
242   'src/third_party/libaddressinput/src':
243     Var('chromium_git') + '/external/libaddressinput.git' + '@' + '61f63da7ae6fa469138d60dec5d6bbecc6ab43d6',
245   # These are all at libphonenumber r728.
246   'src/third_party/libphonenumber/src/phonenumbers':
247     Var('chromium_git') + '/external/libphonenumber/cpp/src/phonenumbers.git' + '@' + '0d6e3e50e17c94262ad1ca3b7d52b11223084bca',
248   'src/third_party/libphonenumber/src/test':
249     Var('chromium_git') + '/external/libphonenumber/cpp/test.git' + '@' + 'f351a7e007f9c9995494499120bbc361ca808a16',
250   'src/third_party/libphonenumber/src/resources':
251     Var('chromium_git') + '/external/libphonenumber/resources.git' + '@' + 'b6dfdc7952571ff7ee72643cd88c988cbe966396',
253   'src/tools/deps2git':
254    Var('chromium_git') + '/chromium/tools/deps2git.git' + '@' + 'f04828eb0b5acd3e7ad983c024870f17f17b06d9',
256   'src/third_party/webpagereplay':
257    Var('chromium_git') + '/external/github.com/chromium/web-page-replay.git' + '@' + '5da5975950daa7b30a6938da73fd0b3200901b0c',
259   'src/third_party/pywebsocket/src':
260     Var('chromium_git') + '/external/pywebsocket/src.git' + '@' + 'cb349e87ddb30ff8d1fa1a89be39cec901f4a29c',
262   'src/third_party/opus/src':
263    Var('chromium_git') + '/chromium/deps/opus.git' + '@' + 'cae696156f1e60006e39821e79a1811ae1933c69',
265   'src/media/cdm/ppapi/api':
266    Var('chromium_git') + '/chromium/cdm.git' + '@' + '7377023e384f296cbb27644eb2c485275f1f92e8', # from svn revision 294518
268   'src/third_party/mesa/src':
269    Var('chromium_git') + '/chromium/deps/mesa.git' + '@' + '071d25db04c23821a12a8b260ab9d96a097402f0',
271   'src/third_party/cld_2/src':
272     Var('chromium_git') + '/external/cld2.git' + '@' + '14d9ef8d4766326f8aa7de54402d1b9c782d4481', # from svn revision 193
274   'src/third_party/pdfium':
275    'https://pdfium.googlesource.com/pdfium.git' + '@' +  Var('pdfium_revision'),
277   'src/third_party/boringssl/src':
278    'https://boringssl.googlesource.com/boringssl.git' + '@' +  Var('boringssl_revision'),
280   'src/third_party/py_trace_event/src':
281     Var('chromium_git') + '/external/py_trace_event.git' + '@' + 'dd463ea9e2c430de2b9e53dea57a77b4c3ac9b30',
283   'src/third_party/dom_distiller_js/dist':
284     Var('chromium_git') + '/external/github.com/chromium/dom-distiller-dist.git' + '@' + '4948eb81dc84578e58a59b8ef493ce946cd00b0f',
288 deps_os = {
289   'win': {
290     'src/chrome/tools/test/reference_build/chrome_win':
291      Var('chromium_git') + '/chromium/reference_builds/chrome_win.git' + '@' + 'f8a3a845dfc845df6b14280f04f86a61959357ef',
293     'src/third_party/cygwin':
294      Var('chromium_git') + '/chromium/deps/cygwin.git' + '@' + 'c89e446b273697fadf3a10ff1007a97c0b7de6df',
296     'src/third_party/psyco_win32':
297      Var('chromium_git') + '/chromium/deps/psyco_win32.git' + '@' + 'f5af9f6910ee5a8075bbaeed0591469f1661d868',
299     'src/third_party/bison':
300      Var('chromium_git') + '/chromium/deps/bison.git' + '@' + '083c9a45e4affdd5464ee2b224c2df649c6e26c3',
302     'src/third_party/gperf':
303      Var('chromium_git') + '/chromium/deps/gperf.git' + '@' + 'd892d79f64f9449770443fb06da49b5a1e5d33c1',
305     'src/third_party/perl':
306      Var('chromium_git') + '/chromium/deps/perl.git' + '@' + 'ac0d98b5cee6c024b0cffeb4f8f45b6fc5ccdb78',
308     'src/third_party/lighttpd':
309      Var('chromium_git') + '/chromium/deps/lighttpd.git' + '@' + Var('lighttpd_revision'),
311     # Parses Windows PE/COFF executable format.
312     'src/third_party/pefile':
313      Var('chromium_git') + '/external/pefile.git' + '@' + '72c6ae42396cb913bcab63c15585dc3b5c3f92f1',
315     # NSS, for SSLClientSocketNSS.
316     'src/third_party/nss':
317      Var('chromium_git') + '/chromium/deps/nss.git' + '@' + Var('nss_revision'),
319     # GNU binutils assembler for x86-32.
320     'src/third_party/gnu_binutils':
321       Var('chromium_git') + '/native_client/deps/third_party/gnu_binutils.git' + '@' + 'f4003433b61b25666565690caf3d7a7a1a4ec436',
322     # GNU binutils assembler for x86-64.
323     'src/third_party/mingw-w64/mingw/bin':
324       Var('chromium_git') + '/native_client/deps/third_party/mingw-w64/mingw/bin.git' + '@' + '3cc8b140b883a9fe4986d12cfd46c16a093d3527',
326     # Dependencies used by libjpeg-turbo
327     'src/third_party/yasm/binaries':
328      Var('chromium_git') + '/chromium/deps/yasm/binaries.git' + '@' + '52f9b3f4b0aa06da24ef8b123058bb61ee468881',
330     # Binaries for nacl sdk.
331     'src/third_party/nacl_sdk_binaries':
332      Var('chromium_git') + '/chromium/deps/nacl_sdk_binaries.git' + '@' + '759dfca03bdc774da7ecbf974f6e2b84f43699a5',
333   },
334   'ios': {
335     'src/ios/third_party/gcdwebserver/src':
336      Var('chromium_git') + '/external/github.com/swisspol/GCDWebServer.git' + '@' + '3d5fd0b8281a7224c057deb2d17709b5bea64836',
338     'src/third_party/google_toolbox_for_mac/src':
339       Var('chromium_git') + '/external/google-toolbox-for-mac.git' + '@' + Var('google_toolbox_for_mac_revision'),
341     'src/third_party/nss':
342      Var('chromium_git') + '/chromium/deps/nss.git' + '@' + Var('nss_revision'),
344     # class-dump utility to generate header files for undocumented SDKs
345     'src/third_party/class-dump/src':
346      Var('chromium_git') + '/external/github.com/nygard/class-dump.git' + '@' + '93e7c6a5419380d89656dcc511dc60d475199b67',
348     # Code that's not needed due to not building everything
349     'src/chrome/test/data/perf/canvas_bench': None,
350     'src/chrome/test/data/perf/frame_rate/content': None,
351     'src/native_client': None,
352     'src/third_party/ffmpeg': None,
353     'src/third_party/hunspell_dictionaries': None,
354     'src/third_party/webgl': None,
355   },
356   'mac': {
357     'src/chrome/tools/test/reference_build/chrome_mac':
358      Var('chromium_git') + '/chromium/reference_builds/chrome_mac.git' + '@' + '8dc181329e7c5255f83b4b85dc2f71498a237955',
360     'src/third_party/google_toolbox_for_mac/src':
361       Var('chromium_git') + '/external/google-toolbox-for-mac.git' + '@' + Var('google_toolbox_for_mac_revision'),
364     'src/third_party/pdfsqueeze':
365       Var('chromium_git') + '/external/pdfsqueeze.git' + '@' + '5936b871e6a087b7e50d4cbcb122378d8a07499f',
367     'src/third_party/lighttpd':
368      Var('chromium_git') + '/chromium/deps/lighttpd.git' + '@' + Var('lighttpd_revision'),
370     # NSS, for SSLClientSocketNSS.
371     'src/third_party/nss':
372      Var('chromium_git') + '/chromium/deps/nss.git' + '@' + Var('nss_revision'),
374     'src/chrome/installer/mac/third_party/xz/xz':
375      Var('chromium_git') + '/chromium/deps/xz.git' + '@' + 'eecaf55632ca72e90eb2641376bce7cdbc7284f7',
376   },
377   'unix': {
378     # Linux, really.
379     'src/chrome/tools/test/reference_build/chrome_linux':
380      Var('chromium_git') + '/chromium/reference_builds/chrome_linux64.git' + '@' + '033d053a528e820e1de3e2db766678d862a86b36',
382     'src/third_party/xdg-utils':
383      Var('chromium_git') + '/chromium/deps/xdg-utils.git' + '@' + 'd80274d5869b17b8c9067a1022e4416ee7ed5e0d',
385     'src/third_party/lss':
386       Var('chromium_git') + '/external/linux-syscall-support/lss.git' + '@' + Var('lss_revision'),
388     # For Linux and Chromium OS.
389     'src/third_party/cros_system_api':
390      Var('chromium_git') + '/chromiumos/platform/system_api.git' + '@' + '3b950126eee9cb1c55ab36c2dd5a89bfb05b5034',
392     # Note that this is different from Android's freetype repo.
393     'src/third_party/freetype2/src':
394      Var('chromium_git') + '/chromium/src/third_party/freetype2.git' + '@' + '1dd5f5f4a909866f15c92a45c9702bce290a0151',
396     # Build tools for Chrome OS.
397     'src/third_party/chromite':
398      Var('chromium_git') + '/chromiumos/chromite.git' + '@' + '8a83c625c57a1ad990ba8f5f95890b57d204501f',
400     # Dependency of chromite.git.
401     'src/third_party/pyelftools':
402      Var('chromium_git') + '/chromiumos/third_party/pyelftools.git' + '@' + 'bdc1d380acd88d4bfaf47265008091483b0d614e',
404     'src/third_party/liblouis/src':
405      Var('chromium_git') + '/external/liblouis-github.git' + '@' + '5f9c03f2a3478561deb6ae4798175094be8a26c2',
407     # Used for embedded builds. CrOS & Linux use the system version.
408     'src/third_party/fontconfig/src':
409      Var('chromium_git') + '/external/fontconfig.git' + '@' + 'f16c3118e25546c1b749f9823c51827a60aeb5c1',
411     'src/third_party/stp/src':
412      Var('chromium_git') + '/external/github.com/stp/stp.git' + '@' + 'fc94a599207752ab4d64048204f0c88494811b62',
413   },
414   'android': {
415     'src/third_party/android_protobuf/src':
416      Var('chromium_git') + '/external/android_protobuf.git' + '@' + '94f522f907e3f34f70d9e7816b947e62fddbb267',
418     'src/third_party/android_tools':
419      Var('chromium_git') + '/android_tools.git' + '@' + 'a3afc68f31ed9b32954954da95c855ee73820bd1',
421     'src/third_party/apache-mime4j':
422      Var('chromium_git') + '/chromium/deps/apache-mime4j.git' + '@' + '28cb1108bff4b6cf0a2e86ff58b3d025934ebe3a',
424     'src/third_party/appurify-python/src':
425      Var('chromium_git') + '/external/github.com/appurify/appurify-python.git' + '@' + 'ee7abd5c5ae3106f72b2a0b9d2cb55094688e867',
427     'src/third_party/findbugs':
428      Var('chromium_git') + '/chromium/deps/findbugs.git' + '@' + '7f69fa78a6db6dc31866d09572a0e356e921bf12',
430     'src/third_party/freetype-android/src':
431      Var('chromium_git') + '/chromium/src/third_party/freetype.git' + '@' + 'd1028db70bea988d1022e4d463de66581c696160',
433    'src/third_party/elfutils/src':
434      Var('chromium_git') + '/external/elfutils.git' + '@' + '249673729a7e5dbd5de4f3760bdcaa3d23d154d7',
436     'src/third_party/httpcomponents-client':
437      Var('chromium_git') + '/chromium/deps/httpcomponents-client.git' + '@' + '285c4dafc5de0e853fa845dce5773e223219601c',
439     'src/third_party/httpcomponents-core':
440      Var('chromium_git') + '/chromium/deps/httpcomponents-core.git' + '@' + '9f7180a96f8fa5cab23f793c14b413356d419e62',
442     'src/third_party/jarjar':
443      Var('chromium_git') + '/chromium/deps/jarjar.git' + '@' + '2e1ead4c68c450e0b77fe49e3f9137842b8b6920',
445     'src/third_party/jsr-305/src':
446       Var('chromium_git') + '/external/jsr-305.git' + '@' + '642c508235471f7220af6d5df2d3210e3bfc0919',
448     'src/third_party/junit/src':
449       Var('chromium_git') + '/external/junit.git' + '@' + '45a44647e7306262162e1346b750c3209019f2e1',
451     'src/third_party/mockito/src':
452       Var('chromium_git') + '/external/mockito/mockito.git' + '@' + 'ed99a52e94a84bd7c467f2443b475a22fcc6ba8e',
454     'src/third_party/robolectric/lib':
455       Var('chromium_git') + '/chromium/third_party/robolectric.git' + '@' + '6b63c99a8b6967acdb42cbed0adb067c80efc810',
457     'src/third_party/lss':
458       Var('chromium_git') + '/external/linux-syscall-support/lss.git' + '@' + Var('lss_revision'),
460     'src/third_party/requests/src':
461       Var('chromium_git') + '/external/github.com/kennethreitz/requests.git' + '@' + 'f172b30356d821d180fa4ecfa3e71c7274a32de4',
463   },
467 include_rules = [
468   # Everybody can use some things.
469   # NOTE: THIS HAS TO STAY IN SYNC WITH third_party/DEPS which disallows these.
470   '+base',
471   '+build',
472   '+ipc',
474   # Everybody can use headers generated by tools/generate_library_loader.
475   '+library_loaders',
477   '+testing',
478   '+third_party/icu/source/common/unicode',
479   '+third_party/icu/source/i18n/unicode',
480   '+url',
484 # checkdeps.py shouldn't check include paths for files in these dirs:
485 skip_child_includes = [
486   'breakpad',
487   'native_client_sdk',
488   'out',
489   'sdch',
490   'skia',
491   'testing',
492   'v8',
493   'win8',
497 hooks = [
498   {
499     # This clobbers when necessary (based on get_landmines.py). It must be the
500     # first hook so that other things that get/generate into the output
501     # directory will not subsequently be clobbered.
502     'name': 'landmines',
503     'pattern': '.',
504     'action': [
505         'python',
506         'src/build/landmines.py',
507     ],
508   },
509   {
510     # This downloads binaries for Native Client's newlib toolchain.
511     # Done in lieu of building the toolchain from scratch as it can take
512     # anywhere from 30 minutes to 4 hours depending on platform to build.
513     'name': 'nacltools',
514     'pattern': '.',
515     'action': [
516         'python',
517         'src/build/download_nacl_toolchains.py',
518         '--mode', 'nacl_core_sdk',
519         'sync', '--extract',
520     ],
521   },
522   {
523     # This downloads SDK extras and puts them in the
524     # third_party/android_tools/sdk/extras directory on the bots. Developers
525     # need to manually install these packages and accept the ToS.
526     'name': 'sdkextras',
527     'pattern': '.',
528     # When adding a new sdk extras package to download, add the package
529     # directory and zip file to .gitignore in third_party/android_tools.
530     'action': ['python', 'src/build/download_sdk_extras.py'],
531   },
532   {
533     # Downloads the Debian Wheezy sysroot to chrome/installer/linux if needed.
534     # This sysroot updates at about the same rate that the chrome build deps
535     # change. This script is a no-op except for linux users who are doing
536     # official chrome builds.
537     'name': 'sysroot',
538     'pattern': '.',
539     'action': [
540         'python',
541         'src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py',
542         '--running-as-hook'],
543   },
544   {
545     # Update the Windows toolchain if necessary.
546     'name': 'win_toolchain',
547     'pattern': '.',
548     'action': ['python', 'src/build/vs_toolchain.py', 'update'],
549   },
550   # Pull binutils for linux, enabled debug fission for faster linking /
551   # debugging when used with clang on Ubuntu Precise.
552   # https://code.google.com/p/chromium/issues/detail?id=352046
553   {
554     'name': 'binutils',
555     'pattern': 'src/third_party/binutils',
556     'action': [
557         'python',
558         'src/third_party/binutils/download.py',
559     ],
560   },
561   {
562     # Pull clang if needed or requested via GYP_DEFINES.
563     # Note: On Win, this should run after win_toolchain, as it may use it.
564     'name': 'clang',
565     'pattern': '.',
566     'action': ['python', 'src/tools/clang/scripts/update.py', '--if-needed'],
567   },
568   {
569     # Update LASTCHANGE.
570     'name': 'lastchange',
571     'pattern': '.',
572     'action': ['python', 'src/build/util/lastchange.py',
573                '-o', 'src/build/util/LASTCHANGE'],
574   },
575   {
576     # Update LASTCHANGE.blink.
577     'name': 'lastchange',
578     'pattern': '.',
579     'action': ['python', 'src/build/util/lastchange.py',
580                '-s', 'src/third_party/WebKit',
581                '-o', 'src/build/util/LASTCHANGE.blink'],
582   },
583   # Pull GN binaries. This needs to be before running GYP below.
584   {
585     'name': 'gn_win',
586     'pattern': '.',
587     'action': [ 'download_from_google_storage',
588                 '--no_resume',
589                 '--platform=win32',
590                 '--no_auth',
591                 '--bucket', 'chromium-gn',
592                 '-s', 'src/buildtools/win/gn.exe.sha1',
593     ],
594   },
595   {
596     'name': 'gn_mac',
597     'pattern': '.',
598     'action': [ 'download_from_google_storage',
599                 '--no_resume',
600                 '--platform=darwin',
601                 '--no_auth',
602                 '--bucket', 'chromium-gn',
603                 '-s', 'src/buildtools/mac/gn.sha1',
604     ],
605   },
606   {
607     'name': 'gn_linux64',
608     'pattern': '.',
609     'action': [ 'download_from_google_storage',
610                 '--no_resume',
611                 '--platform=linux*',
612                 '--no_auth',
613                 '--bucket', 'chromium-gn',
614                 '-s', 'src/buildtools/linux64/gn.sha1',
615     ],
616   },
617   # Pull clang-format binaries using checked-in hashes.
618   {
619     'name': 'clang_format_win',
620     'pattern': '.',
621     'action': [ 'download_from_google_storage',
622                 '--no_resume',
623                 '--platform=win32',
624                 '--no_auth',
625                 '--bucket', 'chromium-clang-format',
626                 '-s', 'src/buildtools/win/clang-format.exe.sha1',
627     ],
628   },
629   {
630     'name': 'clang_format_mac',
631     'pattern': '.',
632     'action': [ 'download_from_google_storage',
633                 '--no_resume',
634                 '--platform=darwin',
635                 '--no_auth',
636                 '--bucket', 'chromium-clang-format',
637                 '-s', 'src/buildtools/mac/clang-format.sha1',
638     ],
639   },
640   {
641     'name': 'clang_format_linux',
642     'pattern': '.',
643     'action': [ 'download_from_google_storage',
644                 '--no_resume',
645                 '--platform=linux*',
646                 '--no_auth',
647                 '--bucket', 'chromium-clang-format',
648                 '-s', 'src/buildtools/linux64/clang-format.sha1',
649     ],
650   },
651   # Pull luci-go binaries (isolate, swarming) using checked-in hashes.
652   {
653     'name': 'luci-go_win',
654     'pattern': '.',
655     'action': [ 'download_from_google_storage',
656                 '--no_resume',
657                 '--platform=win32',
658                 '--no_auth',
659                 '--bucket', 'chromium-luci',
660                 '-d', 'src/tools/luci-go/win64',
661     ],
662   },
663   {
664     'name': 'luci-go_mac',
665     'pattern': '.',
666     'action': [ 'download_from_google_storage',
667                 '--no_resume',
668                 '--platform=darwin',
669                 '--no_auth',
670                 '--bucket', 'chromium-luci',
671                 '-d', 'src/tools/luci-go/mac64',
672     ],
673   },
674   {
675     'name': 'luci-go_linux',
676     'pattern': '.',
677     'action': [ 'download_from_google_storage',
678                 '--no_resume',
679                 '--platform=linux*',
680                 '--no_auth',
681                 '--bucket', 'chromium-luci',
682                 '-d', 'src/tools/luci-go/linux64',
683     ],
684   },
685   # Pull eu-strip binaries using checked-in hashes.
686   {
687     'name': 'eu-strip',
688     'pattern': '.',
689     'action': [ 'download_from_google_storage',
690                 '--no_resume',
691                 '--platform=linux*',
692                 '--no_auth',
693                 '--bucket', 'chromium-eu-strip',
694                 '-s', 'src/build/linux/bin/eu-strip.sha1',
695     ],
696   },
697   {
698     'name': 'drmemory',
699     'pattern': '.',
700     'action': [ 'download_from_google_storage',
701                 '--no_resume',
702                 '--platform=win32',
703                 '--no_auth',
704                 '--bucket', 'chromium-drmemory',
705                 '-s', 'src/third_party/drmemory/drmemory-windows-sfx.exe.sha1',
706               ],
707   },
708   # Pull the Syzygy binaries, used for optimization and instrumentation.
709   {
710     'name': 'syzygy-binaries',
711     'pattern': '.',
712     'action': ['python',
713                'src/build/get_syzygy_binaries.py',
714                '--output-dir=src/third_party/syzygy/binaries',
715                '--revision=24bc1affd8aecfdcbe87c0802372ae766bf2507b',
716                '--overwrite',
717     ],
718   },
719   {
720     'name': 'kasko',
721     'pattern': '.',
722     'action': ['python',
723                'src/build/get_syzygy_binaries.py',
724                '--output-dir=src/third_party/kasko',
725                '--revision=b8adaf37ad3beae939ee2db5ae9c0f8b380d2060',
726                '--resource=kasko.zip',
727                '--resource=kasko_symbols.zip',
728                '--overwrite',
729     ],
730   },
731   {
732     'name': 'apache_win32',
733     'pattern': '\\.sha1',
734     'action': [ 'download_from_google_storage',
735                 '--no_resume',
736                 '--platform=win32',
737                 '--directory',
738                 '--recursive',
739                 '--no_auth',
740                 '--num_threads=16',
741                 '--bucket', 'chromium-apache-win32',
742                 'src/third_party/apache-win32',
743     ],
744   },
745   # Pull the mojo_shell binary, used for mojo development
746   {
747     'name': 'download_mojo_shell',
748     'pattern': '',
749     'action': [ 'python',
750                 'src/third_party/mojo/src/mojo/public/tools/download_shell_binary.py',
751                 '--tools-directory=../../../../../../tools',
752               ],
753   },
754   {
755     # Pull sanitizer-instrumented third-party libraries if requested via
756     # GYP_DEFINES.
757     'name': 'instrumented_libraries',
758     'pattern': '\\.sha1',
759     'action': ['python', 'src/third_party/instrumented_libraries/scripts/download_binaries.py'],
760   },
761   {
762     # A change to a .gyp, .gypi, or to GYP itself should run the generator.
763     'name': 'gyp',
764     'pattern': '.',
765     'action': ['python', 'src/build/gyp_chromium'],
766   },
767   {
768     # Verify committers' ~/.netc, gclient and git are properly configured for
769     # write access to the git repo. To be removed sometime after Chrome to git
770     # migration completes (let's say Sep 1 2014).
771     'name': 'check_git_config',
772     'pattern': '.',
773     'action': [
774         'python',
775         'src/tools/check_git_config.py',
776         '--running-as-hook',
777     ],
778   },
779   {
780     # Ensure that we don't accidentally reference any .pyc files whose
781     # corresponding .py files have already been deleted.
782     'name': 'remove_stale_pyc_files',
783     'pattern': 'src/tools/.*\\.py',
784     'action': [
785         'python',
786         'src/tools/remove_stale_pyc_files.py',
787         'src/tools',
788     ],
789   },