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