custom-tabs: Refactor ChromeBrowserConnection to isolate per-session values.
[chromium-blink-merge.git] / DEPS
blobf4c0e638a9ebda089eb6d1351022a380a73d40c5
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': 'c5b705a82e3a94331b7f045146def775a55abb9f', # from svn revision 196400
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': 'ce09a28d0cf069daed28e36cb0123568a2c20eb6',
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': '78060e4f6e018ab01416438dd019b2b45b13b130',
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': 'f33cdd54d5d5340d8a662048d9cf4abe7d5f0488',
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': '8a228f5bfe82e8178fc42262a1cc21e82c3f8bf8',
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': 'ec2d51e124a58435534985710f421145d10b093e',
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' + '@' + '473c6c4e8722676153d3449c67094aa55d6f6799',
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' + '@' + 'f1ad7f9ba957571dc692ea3e187612c685615e19',
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/cacheinvalidation/src':
153     Var('chromium_git') + '/external/google-cache-invalidation-api/src.git' + '@' + '0fbfe801cca467fa986ebe08d34012342aa47e55', # from svn revision 342
155   'src/third_party/leveldatabase/src':
156     Var('chromium_git') + '/external/leveldb.git' + '@' + '251ebf5dc70129ad3c38193fe6c99a5b0ec6b9fa',
158   'src/third_party/snappy/src':
159     Var('chromium_git') + '/external/snappy.git' + '@' + '762bb32f0c9d2f31ba4958c7c0933d22e80c20bf',
161   'src/tools/grit':
162     Var('chromium_git') + '/external/grit-i18n.git' + '@' + 'c1b1591a05209c1ad467e845ba8543c22f9072af', # from svn revision 189
164   'src/tools/gyp':
165     Var('chromium_git') + '/external/gyp.git' + '@' + '29e94a3285ee899d14d5e56a6001682620d3778f',
167   'src/tools/swarming_client':
168    Var('chromium_git') + '/external/swarming.client.git' + '@' +  Var('swarming_revision'),
170   'src/v8':
171     Var('chromium_git') + '/v8/v8.git' + '@' +  Var('v8_revision'),
173   'src/native_client':
174    Var('chromium_git') + '/native_client/src/native_client.git' + '@' + Var('nacl_revision'),
176   'src/third_party/sfntly/cpp/src':
177     Var('chromium_git') + '/external/sfntly/cpp/src.git' + '@' +  Var('sfntly_revision'),
179   'src/third_party/skia':
180    Var('chromium_git') + '/skia.git' + '@' +  Var('skia_revision'),
182   'src/tools/page_cycler/acid3':
183    Var('chromium_git') + '/chromium/deps/acid3.git' + '@' + '6be0a66a1ebd7ebc5abc1b2f405a945f6d871521',
185   'src/chrome/test/data/perf/canvas_bench':
186    Var('chromium_git') + '/chromium/canvas_bench.git' + '@' + 'a7b40ea5ae0239517d78845a5fc9b12976bfc732',
188   'src/chrome/test/data/perf/frame_rate/content':
189    Var('chromium_git') + '/chromium/frame_rate/content.git' + '@' + 'c10272c88463efeef6bb19c9ec07c42bc8fe22b9',
191   'src/third_party/bidichecker':
192     Var('chromium_git') + '/external/bidichecker/lib.git' + '@' + '97f2aa645b74c28c57eca56992235c79850fa9e0',
194   'src/third_party/webgl/src':
195    Var('chromium_git') + '/external/khronosgroup/webgl.git' + '@' + '1e318b3f0ad952d22477151eec98d37fa08e5bc7',
197   'src/third_party/webdriver/pylib':
198     Var('chromium_git') + '/external/selenium/py.git' + '@' + '5fd78261a75fe08d27ca4835fb6c5ce4b42275bd',
200   'src/third_party/libvpx':
201    Var('chromium_git') + '/chromium/deps/libvpx.git' + '@' +  Var('libvpx_revision'),
203   'src/third_party/ffmpeg':
204    Var('chromium_git') + '/chromium/third_party/ffmpeg.git' + '@' + 'c0f05636c4472e5d3c0045ec34464aec46c5fb70',
206   'src/third_party/libjingle/source/talk':
207     Var('chromium_git') + '/external/webrtc/trunk/talk.git' + '@' + '9329d80ec7306d3c2ee3bc3c17508956627ddeff', # commit position 9354
209   'src/third_party/usrsctp/usrsctplib':
210     Var('chromium_git') + '/external/usrsctplib.git' + '@' + '36444a999739e9e408f8f587cb4c3ffeef2e50ac', # from svn revision 9215
212   'src/third_party/libsrtp':
213    Var('chromium_git') + '/chromium/deps/libsrtp.git' + '@' + '9c53f858cddd4d890e405e91ff3af0b48dfd90e6', # from svn revision 295151
215   'src/third_party/yasm/source/patched-yasm':
216    Var('chromium_git') + '/chromium/deps/yasm/patched-yasm.git' + '@' + '4671120cd8558ce62ee8672ebf3eb6f5216f909b',
218   'src/third_party/libjpeg_turbo':
219    Var('chromium_git') + '/chromium/deps/libjpeg_turbo.git' + '@' + '8ee9bdd068effcf5fe876e401829eadb94569750',
221   'src/third_party/flac':
222    Var('chromium_git') + '/chromium/deps/flac.git' + '@' + '0635a091379d9677f1ddde5f2eec85d0f096f219',
224   'src/third_party/pyftpdlib/src':
225     Var('chromium_git') + '/external/pyftpdlib.git' + '@' + '2be6d65e31c7ee6320d059f581f05ae8d89d7e45',
227   'src/third_party/scons-2.0.1':
228    Var('chromium_git') + '/native_client/src/third_party/scons-2.0.1.git' + '@' + '1c1550e17fc26355d08627fbdec13d8291227067',
230   'src/third_party/webrtc':
231     Var('chromium_git') + '/external/webrtc/trunk/webrtc.git' + '@' + '13eda41c8f674fa500743161c0a17581dd58e41c', # commit position 9354
233   'src/third_party/openmax_dl':
234     Var('chromium_git') + '/external/webrtc/deps/third_party/openmax.git' + '@' +  Var('openmax_dl_revision'),
236   'src/third_party/jsoncpp/source':
237     Var('chromium_git') + '/external/github.com/open-source-parsers/jsoncpp.git' + '@' + 'f572e8e42e22cfcf5ab0aea26574f408943edfa4', # from svn 248
239   'src/third_party/libyuv':
240     Var('chromium_git') + '/external/libyuv.git' + '@' + '35aa92a1ea1bbcca6bf97e69e7a65f1caa987675', # from svn revision 1385
242   'src/third_party/smhasher/src':
243     Var('chromium_git') + '/external/smhasher.git' + '@' + 'e87738e57558e0ec472b2fc3a643b838e5b6e88f',
245   'src/third_party/libaddressinput/src':
246     Var('chromium_git') + '/external/libaddressinput.git' + '@' + '61f63da7ae6fa469138d60dec5d6bbecc6ab43d6',
248   # These are all at libphonenumber r728.
249   'src/third_party/libphonenumber/src/phonenumbers':
250     Var('chromium_git') + '/external/libphonenumber/cpp/src/phonenumbers.git' + '@' + '0d6e3e50e17c94262ad1ca3b7d52b11223084bca',
251   'src/third_party/libphonenumber/src/test':
252     Var('chromium_git') + '/external/libphonenumber/cpp/test.git' + '@' + 'f351a7e007f9c9995494499120bbc361ca808a16',
253   'src/third_party/libphonenumber/src/resources':
254     Var('chromium_git') + '/external/libphonenumber/resources.git' + '@' + 'b6dfdc7952571ff7ee72643cd88c988cbe966396',
256   'src/tools/deps2git':
257    Var('chromium_git') + '/chromium/tools/deps2git.git' + '@' + 'f04828eb0b5acd3e7ad983c024870f17f17b06d9',
259   'src/third_party/webpagereplay':
260    Var('chromium_git') + '/external/github.com/chromium/web-page-replay.git' + '@' + 'e53550b73e8e098938a651bc8ceb3681e5980567',
262   'src/third_party/pywebsocket/src':
263     Var('chromium_git') + '/external/pywebsocket/src.git' + '@' + 'cb349e87ddb30ff8d1fa1a89be39cec901f4a29c',
265   'src/third_party/opus/src':
266    Var('chromium_git') + '/chromium/deps/opus.git' + '@' + 'cae696156f1e60006e39821e79a1811ae1933c69',
268   'src/media/cdm/ppapi/api':
269    Var('chromium_git') + '/chromium/cdm.git' + '@' + '7377023e384f296cbb27644eb2c485275f1f92e8', # from svn revision 294518
271   'src/third_party/mesa/src':
272    Var('chromium_git') + '/chromium/deps/mesa.git' + '@' + '071d25db04c23821a12a8b260ab9d96a097402f0',
274   'src/third_party/cld_2/src':
275     Var('chromium_git') + '/external/cld2.git' + '@' + '14d9ef8d4766326f8aa7de54402d1b9c782d4481', # from svn revision 193
277   'src/third_party/pdfium':
278    'https://pdfium.googlesource.com/pdfium.git' + '@' +  Var('pdfium_revision'),
280   'src/third_party/boringssl/src':
281    'https://boringssl.googlesource.com/boringssl.git' + '@' +  Var('boringssl_revision'),
283   'src/third_party/py_trace_event/src':
284     Var('chromium_git') + '/external/py_trace_event.git' + '@' + 'dd463ea9e2c430de2b9e53dea57a77b4c3ac9b30',
286   'src/third_party/dom_distiller_js/dist':
287     Var('chromium_git') + '/external/github.com/chromium/dom-distiller-dist.git' + '@' + '4948eb81dc84578e58a59b8ef493ce946cd00b0f',
291 deps_os = {
292   'win': {
293     'src/chrome/tools/test/reference_build/chrome_win':
294      Var('chromium_git') + '/chromium/reference_builds/chrome_win.git' + '@' + 'f8a3a845dfc845df6b14280f04f86a61959357ef',
296     'src/third_party/cygwin':
297      Var('chromium_git') + '/chromium/deps/cygwin.git' + '@' + 'c89e446b273697fadf3a10ff1007a97c0b7de6df',
299     'src/third_party/psyco_win32':
300      Var('chromium_git') + '/chromium/deps/psyco_win32.git' + '@' + 'f5af9f6910ee5a8075bbaeed0591469f1661d868',
302     'src/third_party/bison':
303      Var('chromium_git') + '/chromium/deps/bison.git' + '@' + '083c9a45e4affdd5464ee2b224c2df649c6e26c3',
305     'src/third_party/gperf':
306      Var('chromium_git') + '/chromium/deps/gperf.git' + '@' + 'd892d79f64f9449770443fb06da49b5a1e5d33c1',
308     'src/third_party/perl':
309      Var('chromium_git') + '/chromium/deps/perl.git' + '@' + 'ac0d98b5cee6c024b0cffeb4f8f45b6fc5ccdb78',
311     'src/third_party/lighttpd':
312      Var('chromium_git') + '/chromium/deps/lighttpd.git' + '@' + Var('lighttpd_revision'),
314     # Parses Windows PE/COFF executable format.
315     'src/third_party/pefile':
316      Var('chromium_git') + '/external/pefile.git' + '@' + '72c6ae42396cb913bcab63c15585dc3b5c3f92f1',
318     # NSS, for SSLClientSocketNSS.
319     'src/third_party/nss':
320      Var('chromium_git') + '/chromium/deps/nss.git' + '@' + Var('nss_revision'),
322     # GNU binutils assembler for x86-32.
323     'src/third_party/gnu_binutils':
324       Var('chromium_git') + '/native_client/deps/third_party/gnu_binutils.git' + '@' + 'f4003433b61b25666565690caf3d7a7a1a4ec436',
325     # GNU binutils assembler for x86-64.
326     'src/third_party/mingw-w64/mingw/bin':
327       Var('chromium_git') + '/native_client/deps/third_party/mingw-w64/mingw/bin.git' + '@' + '3cc8b140b883a9fe4986d12cfd46c16a093d3527',
329     # Dependencies used by libjpeg-turbo
330     'src/third_party/yasm/binaries':
331      Var('chromium_git') + '/chromium/deps/yasm/binaries.git' + '@' + '52f9b3f4b0aa06da24ef8b123058bb61ee468881',
333     # Binaries for nacl sdk.
334     'src/third_party/nacl_sdk_binaries':
335      Var('chromium_git') + '/chromium/deps/nacl_sdk_binaries.git' + '@' + '759dfca03bdc774da7ecbf974f6e2b84f43699a5',
336   },
337   'ios': {
338     'src/ios/third_party/gcdwebserver/src':
339      Var('chromium_git') + '/external/github.com/swisspol/GCDWebServer.git' + '@' + '3d5fd0b8281a7224c057deb2d17709b5bea64836',
341     'src/third_party/google_toolbox_for_mac/src':
342       Var('chromium_git') + '/external/google-toolbox-for-mac.git' + '@' + Var('google_toolbox_for_mac_revision'),
344     'src/third_party/nss':
345      Var('chromium_git') + '/chromium/deps/nss.git' + '@' + Var('nss_revision'),
347     # class-dump utility to generate header files for undocumented SDKs
348     'src/third_party/class-dump/src':
349      Var('chromium_git') + '/external/github.com/nygard/class-dump.git' + '@' + '93e7c6a5419380d89656dcc511dc60d475199b67',
351     # Code that's not needed due to not building everything
352     'src/chrome/test/data/perf/canvas_bench': None,
353     'src/chrome/test/data/perf/frame_rate/content': None,
354     'src/native_client': None,
355     'src/third_party/ffmpeg': None,
356     'src/third_party/hunspell_dictionaries': None,
357     'src/third_party/webgl': None,
358   },
359   'mac': {
360     'src/chrome/tools/test/reference_build/chrome_mac':
361      Var('chromium_git') + '/chromium/reference_builds/chrome_mac.git' + '@' + '8dc181329e7c5255f83b4b85dc2f71498a237955',
363     'src/third_party/google_toolbox_for_mac/src':
364       Var('chromium_git') + '/external/google-toolbox-for-mac.git' + '@' + Var('google_toolbox_for_mac_revision'),
367     'src/third_party/pdfsqueeze':
368       Var('chromium_git') + '/external/pdfsqueeze.git' + '@' + '5936b871e6a087b7e50d4cbcb122378d8a07499f',
370     'src/third_party/lighttpd':
371      Var('chromium_git') + '/chromium/deps/lighttpd.git' + '@' + Var('lighttpd_revision'),
373     # NSS, for SSLClientSocketNSS.
374     'src/third_party/nss':
375      Var('chromium_git') + '/chromium/deps/nss.git' + '@' + Var('nss_revision'),
377     'src/chrome/installer/mac/third_party/xz/xz':
378      Var('chromium_git') + '/chromium/deps/xz.git' + '@' + 'eecaf55632ca72e90eb2641376bce7cdbc7284f7',
379   },
380   'unix': {
381     # Linux, really.
382     'src/chrome/tools/test/reference_build/chrome_linux':
383      Var('chromium_git') + '/chromium/reference_builds/chrome_linux64.git' + '@' + '033d053a528e820e1de3e2db766678d862a86b36',
385     'src/third_party/xdg-utils':
386      Var('chromium_git') + '/chromium/deps/xdg-utils.git' + '@' + 'd80274d5869b17b8c9067a1022e4416ee7ed5e0d',
388     'src/third_party/lss':
389       Var('chromium_git') + '/external/linux-syscall-support/lss.git' + '@' + Var('lss_revision'),
391     # For Linux and Chromium OS.
392     'src/third_party/cros_system_api':
393      Var('chromium_git') + '/chromiumos/platform/system_api.git' + '@' + '3b950126eee9cb1c55ab36c2dd5a89bfb05b5034',
395     # Note that this is different from Android's freetype repo.
396     'src/third_party/freetype2/src':
397      Var('chromium_git') + '/chromium/src/third_party/freetype2.git' + '@' + '1dd5f5f4a909866f15c92a45c9702bce290a0151',
399     # Build tools for Chrome OS.
400     'src/third_party/chromite':
401      Var('chromium_git') + '/chromiumos/chromite.git' + '@' + '8a83c625c57a1ad990ba8f5f95890b57d204501f',
403     # Dependency of chromite.git.
404     'src/third_party/pyelftools':
405      Var('chromium_git') + '/chromiumos/third_party/pyelftools.git' + '@' + 'bdc1d380acd88d4bfaf47265008091483b0d614e',
407     'src/third_party/liblouis/src':
408      Var('chromium_git') + '/external/liblouis-github.git' + '@' + '5f9c03f2a3478561deb6ae4798175094be8a26c2',
410     # Used for embedded builds. CrOS & Linux use the system version.
411     'src/third_party/fontconfig/src':
412      Var('chromium_git') + '/external/fontconfig.git' + '@' + 'f16c3118e25546c1b749f9823c51827a60aeb5c1',
414     'src/third_party/stp/src':
415      Var('chromium_git') + '/external/github.com/stp/stp.git' + '@' + 'fc94a599207752ab4d64048204f0c88494811b62',
416   },
417   'android': {
418     'src/third_party/android_protobuf/src':
419      Var('chromium_git') + '/external/android_protobuf.git' + '@' + '94f522f907e3f34f70d9e7816b947e62fddbb267',
421     'src/third_party/android_tools':
422      Var('chromium_git') + '/android_tools.git' + '@' + 'a3afc68f31ed9b32954954da95c855ee73820bd1',
424     'src/third_party/apache-mime4j':
425      Var('chromium_git') + '/chromium/deps/apache-mime4j.git' + '@' + '28cb1108bff4b6cf0a2e86ff58b3d025934ebe3a',
427     'src/third_party/appurify-python/src':
428      Var('chromium_git') + '/external/github.com/appurify/appurify-python.git' + '@' + 'ee7abd5c5ae3106f72b2a0b9d2cb55094688e867',
430     'src/third_party/findbugs':
431      Var('chromium_git') + '/chromium/deps/findbugs.git' + '@' + '7f69fa78a6db6dc31866d09572a0e356e921bf12',
433     'src/third_party/freetype-android/src':
434      Var('chromium_git') + '/chromium/src/third_party/freetype.git' + '@' + 'd1028db70bea988d1022e4d463de66581c696160',
436    'src/third_party/elfutils/src':
437      Var('chromium_git') + '/external/elfutils.git' + '@' + '249673729a7e5dbd5de4f3760bdcaa3d23d154d7',
439     'src/third_party/httpcomponents-client':
440      Var('chromium_git') + '/chromium/deps/httpcomponents-client.git' + '@' + '285c4dafc5de0e853fa845dce5773e223219601c',
442     'src/third_party/httpcomponents-core':
443      Var('chromium_git') + '/chromium/deps/httpcomponents-core.git' + '@' + '9f7180a96f8fa5cab23f793c14b413356d419e62',
445     'src/third_party/jarjar':
446      Var('chromium_git') + '/chromium/deps/jarjar.git' + '@' + '2e1ead4c68c450e0b77fe49e3f9137842b8b6920',
448     'src/third_party/jsr-305/src':
449       Var('chromium_git') + '/external/jsr-305.git' + '@' + '642c508235471f7220af6d5df2d3210e3bfc0919',
451     'src/third_party/junit/src':
452       Var('chromium_git') + '/external/junit.git' + '@' + '45a44647e7306262162e1346b750c3209019f2e1',
454     'src/third_party/mockito/src':
455       Var('chromium_git') + '/external/mockito/mockito.git' + '@' + 'ed99a52e94a84bd7c467f2443b475a22fcc6ba8e',
457     'src/third_party/robolectric/lib':
458       Var('chromium_git') + '/chromium/third_party/robolectric.git' + '@' + '6b63c99a8b6967acdb42cbed0adb067c80efc810',
460     'src/third_party/lss':
461       Var('chromium_git') + '/external/linux-syscall-support/lss.git' + '@' + Var('lss_revision'),
463     'src/third_party/requests/src':
464       Var('chromium_git') + '/external/github.com/kennethreitz/requests.git' + '@' + 'f172b30356d821d180fa4ecfa3e71c7274a32de4',
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 Debian Wheezy sysroot to chrome/installer/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.
540     'name': 'sysroot',
541     'pattern': '.',
542     'action': [
543         'python',
544         'src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py',
545         '--running-as-hook'],
546   },
547   {
548     # Update the Windows toolchain if necessary.
549     'name': 'win_toolchain',
550     'pattern': '.',
551     'action': ['python', 'src/build/vs_toolchain.py', 'update'],
552   },
553   # Pull binutils for linux, enabled debug fission for faster linking /
554   # debugging when used with clang on Ubuntu Precise.
555   # https://code.google.com/p/chromium/issues/detail?id=352046
556   {
557     'name': 'binutils',
558     'pattern': 'src/third_party/binutils',
559     'action': [
560         'python',
561         'src/third_party/binutils/download.py',
562     ],
563   },
564   {
565     # Pull clang if needed or requested via GYP_DEFINES.
566     # Note: On Win, this should run after win_toolchain, as it may use it.
567     'name': 'clang',
568     'pattern': '.',
569     'action': ['python', 'src/tools/clang/scripts/update.py', '--if-needed'],
570   },
571   {
572     # Update LASTCHANGE.
573     'name': 'lastchange',
574     'pattern': '.',
575     'action': ['python', 'src/build/util/lastchange.py',
576                '-o', 'src/build/util/LASTCHANGE'],
577   },
578   {
579     # Update LASTCHANGE.blink.
580     'name': 'lastchange',
581     'pattern': '.',
582     'action': ['python', 'src/build/util/lastchange.py',
583                '-s', 'src/third_party/WebKit',
584                '-o', 'src/build/util/LASTCHANGE.blink'],
585   },
586   # Pull GN binaries. This needs to be before running GYP below.
587   {
588     'name': 'gn_win',
589     'pattern': '.',
590     'action': [ 'download_from_google_storage',
591                 '--no_resume',
592                 '--platform=win32',
593                 '--no_auth',
594                 '--bucket', 'chromium-gn',
595                 '-s', 'src/buildtools/win/gn.exe.sha1',
596     ],
597   },
598   {
599     'name': 'gn_mac',
600     'pattern': '.',
601     'action': [ 'download_from_google_storage',
602                 '--no_resume',
603                 '--platform=darwin',
604                 '--no_auth',
605                 '--bucket', 'chromium-gn',
606                 '-s', 'src/buildtools/mac/gn.sha1',
607     ],
608   },
609   {
610     'name': 'gn_linux64',
611     'pattern': '.',
612     'action': [ 'download_from_google_storage',
613                 '--no_resume',
614                 '--platform=linux*',
615                 '--no_auth',
616                 '--bucket', 'chromium-gn',
617                 '-s', 'src/buildtools/linux64/gn.sha1',
618     ],
619   },
620   # Pull clang-format binaries using checked-in hashes.
621   {
622     'name': 'clang_format_win',
623     'pattern': '.',
624     'action': [ 'download_from_google_storage',
625                 '--no_resume',
626                 '--platform=win32',
627                 '--no_auth',
628                 '--bucket', 'chromium-clang-format',
629                 '-s', 'src/buildtools/win/clang-format.exe.sha1',
630     ],
631   },
632   {
633     'name': 'clang_format_mac',
634     'pattern': '.',
635     'action': [ 'download_from_google_storage',
636                 '--no_resume',
637                 '--platform=darwin',
638                 '--no_auth',
639                 '--bucket', 'chromium-clang-format',
640                 '-s', 'src/buildtools/mac/clang-format.sha1',
641     ],
642   },
643   {
644     'name': 'clang_format_linux',
645     'pattern': '.',
646     'action': [ 'download_from_google_storage',
647                 '--no_resume',
648                 '--platform=linux*',
649                 '--no_auth',
650                 '--bucket', 'chromium-clang-format',
651                 '-s', 'src/buildtools/linux64/clang-format.sha1',
652     ],
653   },
654   # Pull luci-go binaries (isolate, swarming) using checked-in hashes.
655   {
656     'name': 'luci-go_win',
657     'pattern': '.',
658     'action': [ 'download_from_google_storage',
659                 '--no_resume',
660                 '--platform=win32',
661                 '--no_auth',
662                 '--bucket', 'chromium-luci',
663                 '-d', 'src/tools/luci-go/win64',
664     ],
665   },
666   {
667     'name': 'luci-go_mac',
668     'pattern': '.',
669     'action': [ 'download_from_google_storage',
670                 '--no_resume',
671                 '--platform=darwin',
672                 '--no_auth',
673                 '--bucket', 'chromium-luci',
674                 '-d', 'src/tools/luci-go/mac64',
675     ],
676   },
677   {
678     'name': 'luci-go_linux',
679     'pattern': '.',
680     'action': [ 'download_from_google_storage',
681                 '--no_resume',
682                 '--platform=linux*',
683                 '--no_auth',
684                 '--bucket', 'chromium-luci',
685                 '-d', 'src/tools/luci-go/linux64',
686     ],
687   },
688   # Pull eu-strip binaries using checked-in hashes.
689   {
690     'name': 'eu-strip',
691     'pattern': '.',
692     'action': [ 'download_from_google_storage',
693                 '--no_resume',
694                 '--platform=linux*',
695                 '--no_auth',
696                 '--bucket', 'chromium-eu-strip',
697                 '-s', 'src/build/linux/bin/eu-strip.sha1',
698     ],
699   },
700   {
701     'name': 'drmemory',
702     'pattern': '.',
703     'action': [ 'download_from_google_storage',
704                 '--no_resume',
705                 '--platform=win32',
706                 '--no_auth',
707                 '--bucket', 'chromium-drmemory',
708                 '-s', 'src/third_party/drmemory/drmemory-windows-sfx.exe.sha1',
709               ],
710   },
711   # Pull the Syzygy binaries, used for optimization and instrumentation.
712   {
713     'name': 'syzygy-binaries',
714     'pattern': '.',
715     'action': ['python',
716                'src/build/get_syzygy_binaries.py',
717                '--output-dir=src/third_party/syzygy/binaries',
718                '--revision=24bc1affd8aecfdcbe87c0802372ae766bf2507b',
719                '--overwrite',
720     ],
721   },
722   {
723     'name': 'kasko',
724     'pattern': '.',
725     'action': ['python',
726                'src/build/get_syzygy_binaries.py',
727                '--output-dir=src/third_party/kasko',
728                '--revision=b8adaf37ad3beae939ee2db5ae9c0f8b380d2060',
729                '--resource=kasko.zip',
730                '--resource=kasko_symbols.zip',
731                '--overwrite',
732     ],
733   },
734   {
735     'name': 'apache_win32',
736     'pattern': '\\.sha1',
737     'action': [ 'download_from_google_storage',
738                 '--no_resume',
739                 '--platform=win32',
740                 '--directory',
741                 '--recursive',
742                 '--no_auth',
743                 '--num_threads=16',
744                 '--bucket', 'chromium-apache-win32',
745                 'src/third_party/apache-win32',
746     ],
747   },
748   # Pull the mojo_shell binary, used for mojo development
749   {
750     'name': 'download_mojo_shell',
751     'pattern': '',
752     'action': [ 'python',
753                 'src/third_party/mojo/src/mojo/public/tools/download_shell_binary.py',
754                 '--tools-directory=../../../../../../tools',
755               ],
756   },
757   {
758     # Pull sanitizer-instrumented third-party libraries if requested via
759     # GYP_DEFINES.
760     'name': 'instrumented_libraries',
761     'pattern': '\\.sha1',
762     'action': ['python', 'src/third_party/instrumented_libraries/scripts/download_binaries.py'],
763   },
764   {
765     # A change to a .gyp, .gypi, or to GYP itself should run the generator.
766     'name': 'gyp',
767     'pattern': '.',
768     'action': ['python', 'src/build/gyp_chromium'],
769   },
770   {
771     # Verify committers' ~/.netc, gclient and git are properly configured for
772     # write access to the git repo. To be removed sometime after Chrome to git
773     # migration completes (let's say Sep 1 2014).
774     'name': 'check_git_config',
775     'pattern': '.',
776     'action': [
777         'python',
778         'src/tools/check_git_config.py',
779         '--running-as-hook',
780     ],
781   },
782   {
783     # Ensure that we don't accidentally reference any .pyc files whose
784     # corresponding .py files have already been deleted.
785     'name': 'remove_stale_pyc_files',
786     'pattern': 'src/tools/.*\\.py',
787     'action': [
788         'python',
789         'src/tools/remove_stale_pyc_files.py',
790         'src/tools',
791     ],
792   },