android: add gyp rules for platform android_window
[chromium-blink-merge.git] / DEPS
blob2d9d97a7509f72470f0a3d0cbdcf17a49c3f2c57
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 optionally
21 #  # a regex that will match the line in this file that contains the current
22 #  # revision. The script ALWAYS rolls the dependency to the latest revision
23 #  # in origin/master. The path for the dep should start with src/.
24 #  roll-dep src/third_party/foo_package/src foo_package.git
25 #  # You should now have a modified DEPS file; commit and upload as normal
26 #  git commit -a
27 #  git cl upload
30 vars = {
31   # Use this googlecode_url variable only if there is an internal mirror for it.
32   # If you do not know, use the full path while defining your new deps entry.
33   'googlecode_url': 'http://%s.googlecode.com/svn',
34   'webkit_revision': '039d183a6198e0184796792c1d63531fbcbc41f3', # from svn revision 200919
35   'chromium_git': 'https://chromium.googlesource.com',
36   'libvpx_revision': '353a626bb6e349e98752e830b98d2920cbb73f83',
37   'sfntly_revision': '1bdaae8fc788a5ac8936d68bf24f37d977a13dac',
38   'skia_revision': '2f0dbc761a626473c19db7de561c7072b12953c5',
39   # Three lines of non-changing comments so that
40   # the commit queue can handle CLs rolling V8
41   # and whatever else without interference from each other.
42   'v8_revision': '24d34a8ae3cad186792fb1e44e2d7c00d49cd181',
43   # Three lines of non-changing comments so that
44   # the commit queue can handle CLs rolling swarming_client
45   # and whatever else without interference from each other.
46   'swarming_revision': '2866a22530cb65feae5d9f64c83636aed5391d06',
47   # Three lines of non-changing comments so that
48   # the commit queue can handle CLs rolling ANGLE
49   # and whatever else without interference from each other.
50   'angle_revision': '1e9497997f5dc513e7ff00c9363047b733cdf32d',
51   # Three lines of non-changing comments so that
52   # the commit queue can handle CLs rolling build tools
53   # and whatever else without interference from each other.
54   'buildtools_revision': '565d04e8741429fb1b4f26d102f2c6c3b849edeb',
55   # Three lines of non-changing comments so that
56   # the commit queue can handle CLs rolling PDFium
57   # and whatever else without interference from each other.
58   'pdfium_revision': 'a2b3ae23556fb2f1adbc008574f33bf365476af9',
59   # Three lines of non-changing comments so that
60   # the commit queue can handle CLs rolling openmax_dl
61   # and whatever else without interference from each other.
62   'openmax_dl_revision': '22bb1085a6a0f6f3589a8c3d60ed0a9b82248275',
63   # Three lines of non-changing comments so that
64   # the commit queue can handle CLs rolling BoringSSL
65   # and whatever else without interference from each other.
66   'boringssl_revision': '12fe1b25ead258858309d22ffa9e1f9a316358d7',
67   # Three lines of non-changing comments so that
68   # the commit queue can handle CLs rolling nss
69   # and whatever else without interference from each other.
70   'nss_revision': 'aab0d08a298b29407397fbb1c4219f99e99431ed', # from svn revision 295435
71   # Three lines of non-changing comments so that
72   # the commit queue can handle CLs rolling google-toolbox-for-mac
73   # and whatever else without interference from each other.
74   'google_toolbox_for_mac_revision': 'ce47a231ea0b238fbe95538e86cc61d74c234be6', # from svn revision 705
75   # Three lines of non-changing comments so that
76   # the commit queue can handle CLs rolling lighttpd
77   # and whatever else without interference from each other.
78   'lighttpd_revision': '9dfa55d15937a688a92cbf2b7a8621b0927d06eb',
79   # Three lines of non-changing comments so that
80   # the commit queue can handle CLs rolling lss
81   # and whatever else without interference from each other.
82   'lss_revision': '4fc942258fe5509549333b9487ec018e3c8c5b10',
83   # Three lines of non-changing comments so that
84   # the commit queue can handle CLs rolling NaCl
85   # and whatever else without interference from each other.
86   'nacl_revision': '3feb736b8afecd43050c30049d405f824f284836',
89 # Only these hosts are allowed for dependencies in this DEPS file.
90 # If you need to add a new host, contact chrome infrastracture team.
91 allowed_hosts = [
92   'chromium.googlesource.com',
93   'boringssl.googlesource.com',
94   'pdfium.googlesource.com',
95   'android.googlesource.com',
98 deps = {
99   'src/breakpad/src':
100    Var('chromium_git') + '/external/google-breakpad/src.git' + '@' + '242fb9a38db6ba534b1f7daa341dd4d79171658b', # from svn revision 1471
102   'src/buildtools':
103    Var('chromium_git') + '/chromium/buildtools.git' + '@' +  Var('buildtools_revision'),
105   'src/sdch/open-vcdiff':
106    Var('chromium_git') + '/external/github.com/google/open-vcdiff.git' + '@' + '39ff500790fa8038f80bd2fdcd10c35568a12529',
108   'src/testing/gtest':
109    Var('chromium_git') + '/external/googletest.git' + '@' + '9855a87157778d39b95eccfb201a9dc90f6d61c6', # from svn revision 746
111   'src/testing/gmock':
112    Var('chromium_git') + '/external/googlemock.git' + '@' + '0421b6f358139f02e102c9c332ce19a33faf75be', # from svn revision 566
114   'src/third_party/angle':
115    Var('chromium_git') + '/angle/angle.git' + '@' +  Var('angle_revision'),
117   'src/third_party/colorama/src':
118    Var('chromium_git') + '/external/colorama.git' + '@' + '799604a1041e9b3bc5d2789ecbd7e8db2e18e6b8',
120   'src/third_party/crashpad/crashpad':
121    Var('chromium_git') + '/crashpad/crashpad.git' + '@' + '14a22412747a79d9511bdf7505ae8b5f1ba3a2c7',
123   'src/third_party/WebKit':
124    Var('chromium_git') + '/chromium/blink.git' + '@' +  Var('webkit_revision'),
126   'src/third_party/icu':
127    Var('chromium_git') + '/chromium/deps/icu.git' + '@' + '89dcdec16381883782b9cc9cff38e00f047a0f46',
129   'src/third_party/libexif/sources':
130    Var('chromium_git') + '/chromium/deps/libexif/sources.git' + '@' + 'ed98343daabd7b4497f97fda972e132e6877c48a',
132   'src/third_party/hunspell_dictionaries':
133    Var('chromium_git') + '/chromium/deps/hunspell_dictionaries.git' + '@' + 'c106afdcec5d3de2622e19f1b3294c47bbd8bd72',
135   'src/third_party/safe_browsing/testing':
136     Var('chromium_git') + '/external/google-safe-browsing/testing.git' + '@' + '9d7e8064f3ca2e45891470c9b5b1dce54af6a9d6',
138   'src/third_party/leveldatabase/src':
139     Var('chromium_git') + '/external/leveldb.git' + '@' + '40c17c0b84ac0b791fb434096fd5c05f3819ad55',
141   'src/third_party/snappy/src':
142     Var('chromium_git') + '/external/snappy.git' + '@' + '762bb32f0c9d2f31ba4958c7c0933d22e80c20bf',
144   'src/tools/grit':
145     Var('chromium_git') + '/external/grit-i18n.git' + '@' + 'f821b9db63825a88612abe54daff036afd882147', # from svn revision 194
147   'src/tools/gyp':
148     Var('chromium_git') + '/external/gyp.git' + '@' + '6ee91ad8659871916f9aa840d42e1513befdf638',
150   'src/tools/swarming_client':
151    Var('chromium_git') + '/external/swarming.client.git' + '@' +  Var('swarming_revision'),
153   'src/v8':
154     Var('chromium_git') + '/v8/v8.git' + '@' +  Var('v8_revision'),
156   'src/native_client':
157    Var('chromium_git') + '/native_client/src/native_client.git' + '@' + Var('nacl_revision'),
159   'src/third_party/sfntly/cpp/src':
160     Var('chromium_git') + '/external/sfntly/cpp/src.git' + '@' +  Var('sfntly_revision'),
162   'src/third_party/skia':
163    Var('chromium_git') + '/skia.git' + '@' +  Var('skia_revision'),
165   'src/tools/page_cycler/acid3':
166    Var('chromium_git') + '/chromium/deps/acid3.git' + '@' + '6be0a66a1ebd7ebc5abc1b2f405a945f6d871521',
168   'src/chrome/test/data/perf/canvas_bench':
169    Var('chromium_git') + '/chromium/canvas_bench.git' + '@' + 'a7b40ea5ae0239517d78845a5fc9b12976bfc732',
171   'src/chrome/test/data/perf/frame_rate/content':
172    Var('chromium_git') + '/chromium/frame_rate/content.git' + '@' + 'c10272c88463efeef6bb19c9ec07c42bc8fe22b9',
174   'src/third_party/bidichecker':
175     Var('chromium_git') + '/external/bidichecker/lib.git' + '@' + '97f2aa645b74c28c57eca56992235c79850fa9e0',
177   'src/third_party/webgl/src':
178    Var('chromium_git') + '/external/khronosgroup/webgl.git' + '@' + '5bb75e4f10c7cb422cd7314f8bf779c7f4937d22',
180   'src/third_party/webdriver/pylib':
181     Var('chromium_git') + '/external/selenium/py.git' + '@' + '5fd78261a75fe08d27ca4835fb6c5ce4b42275bd',
183   'src/third_party/libvpx':
184    Var('chromium_git') + '/chromium/deps/libvpx.git' + '@' +  Var('libvpx_revision'),
186   'src/third_party/ffmpeg':
187    Var('chromium_git') + '/chromium/third_party/ffmpeg.git' + '@' + '3651d8ef1fe8bf1fab61da6298341470402c991a',
189   'src/third_party/libjingle/source/talk':
190     Var('chromium_git') + '/external/webrtc/trunk/talk.git' + '@' + '74965313b86bfdef6d6e54045e61570f4e070dfe', # commit position 9742
192   'src/third_party/usrsctp/usrsctplib':
193     Var('chromium_git') + '/external/usrsctplib.git' + '@' + '36444a999739e9e408f8f587cb4c3ffeef2e50ac', # from svn revision 9215
195   'src/third_party/libsrtp':
196    Var('chromium_git') + '/chromium/deps/libsrtp.git' + '@' + '502e81a238a864cfce774d4de3893810629bf227', # from svn revision 295151
198   'src/third_party/yasm/source/patched-yasm':
199    Var('chromium_git') + '/chromium/deps/yasm/patched-yasm.git' + '@' + '4671120cd8558ce62ee8672ebf3eb6f5216f909b',
201   'src/third_party/libjpeg_turbo':
202    Var('chromium_git') + '/chromium/deps/libjpeg_turbo.git' + '@' + '631e2dd119d49794e3572b6ca3f16ee39d59f372',
204   'src/third_party/flac':
205    Var('chromium_git') + '/chromium/deps/flac.git' + '@' + 'e1b6e7983a8c54954f13f40772a40f490f1eefca',
207   'src/third_party/pyftpdlib/src':
208     Var('chromium_git') + '/external/pyftpdlib.git' + '@' + '2be6d65e31c7ee6320d059f581f05ae8d89d7e45',
210   'src/third_party/scons-2.0.1':
211    Var('chromium_git') + '/native_client/src/third_party/scons-2.0.1.git' + '@' + '1c1550e17fc26355d08627fbdec13d8291227067',
213   'src/third_party/webrtc':
214     Var('chromium_git') + '/external/webrtc/trunk/webrtc.git' + '@' + '269601759927b6ea83770ba3d51ca278a70f1c1b', # commit position 9745
216   'src/third_party/openmax_dl':
217     Var('chromium_git') + '/external/webrtc/deps/third_party/openmax.git' + '@' +  Var('openmax_dl_revision'),
219   'src/third_party/jsoncpp/source':
220     Var('chromium_git') + '/external/github.com/open-source-parsers/jsoncpp.git' + '@' + 'f572e8e42e22cfcf5ab0aea26574f408943edfa4', # from svn 248
222   'src/third_party/libyuv':
223     Var('chromium_git') + '/libyuv/libyuv.git' + '@' + 'cda9d38a4ef220918adbfacdc2890d75d75f435a', # from version 1466
225   'src/third_party/smhasher/src':
226     Var('chromium_git') + '/external/smhasher.git' + '@' + 'e87738e57558e0ec472b2fc3a643b838e5b6e88f',
228   'src/third_party/libaddressinput/src':
229     Var('chromium_git') + '/external/libaddressinput.git' + '@' + '5eeeb797e79fa01503fcdcbebdc50036fac023ef',
231   # These are all at libphonenumber r728.
232   'src/third_party/libphonenumber/src/phonenumbers':
233     Var('chromium_git') + '/external/libphonenumber/cpp/src/phonenumbers.git' + '@' + '0d6e3e50e17c94262ad1ca3b7d52b11223084bca',
234   'src/third_party/libphonenumber/src/test':
235     Var('chromium_git') + '/external/libphonenumber/cpp/test.git' + '@' + 'f351a7e007f9c9995494499120bbc361ca808a16',
236   'src/third_party/libphonenumber/src/resources':
237     Var('chromium_git') + '/external/libphonenumber/resources.git' + '@' + 'b6dfdc7952571ff7ee72643cd88c988cbe966396',
239   'src/tools/deps2git':
240    Var('chromium_git') + '/chromium/tools/deps2git.git' + '@' + 'f04828eb0b5acd3e7ad983c024870f17f17b06d9',
242   'src/third_party/webpagereplay':
243    Var('chromium_git') + '/external/github.com/chromium/web-page-replay.git' + '@' + '7564939bdf6482d57b9bd5e9c931679f96d8cf75',
245   'src/third_party/pywebsocket/src':
246     Var('chromium_git') + '/external/pywebsocket/src.git' + '@' + 'cb349e87ddb30ff8d1fa1a89be39cec901f4a29c',
248   'src/third_party/opus/src':
249    Var('chromium_git') + '/chromium/deps/opus.git' + '@' + 'cae696156f1e60006e39821e79a1811ae1933c69',
251   'src/media/cdm/ppapi/api':
252    Var('chromium_git') + '/chromium/cdm.git' + '@' + '7377023e384f296cbb27644eb2c485275f1f92e8', # from svn revision 294518
254   'src/third_party/mesa/src':
255    Var('chromium_git') + '/chromium/deps/mesa.git' + '@' + '3918dbd3bced7843af396a0ee9f9da081d968806',
257   'src/third_party/cld_2/src':
258     Var('chromium_git') + '/external/github.com/CLD2Owners/cld2.git' + '@' + '84b58a5d7690ebf05a91406f371ce00c3daf31c0',
260   'src/third_party/libwebm/source':
261    Var('chromium_git') + '/webm/libwebm.git' + '@' + '75a6d2da8b63e0c446ec0ce1ac942c2962d959d7',
263   'src/third_party/pdfium':
264    'https://pdfium.googlesource.com/pdfium.git' + '@' +  Var('pdfium_revision'),
266   'src/third_party/boringssl/src':
267    'https://boringssl.googlesource.com/boringssl.git' + '@' +  Var('boringssl_revision'),
269   'src/third_party/py_trace_event/src':
270     Var('chromium_git') + '/external/py_trace_event.git' + '@' + 'dd463ea9e2c430de2b9e53dea57a77b4c3ac9b30',
272   'src/third_party/dom_distiller_js/dist':
273     Var('chromium_git') + '/external/github.com/chromium/dom-distiller-dist.git' + '@' + '81e5b59da2a7a0a518b90b5ded58670322c98128',
275   'src/third_party/catapult':
276     Var('chromium_git') + '/external/github.com/catapult-project/catapult.git' + '@' +
277     '2da8924915bd6fb7609c518f5b1f63cb606248eb',
281 deps_os = {
282   'win': {
283     'src/chrome/tools/test/reference_build/chrome_win':
284      Var('chromium_git') + '/chromium/reference_builds/chrome_win.git' + '@' + 'f8a3a845dfc845df6b14280f04f86a61959357ef',
286     'src/third_party/cygwin':
287      Var('chromium_git') + '/chromium/deps/cygwin.git' + '@' + 'c89e446b273697fadf3a10ff1007a97c0b7de6df',
289     'src/third_party/psyco_win32':
290      Var('chromium_git') + '/chromium/deps/psyco_win32.git' + '@' + 'f5af9f6910ee5a8075bbaeed0591469f1661d868',
292     'src/third_party/bison':
293      Var('chromium_git') + '/chromium/deps/bison.git' + '@' + '083c9a45e4affdd5464ee2b224c2df649c6e26c3',
295     'src/third_party/gperf':
296      Var('chromium_git') + '/chromium/deps/gperf.git' + '@' + 'd892d79f64f9449770443fb06da49b5a1e5d33c1',
298     'src/third_party/perl':
299      Var('chromium_git') + '/chromium/deps/perl.git' + '@' + 'ac0d98b5cee6c024b0cffeb4f8f45b6fc5ccdb78',
301     'src/third_party/lighttpd':
302      Var('chromium_git') + '/chromium/deps/lighttpd.git' + '@' + Var('lighttpd_revision'),
304     # Parses Windows PE/COFF executable format.
305     'src/third_party/pefile':
306      Var('chromium_git') + '/external/pefile.git' + '@' + '72c6ae42396cb913bcab63c15585dc3b5c3f92f1',
308     # NSS, for SSLClientSocketNSS.
309     'src/third_party/nss':
310      Var('chromium_git') + '/chromium/deps/nss.git' + '@' + Var('nss_revision'),
312     # GNU binutils assembler for x86-32.
313     'src/third_party/gnu_binutils':
314       Var('chromium_git') + '/native_client/deps/third_party/gnu_binutils.git' + '@' + 'f4003433b61b25666565690caf3d7a7a1a4ec436',
315     # GNU binutils assembler for x86-64.
316     'src/third_party/mingw-w64/mingw/bin':
317       Var('chromium_git') + '/native_client/deps/third_party/mingw-w64/mingw/bin.git' + '@' + '3cc8b140b883a9fe4986d12cfd46c16a093d3527',
319     # Dependencies used by libjpeg-turbo
320     'src/third_party/yasm/binaries':
321      Var('chromium_git') + '/chromium/deps/yasm/binaries.git' + '@' + '52f9b3f4b0aa06da24ef8b123058bb61ee468881',
323     # Binaries for nacl sdk.
324     'src/third_party/nacl_sdk_binaries':
325      Var('chromium_git') + '/chromium/deps/nacl_sdk_binaries.git' + '@' + '759dfca03bdc774da7ecbf974f6e2b84f43699a5',
327     # ANGLE uses dEQP for GPU testing
328     'src/third_party/deqp/src':
329      'https://android.googlesource.com/platform/external/deqp@194294e69d44eac48bc1fb063bd607189650aa5e',
330   },
331   'ios': {
332     'src/ios/third_party/gcdwebserver/src':
333      Var('chromium_git') + '/external/github.com/swisspol/GCDWebServer.git' + '@' + '3d5fd0b8281a7224c057deb2d17709b5bea64836',
335     'src/third_party/google_toolbox_for_mac/src':
336       Var('chromium_git') + '/external/google-toolbox-for-mac.git' + '@' + Var('google_toolbox_for_mac_revision'),
338     'src/third_party/nss':
339      Var('chromium_git') + '/chromium/deps/nss.git' + '@' + Var('nss_revision'),
341     # class-dump utility to generate header files for undocumented SDKs
342     'src/third_party/class-dump/src':
343      Var('chromium_git') + '/external/github.com/nygard/class-dump.git' + '@' + '978d177ca6f0d2e5e34acf3e8dadc63e3140ebbc',
345     # Code that's not needed due to not building everything
346     'src/chrome/test/data/perf/canvas_bench': None,
347     'src/chrome/test/data/perf/frame_rate/content': None,
348     'src/native_client': None,
349     'src/third_party/ffmpeg': None,
350     'src/third_party/hunspell_dictionaries': None,
351     'src/third_party/webgl': None,
352   },
353   'mac': {
354     'src/chrome/tools/test/reference_build/chrome_mac':
355      Var('chromium_git') + '/chromium/reference_builds/chrome_mac.git' + '@' + '8dc181329e7c5255f83b4b85dc2f71498a237955',
357     'src/third_party/google_toolbox_for_mac/src':
358       Var('chromium_git') + '/external/google-toolbox-for-mac.git' + '@' + Var('google_toolbox_for_mac_revision'),
361     'src/third_party/pdfsqueeze':
362       Var('chromium_git') + '/external/pdfsqueeze.git' + '@' + '5936b871e6a087b7e50d4cbcb122378d8a07499f',
364     'src/third_party/lighttpd':
365      Var('chromium_git') + '/chromium/deps/lighttpd.git' + '@' + Var('lighttpd_revision'),
367     # NSS, for SSLClientSocketNSS.
368     'src/third_party/nss':
369      Var('chromium_git') + '/chromium/deps/nss.git' + '@' + Var('nss_revision'),
371     'src/chrome/installer/mac/third_party/xz/xz':
372      Var('chromium_git') + '/chromium/deps/xz.git' + '@' + 'eecaf55632ca72e90eb2641376bce7cdbc7284f7',
373   },
374   'unix': {
375     # Linux, really.
376     'src/chrome/tools/test/reference_build/chrome_linux':
377      Var('chromium_git') + '/chromium/reference_builds/chrome_linux64.git' + '@' + '033d053a528e820e1de3e2db766678d862a86b36',
379     'src/third_party/xdg-utils':
380      Var('chromium_git') + '/chromium/deps/xdg-utils.git' + '@' + 'd80274d5869b17b8c9067a1022e4416ee7ed5e0d',
382     'src/third_party/lss':
383       Var('chromium_git') + '/external/linux-syscall-support/lss.git' + '@' + Var('lss_revision'),
385     # For Linux and Chromium OS.
386     'src/third_party/cros_system_api':
387      Var('chromium_git') + '/chromiumos/platform/system_api.git' + '@' + '513f58ccbcecfd4a3d21545f67136090838eaf52',
389     # Note that this is different from Android's freetype repo.
390     'src/third_party/freetype2/src':
391      Var('chromium_git') + '/chromium/src/third_party/freetype2.git' + '@' + '1dd5f5f4a909866f15c92a45c9702bce290a0151',
393     # Build tools for Chrome OS.
394     'src/third_party/chromite':
395      Var('chromium_git') + '/chromiumos/chromite.git' + '@' + 'e19f83ba227bf1ec0077f5d3a816a415f1dd88d0',
397     # Dependency of chromite.git.
398     'src/third_party/pyelftools':
399      Var('chromium_git') + '/chromiumos/third_party/pyelftools.git' + '@' + 'bdc1d380acd88d4bfaf47265008091483b0d614e',
401     'src/third_party/liblouis/src':
402      Var('chromium_git') + '/external/liblouis-github.git' + '@' + '5f9c03f2a3478561deb6ae4798175094be8a26c2',
404     # Used for embedded builds. CrOS & Linux use the system version.
405     'src/third_party/fontconfig/src':
406      Var('chromium_git') + '/external/fontconfig.git' + '@' + 'f16c3118e25546c1b749f9823c51827a60aeb5c1',
408     'src/third_party/stp/src':
409      Var('chromium_git') + '/external/github.com/stp/stp.git' + '@' + 'fc94a599207752ab4d64048204f0c88494811b62',
410   },
411   'android': {
412     'src/third_party/android_protobuf/src':
413      Var('chromium_git') + '/external/android_protobuf.git' + '@' + '999188d0dc72e97f7fe08bb756958a2cf090f4e7',
415     'src/third_party/android_tools':
416      Var('chromium_git') + '/android_tools.git' + '@' + '4238a28593b7e6178c95431f91ca8c24e45fa7eb',
418     'src/third_party/apache-mime4j':
419      Var('chromium_git') + '/chromium/deps/apache-mime4j.git' + '@' + '28cb1108bff4b6cf0a2e86ff58b3d025934ebe3a',
421     'src/third_party/appurify-python/src':
422      Var('chromium_git') + '/external/github.com/appurify/appurify-python.git' + '@' + 'ee7abd5c5ae3106f72b2a0b9d2cb55094688e867',
424     'src/third_party/cardboard-java/src':
425      Var('chromium_git') + '/external/github.com/googlesamples/cardboard-java.git' + '@' + 'e36ee57e72bbd057ddb53b127954177b50e18df7',
427     'src/third_party/errorprone/lib':
428       Var('chromium_git') + '/chromium/third_party/errorprone.git' + '@' + '72560c97fb38e3eb93db2e85c29db7b72420fad8',
430     'src/third_party/findbugs':
431      Var('chromium_git') + '/chromium/deps/findbugs.git' + '@' + '10904cdd4aae90b3d02727527570bfc3df4efea4',
433     'src/third_party/freetype-android/src':
434      Var('chromium_git') + '/chromium/src/third_party/freetype2.git' + '@' + 'e186230678ee8e4ea4ac4797ece8125761e3225a',
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/ub-uiautomator/lib':
461       Var('chromium_git') + '/chromium/third_party/ub-uiautomator.git' + '@' + '00270549ce3161ae72ceb24712618ea28b4f9434',
463     'src/third_party/lss':
464       Var('chromium_git') + '/external/linux-syscall-support/lss.git' + '@' + Var('lss_revision'),
466     'src/third_party/requests/src':
467       Var('chromium_git') + '/external/github.com/kennethreitz/requests.git' + '@' + 'f172b30356d821d180fa4ecfa3e71c7274a32de4',
469     'src/third_party/custom_tabs_client/src':
470       Var('chromium_git') + '/external/github.com/GoogleChrome/custom-tabs-client.git' + '@' + 'bbbf71f41e79b0cfe21199220f495cbd0a3a4ffb',
471   },
475 include_rules = [
476   # Everybody can use some things.
477   # NOTE: THIS HAS TO STAY IN SYNC WITH third_party/DEPS which disallows these.
478   '+base',
479   '+build',
480   '+ipc',
482   # Everybody can use headers generated by tools/generate_library_loader.
483   '+library_loaders',
485   '+testing',
486   '+third_party/icu/source/common/unicode',
487   '+third_party/icu/source/i18n/unicode',
488   '+url',
492 # checkdeps.py shouldn't check include paths for files in these dirs:
493 skip_child_includes = [
494   'breakpad',
495   'native_client_sdk',
496   'out',
497   'sdch',
498   'skia',
499   'testing',
500   'v8',
501   'win8',
505 hooks = [
506   {
507     # This clobbers when necessary (based on get_landmines.py). It must be the
508     # first hook so that other things that get/generate into the output
509     # directory will not subsequently be clobbered.
510     'name': 'landmines',
511     'pattern': '.',
512     'action': [
513         'python',
514         'src/build/landmines.py',
515     ],
516   },
517   {
518     # This downloads binaries for Native Client's newlib toolchain.
519     # Done in lieu of building the toolchain from scratch as it can take
520     # anywhere from 30 minutes to 4 hours depending on platform to build.
521     'name': 'nacltools',
522     'pattern': '.',
523     'action': [
524         'python',
525         'src/build/download_nacl_toolchains.py',
526         '--mode', 'nacl_core_sdk',
527         'sync', '--extract',
528     ],
529   },
530   {
531     # This downloads SDK extras and puts them in the
532     # third_party/android_tools/sdk/extras directory on the bots. Developers
533     # need to manually install these packages and accept the ToS.
534     'name': 'sdkextras',
535     'pattern': '.',
536     # When adding a new sdk extras package to download, add the package
537     # directory and zip file to .gitignore in third_party/android_tools.
538     'action': ['python', 'src/build/download_sdk_extras.py'],
539   },
540   {
541     # Downloads the current stable linux sysroot to build/linux/ if needed.
542     # This sysroot updates at about the same rate that the chrome build deps
543     # change. This script is a no-op except for linux users who are doing
544     # official chrome builds or cross compiling.
545     'name': 'sysroot',
546     'pattern': '.',
547     'action': ['python', 'src/build/linux/sysroot_scripts/install-sysroot.py',
548                '--running-as-hook'],
549   },
550   {
551     # Update the Windows toolchain if necessary.
552     'name': 'win_toolchain',
553     'pattern': '.',
554     'action': ['python', 'src/build/vs_toolchain.py', 'update'],
555   },
556   # Pull binutils for linux, enabled debug fission for faster linking /
557   # debugging when used with clang on Ubuntu Precise.
558   # https://code.google.com/p/chromium/issues/detail?id=352046
559   {
560     'name': 'binutils',
561     'pattern': 'src/third_party/binutils',
562     'action': [
563         'python',
564         'src/third_party/binutils/download.py',
565     ],
566   },
567   {
568     # Pull clang if needed or requested via GYP_DEFINES.
569     # Note: On Win, this should run after win_toolchain, as it may use it.
570     'name': 'clang',
571     'pattern': '.',
572     'action': ['python', 'src/tools/clang/scripts/update.py', '--if-needed'],
573   },
574   {
575     # Update LASTCHANGE.
576     'name': 'lastchange',
577     'pattern': '.',
578     'action': ['python', 'src/build/util/lastchange.py',
579                '-o', 'src/build/util/LASTCHANGE'],
580   },
581   {
582     # Update LASTCHANGE.blink.
583     'name': 'lastchange',
584     'pattern': '.',
585     'action': ['python', 'src/build/util/lastchange.py',
586                '-s', 'src/third_party/WebKit',
587                '-o', 'src/build/util/LASTCHANGE.blink'],
588   },
589   {
590     # Update CANARY_VERSION.
591     'name': 'ios_canary_version',
592     'pattern': '.',
593     'action': ['python', 'src/ios/build/util/canary_version.py',
594                '-o', 'src/ios/build/util/CANARY_VERSION'],
595   },
596   # Pull GN binaries. This needs to be before running GYP below.
597   {
598     'name': 'gn_win',
599     'pattern': '.',
600     'action': [ 'download_from_google_storage',
601                 '--no_resume',
602                 '--platform=win32',
603                 '--no_auth',
604                 '--bucket', 'chromium-gn',
605                 '-s', 'src/buildtools/win/gn.exe.sha1',
606     ],
607   },
608   {
609     'name': 'gn_mac',
610     'pattern': '.',
611     'action': [ 'download_from_google_storage',
612                 '--no_resume',
613                 '--platform=darwin',
614                 '--no_auth',
615                 '--bucket', 'chromium-gn',
616                 '-s', 'src/buildtools/mac/gn.sha1',
617     ],
618   },
619   {
620     'name': 'gn_linux64',
621     'pattern': '.',
622     'action': [ 'download_from_google_storage',
623                 '--no_resume',
624                 '--platform=linux*',
625                 '--no_auth',
626                 '--bucket', 'chromium-gn',
627                 '-s', 'src/buildtools/linux64/gn.sha1',
628     ],
629   },
630   # Pull clang-format binaries using checked-in hashes.
631   {
632     'name': 'clang_format_win',
633     'pattern': '.',
634     'action': [ 'download_from_google_storage',
635                 '--no_resume',
636                 '--platform=win32',
637                 '--no_auth',
638                 '--bucket', 'chromium-clang-format',
639                 '-s', 'src/buildtools/win/clang-format.exe.sha1',
640     ],
641   },
642   {
643     'name': 'clang_format_mac',
644     'pattern': '.',
645     'action': [ 'download_from_google_storage',
646                 '--no_resume',
647                 '--platform=darwin',
648                 '--no_auth',
649                 '--bucket', 'chromium-clang-format',
650                 '-s', 'src/buildtools/mac/clang-format.sha1',
651     ],
652   },
653   {
654     'name': 'clang_format_linux',
655     'pattern': '.',
656     'action': [ 'download_from_google_storage',
657                 '--no_resume',
658                 '--platform=linux*',
659                 '--no_auth',
660                 '--bucket', 'chromium-clang-format',
661                 '-s', 'src/buildtools/linux64/clang-format.sha1',
662     ],
663   },
664   # Pull luci-go binaries (isolate, swarming) using checked-in hashes.
665   {
666     'name': 'luci-go_win',
667     'pattern': '.',
668     'action': [ 'download_from_google_storage',
669                 '--no_resume',
670                 '--platform=win32',
671                 '--no_auth',
672                 '--bucket', 'chromium-luci',
673                 '-d', 'src/tools/luci-go/win64',
674     ],
675   },
676   {
677     'name': 'luci-go_mac',
678     'pattern': '.',
679     'action': [ 'download_from_google_storage',
680                 '--no_resume',
681                 '--platform=darwin',
682                 '--no_auth',
683                 '--bucket', 'chromium-luci',
684                 '-d', 'src/tools/luci-go/mac64',
685     ],
686   },
687   {
688     'name': 'luci-go_linux',
689     'pattern': '.',
690     'action': [ 'download_from_google_storage',
691                 '--no_resume',
692                 '--platform=linux*',
693                 '--no_auth',
694                 '--bucket', 'chromium-luci',
695                 '-d', 'src/tools/luci-go/linux64',
696     ],
697   },
698   # Pull eu-strip binaries using checked-in hashes.
699   {
700     'name': 'eu-strip',
701     'pattern': '.',
702     'action': [ 'download_from_google_storage',
703                 '--no_resume',
704                 '--platform=linux*',
705                 '--no_auth',
706                 '--bucket', 'chromium-eu-strip',
707                 '-s', 'src/build/linux/bin/eu-strip.sha1',
708     ],
709   },
710   {
711     'name': 'drmemory',
712     'pattern': '.',
713     'action': [ 'download_from_google_storage',
714                 '--no_resume',
715                 '--platform=win32',
716                 '--no_auth',
717                 '--bucket', 'chromium-drmemory',
718                 '-s', 'src/third_party/drmemory/drmemory-windows-sfx.exe.sha1',
719               ],
720   },
721   # Pull the Syzygy binaries, used for optimization and instrumentation.
722   {
723     'name': 'syzygy-binaries',
724     'pattern': '.',
725     'action': ['python',
726                'src/build/get_syzygy_binaries.py',
727                '--output-dir=src/third_party/syzygy/binaries',
728                '--revision=8341560b55cebb58351b56bcb809bbbe22ca5398',
729                '--overwrite',
730     ],
731   },
732   {
733     'name': 'kasko',
734     'pattern': '.',
735     'action': ['python',
736                'src/build/get_syzygy_binaries.py',
737                '--output-dir=src/third_party/kasko',
738                '--revision=56f13b37f044639b4c28cb75f327ca5e3db8758e',
739                '--resource=kasko.zip',
740                '--resource=kasko_symbols.zip',
741                '--overwrite',
742     ],
743   },
744   {
745     'name': 'apache_win32',
746     'pattern': '\\.sha1',
747     'action': [ 'download_from_google_storage',
748                 '--no_resume',
749                 '--platform=win32',
750                 '--directory',
751                 '--recursive',
752                 '--no_auth',
753                 '--num_threads=16',
754                 '--bucket', 'chromium-apache-win32',
755                 'src/third_party/apache-win32',
756     ],
757   },
758   # Pull the mojo_shell binary, used for mojo development
759   {
760     'name': 'download_mojo_shell',
761     'pattern': '',
762     'action': [ 'python',
763                 'src/third_party/mojo/src/mojo/public/tools/download_shell_binary.py',
764                 '--tools-directory=../../../../../../tools',
765               ],
766   },
767   {
768     # Pull sanitizer-instrumented third-party libraries if requested via
769     # GYP_DEFINES.
770     'name': 'instrumented_libraries',
771     'pattern': '\\.sha1',
772     'action': ['python', 'src/third_party/instrumented_libraries/scripts/download_binaries.py'],
773   },
774   {
775     # Ensure that while generating dependencies lists in .gyp files we don't
776     # accidentally reference any .pyc files whose corresponding .py files have
777     # already been deleted.
778     # We should actually try to avoid generating .pyc files, crbug.com/500078.
779     'name': 'remove_stale_pyc_files',
780     'pattern': '.',
781     'action': [
782         'python',
783         'src/tools/remove_stale_pyc_files.py',
784         'src/android_webview/tools',
785         'src/gpu/gles2_conform_support',
786         'src/infra',
787         'src/ppapi',
788         'src/printing',
789         'src/third_party/closure_compiler/build',
790         'src/tools',
791     ],
792   },
793   {
794     # A change to a .gyp, .gypi, or to GYP itself should run the generator.
795     'name': 'gyp',
796     'pattern': '.',
797     'action': ['python', 'src/build/gyp_chromium'],
798   },
799   {
800     # Verify committers' ~/.netc, gclient and git are properly configured for
801     # write access to the git repo. To be removed sometime after Chrome to git
802     # migration completes (let's say Sep 1 2014).
803     'name': 'check_git_config',
804     'pattern': '.',
805     'action': [
806         'python',
807         'src/tools/check_git_config.py',
808         '--running-as-hook',
809     ],
810   },