Telemetry: Make the GC action more robust.
[chromium-blink-merge.git] / DEPS
blob925d18e98ae41cd5202cc5ac3eb535678198b399
1 # When adding a new dependency, please update the top-level .gitignore file
2 # to list the dependency's destination directory.
4 vars = {
5   # Use this googlecode_url variable only if there is an internal mirror for it.
6   # If you do not know, use the full path while defining your new deps entry.
7   "googlecode_url": "http://%s.googlecode.com/svn",
8   "sourceforge_url": "http://%(repo)s.svn.sourceforge.net/svnroot/%(repo)s",
9   "webkit_trunk": "http://src.chromium.org/blink/trunk",
10   "nacl_trunk": "http://src.chromium.org/native_client/trunk",
11   "webkit_revision": "149232",
12   "chromium_git": "https://chromium.googlesource.com",
13   "chromiumos_git": "https://chromium.googlesource.com/chromiumos",
14   "swig_revision": "69281",
15   "nacl_revision": "11239",
16   # After changing nacl_revision, run 'glient sync' and check native_client/DEPS
17   # to update other nacl_*_revision's.
18   "nacl_tools_revision": "11040",  # native_client/DEPS: tools_rev
19   "gtm_revision": "608",
21   "libjingle_revision": "309",
22   "libphonenumber_revision": "456",
23   "libvpx_revision": "196669",
24   "lss_revision": "20",
26   # These two FFmpeg variables must be updated together.  One is used for SVN
27   # checkouts and the other for Git checkouts.
28   "ffmpeg_revision": "195920",
29   "ffmpeg_hash": "cc796f43aa0528f3d10bc853cc52af30acab618c",
31   "sfntly_revision": "134",
32   "skia_revision": "8871",
33   # Three lines of non-changing comments so that
34   # the commit queue can handle CLs rolling Skia
35   # and V8 without interference from each other.
36   "v8_revision": "14435",
37   # Three lines of non-changing comments so that
38   # the commit queue can handle CLs rolling WebRTC
39   # and V8 without interference from each other.
40   "webrtc_revision": "3853",
41   "jsoncpp_revision": "248",
42   "nss_revision": "196262",
43   # Three lines of non-changing comments so that
44   # the commit queue can handle CLs rolling swarm_client
45   # and whatever else without interference from each other.
46   "swarm_revision": "196453",
47   # Three lines of non-changing comments so that
48   # the commit queue can handle CLs rolling openssl
49   # and whatever else without interference from each other.
50   "openssl_revision": "194187",
52   "ios_webkit_trunk": "http://src.chromium.org/blink/trunk",
53   # Three lines of non-changing comments so that
54   # the commit queue can handle CLs rolling openssl
55   # and whatever else without interference from each other.
56   "ios_webkit_revision": "147503",
59 deps = {
60   "src/breakpad/src":
61     (Var("googlecode_url") % "google-breakpad") + "/trunk/src@1155",
63   "src/googleurl":
64     (Var("googlecode_url") % "google-url") + "/trunk@183",
66   "src/sandbox/linux/seccomp-legacy":
67     (Var("googlecode_url") % "seccompsandbox") + "/trunk@189",
69   "src/sdch/open-vcdiff":
70     (Var("googlecode_url") % "open-vcdiff") + "/trunk@42",
72   "src/testing/gtest":
73     (Var("googlecode_url") % "googletest") + "/trunk@629",
75   "src/testing/gmock":
76     (Var("googlecode_url") % "googlemock") + "/trunk@410",
78   "src/third_party/angle":
79     (Var("googlecode_url") % "angleproject") + "/trunk@2184",
81   "src/third_party/trace-viewer":
82     (Var("googlecode_url") % "trace-viewer") + "/trunk@255",
84   # Note that this is *not* where we check out WebKit -- this just
85   # puts some extra files into place for the real WebKit checkout to
86   # happen.  See lines mentioning "webkit_revision" for the real
87   # WebKit checkout.
88   "src/third_party/WebKit":
89     "/trunk/deps/third_party/WebKit@76115",
91   "src/third_party/icu":
92     "/trunk/deps/third_party/icu46@192960",
94   "src/third_party/libexif/sources":
95     "/trunk/deps/third_party/libexif/sources@146817",
97   "src/third_party/hunspell":
98    "/trunk/deps/third_party/hunspell@196565",
100   "src/third_party/hunspell_dictionaries":
101     "/trunk/deps/third_party/hunspell_dictionaries@193701",
103   "src/third_party/safe_browsing/testing":
104     (Var("googlecode_url") % "google-safe-browsing") + "/trunk/testing@112",
106   "src/third_party/cacheinvalidation/src":
107     (Var("googlecode_url") % "google-cache-invalidation-api") +
108     "/trunk/src@298",
110   "src/third_party/leveldatabase/src":
111     (Var("googlecode_url") % "leveldb") + "/trunk@72",
113   "src/third_party/snappy/src":
114     (Var("googlecode_url") % "snappy") + "/trunk@63",
116   "src/tools/grit":
117     (Var("googlecode_url") % "grit-i18n") + "/trunk@119",
119   "src/tools/gyp":
120     (Var("googlecode_url") % "gyp") + "/trunk@1611",
122   "src/tools/swarm_client":
123     "/trunk/tools/swarm_client@" + Var("swarm_revision"),
125   "src/v8":
126     (Var("googlecode_url") % "v8") + "/trunk@" + Var("v8_revision"),
128   "src/native_client":
129     Var("nacl_trunk") + "/src/native_client@" + Var("nacl_revision"),
131   "src/third_party/pymox/src":
132     (Var("googlecode_url") % "pymox") + "/trunk@70",
134   "src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin":
135     Var("nacl_trunk") + "/src/native_client/tests/prebuilt@" +
136     Var("nacl_revision"),
138   "src/third_party/sfntly/cpp/src":
139     (Var("googlecode_url") % "sfntly") + "/trunk/cpp/src@" +
140     Var("sfntly_revision"),
142   "src/third_party/skia/src":
143     (Var("googlecode_url") % "skia") + "/trunk/src@" + Var("skia_revision"),
145   "src/third_party/skia/gyp":
146     (Var("googlecode_url") % "skia") + "/trunk/gyp@" + Var("skia_revision"),
148   "src/third_party/skia/include":
149     (Var("googlecode_url") % "skia") + "/trunk/include@" + Var("skia_revision"),
151   "src/third_party/WebKit/LayoutTests":
152     Var("webkit_trunk") + "/LayoutTests@" + Var("webkit_revision"),
154   "src/third_party/WebKit/Source":
155     Var("webkit_trunk") + "/Source@" + Var("webkit_revision"),
157   "src/third_party/WebKit/Tools/DumpRenderTree":
158     Var("webkit_trunk") + "/Tools/DumpRenderTree@" + Var("webkit_revision"),
160   "src/third_party/WebKit/Tools/Scripts":
161     Var("webkit_trunk") + "/Tools/Scripts@" + Var("webkit_revision"),
163   "src/third_party/ots":
164     (Var("googlecode_url") % "ots") + "/trunk@97",
166   "src/tools/page_cycler/acid3":
167     "/trunk/deps/page_cycler/acid3@171600",
169   "src/chrome/test/data/perf/canvas_bench":
170     "/trunk/deps/canvas_bench@122605",
172   "src/chrome/test/data/perf/frame_rate/content":
173     "/trunk/deps/frame_rate/content@93671",
175   "src/chrome/test/data/perf/third_party/octane":
176     (Var("googlecode_url") % "octane-benchmark") + "/trunk@19",
178   "src/third_party/bidichecker":
179     (Var("googlecode_url") % "bidichecker") + "/trunk/lib@4",
181   "src/third_party/v8-i18n":
182     (Var("googlecode_url") % "v8-i18n") + "/trunk@174",
184   # When roll to another webgl conformance tests revision, please goto
185   # chrome/test/gpu and run generate_webgl_conformance_test_list.py.
186   "src/third_party/webgl_conformance":
187     "/trunk/deps/third_party/webgl/sdk/tests@170088",
189   # We run these layout tests as UI tests. Since many of the buildbots that
190   # run layout tests do NOT have access to the LayoutTest directory, we need
191   # to map them here. In practice, these do not take up much space.
192   "src/content/test/data/layout_tests/LayoutTests/fast/events":
193     Var("webkit_trunk") + "/LayoutTests/fast/events@" +
194     Var("webkit_revision"),
195   "src/content/test/data/layout_tests/LayoutTests/fast/js/resources":
196     Var("webkit_trunk") + "/LayoutTests/fast/js/resources@" +
197     Var("webkit_revision"),
198   "src/content/test/data/layout_tests/LayoutTests/fast/workers":
199     Var("webkit_trunk") + "/LayoutTests/fast/workers@" +
200     Var("webkit_revision"),
201   "src/content/test/data/layout_tests/LayoutTests/http/tests/resources":
202     Var("webkit_trunk") + "/LayoutTests/http/tests/resources@" +
203     Var("webkit_revision"),
204   "src/content/test/data/layout_tests/LayoutTests/http/tests/workers":
205     Var("webkit_trunk") + "/LayoutTests/http/tests/workers@" +
206     Var("webkit_revision"),
207   "src/content/test/data/layout_tests/LayoutTests/http/tests/xmlhttprequest":
208     Var("webkit_trunk") + "/LayoutTests/http/tests/xmlhttprequest@" +
209     Var("webkit_revision"),
210   "src/content/test/data/layout_tests/LayoutTests/http/tests/websocket/tests":
211     Var("webkit_trunk") + "/LayoutTests/http/tests/websocket/tests@" +
212     Var("webkit_revision"),
213   "src/content/test/data/layout_tests/LayoutTests/platform/chromium-win/fast/events":
214     Var("webkit_trunk") + "/LayoutTests/platform/chromium-win/fast/events@" +
215     Var("webkit_revision"),
216   "src/content/test/data/layout_tests/LayoutTests/platform/chromium-win/fast/workers":
217     Var("webkit_trunk") + "/LayoutTests/platform/chromium-win/fast/workers@" +
218     Var("webkit_revision"),
219   "src/content/test/data/layout_tests/LayoutTests/http/tests/appcache":
220     Var("webkit_trunk") + "/LayoutTests/http/tests/appcache@" +
221     Var("webkit_revision"),
222   "src/content/test/data/layout_tests/LayoutTests/platform/chromium-win/http/tests/workers":
223     Var("webkit_trunk") + "/LayoutTests/platform/chromium-win/http/tests/workers@" +
224     Var("webkit_revision"),
225   "src/content/test/data/layout_tests/LayoutTests/platform/chromium-win/storage/domstorage":
226     Var("webkit_trunk") + "/LayoutTests/platform/chromium-win/storage/domstorage@" +
227     Var("webkit_revision"),
228   "src/content/test/data/layout_tests/LayoutTests/storage/domstorage":
229     Var("webkit_trunk") + "/LayoutTests/storage/domstorage@" +
230     Var("webkit_revision"),
231   "src/content/test/data/layout_tests/LayoutTests/storage/indexeddb":
232     Var("webkit_trunk") + "/LayoutTests/storage/indexeddb@" +
233     Var("webkit_revision"),
234   "src/content/test/data/layout_tests/LayoutTests/fast/files":
235     Var("webkit_trunk") + "/LayoutTests/fast/files@" +
236     Var("webkit_revision"),
237   "src/content/test/data/layout_tests/LayoutTests/fast/filesystem":
238     Var("webkit_trunk") + "/LayoutTests/fast/filesystem@" +
239     Var("webkit_revision"),
240   "src/content/test/data/layout_tests/LayoutTests/media":
241     Var("webkit_trunk") + "/LayoutTests/media@" +
242     Var("webkit_revision"),
243   "src/content/test/data/layout_tests/LayoutTests/editing/pasteboard/resources":
244     Var("webkit_trunk") + "/LayoutTests/editing/pasteboard/resources@" +
245     Var("webkit_revision"),
247   "src/third_party/swig/Lib":
248     "/trunk/deps/third_party/swig/Lib@" + Var("swig_revision"),
250   # Make sure you update the two functional.DEPS and webdriver.DEPS too.
251   "src/third_party/webdriver/pylib":
252     (Var("googlecode_url") % "selenium") + "/trunk/py@16922",
254   "src/third_party/libvpx":
255     "/trunk/deps/third_party/libvpx@" +
256     Var("libvpx_revision"),
258   "src/third_party/ffmpeg":
259     "/trunk/deps/third_party/ffmpeg@" +
260     Var("ffmpeg_revision"),
262   "src/third_party/libjingle/source":
263     (Var("googlecode_url") % "libjingle") + "/trunk@" +
264     Var("libjingle_revision"),
266   "src/third_party/libsrtp":
267     "/trunk/deps/third_party/libsrtp@189528",
269   "src/third_party/speex":
270     "/trunk/deps/third_party/speex@177782",
272   "src/third_party/yasm/source/patched-yasm":
273     "/trunk/deps/third_party/yasm/patched-yasm@167605",
275   "src/third_party/libjpeg_turbo":
276     "/trunk/deps/third_party/libjpeg_turbo@177737",
278   "src/third_party/flac":
279     "/trunk/deps/third_party/flac@177788",
281   "src/third_party/pyftpdlib/src":
282     (Var("googlecode_url") % "pyftpdlib") + "/trunk@977",
284   "src/third_party/scons-2.0.1":
285     Var("nacl_trunk") + "/src/third_party/scons-2.0.1@" +
286         Var("nacl_tools_revision"),
288   "src/third_party/webrtc":
289     (Var("googlecode_url") % "webrtc") + "/stable/webrtc@" + Var("webrtc_revision"),
291   "src/third_party/openmax_dl":
292     (Var("googlecode_url") % "webrtc") + "/deps/third_party/openmax@3720",
294   "src/third_party/jsoncpp/source/include":
295     (Var("sourceforge_url") % {"repo": "jsoncpp"}) +
296         "/trunk/jsoncpp/include@" + Var("jsoncpp_revision"),
298   "src/third_party/jsoncpp/source/src/lib_json":
299     (Var("sourceforge_url") % {"repo": "jsoncpp"}) +
300         "/trunk/jsoncpp/src/lib_json@" + Var("jsoncpp_revision"),
302   "src/third_party/libyuv":
303     (Var("googlecode_url") % "libyuv") + "/trunk@680",
305   "src/third_party/smhasher/src":
306     (Var("googlecode_url") % "smhasher") + "/trunk@148",
308   "src/third_party/libphonenumber/src/phonenumbers":
309      (Var("googlecode_url") % "libphonenumber") +
310          "/trunk/cpp/src/phonenumbers@" + Var("libphonenumber_revision"),
311   "src/third_party/libphonenumber/src/test":
312      (Var("googlecode_url") % "libphonenumber") + "/trunk/cpp/test@" +
313          Var("libphonenumber_revision"),
314   "src/third_party/libphonenumber/src/resources":
315      (Var("googlecode_url") % "libphonenumber") + "/trunk/resources@" +
316          Var("libphonenumber_revision"),
318   "src/third_party/undoview":
319     "/trunk/deps/third_party/undoview@119694",
321   "src/tools/deps2git":
322     "/trunk/tools/deps2git@194189",
324   "src/third_party/webpagereplay":
325     (Var("googlecode_url") % "web-page-replay") + "/trunk@511",
327   "src/third_party/pywebsocket/src":
328     (Var("googlecode_url") % "pywebsocket") + "/trunk/src@662",
330   "src/third_party/opus/src":
331     "/trunk/deps/third_party/opus@185324",
333   "src/third_party/accessibility-developer-tools":
334     Var("chromium_git") + "/external/accessibility-developer-tools.git@ad5df9a5341d38778658c90e4aa241c4ebe4e8aa",
336   "src/webkit/media/crypto/ppapi/cdm":
337     "/trunk/deps/cdm@181763",
341 deps_os = {
342   "win": {
343     "src/chrome/tools/test/reference_build/chrome_win":
344       "/trunk/deps/reference_builds/chrome_win@196164",
346     "src/third_party/cygwin":
347       "/trunk/deps/third_party/cygwin@133786",
349     "src/third_party/python_26":
350       "/trunk/tools/third_party/python_26@89111",
352     "src/third_party/psyco_win32":
353       "/trunk/deps/third_party/psyco_win32@79861",
355     "src/third_party/bison":
356       "/trunk/deps/third_party/bison@147303",
358     "src/third_party/gperf":
359       "/trunk/deps/third_party/gperf@147304",
361     "src/third_party/perl":
362       "/trunk/deps/third_party/perl@147900",
364     "src/third_party/lighttpd":
365       "/trunk/deps/third_party/lighttpd@33727",
367     # Chrome Frame related deps
368     "src/third_party/xulrunner-sdk":
369       "/trunk/deps/third_party/xulrunner-sdk@119756",
370     "src/chrome_frame/tools/test/reference_build/chrome_win":
371       "/trunk/deps/reference_builds/chrome_win@89574",
373     # Parses Windows PE/COFF executable format.
374     "src/third_party/pefile":
375       (Var("googlecode_url") % "pefile") + "/trunk@63",
377     # NSS, for SSLClientSocketNSS.
378     "src/third_party/nss":
379       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
381     "src/third_party/swig/win":
382       "/trunk/deps/third_party/swig/win@" + Var("swig_revision"),
384     # GNU binutils assembler for x86-32.
385     "src/third_party/gnu_binutils":
386       (Var("nacl_trunk") + "/deps/third_party/gnu_binutils@" +
387        Var("nacl_tools_revision")),
388     # GNU binutils assembler for x86-64.
389     "src/third_party/mingw-w64/mingw/bin":
390       (Var("nacl_trunk") + "/deps/third_party/mingw-w64/mingw/bin@" +
391        Var("nacl_tools_revision")),
393     # Dependencies used by libjpeg-turbo
394     "src/third_party/yasm/binaries":
395       "/trunk/deps/third_party/yasm/binaries@154708",
397     # Binary level profile guided optimizations. This points to the
398     # latest release binaries for the toolchain.
399     "src/third_party/syzygy/binaries":
400       (Var("googlecode_url") % "sawbuck") + "/trunk/syzygy/binaries@1462",
402     # Binaries for nacl sdk.
403     "src/third_party/nacl_sdk_binaries":
404       "/trunk/deps/third_party/nacl_sdk_binaries@111576",
405   },
406   "ios": {
407     "src/third_party/GTM":
408       (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@" +
409       Var("gtm_revision"),
411     "src/third_party/nss":
412       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
414     # class-dump utility to generate header files for undocumented SDKs
415     "src/testing/iossim/third_party/class-dump":
416       "/trunk/deps/third_party/class-dump@147231",
418     # Pull only the headers from WebKit.
419     "src/third_party/WebKit/Source/WebKit/chromium/public":
420       Var("ios_webkit_trunk") + "/Source/WebKit/chromium/public@" +
421       Var("ios_webkit_revision"),
422     "src/third_party/WebKit/Source/Platform/chromium/public":
423       Var("ios_webkit_trunk") + "/Source/Platform/chromium/public@" +
424       Var("ios_webkit_revision"),
426     # Code that's not needed due to not building everything (especially WebKit).
427     "src/build/util/support": None,
428     "src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin": None,
429     "src/content/test/data/layout_tests/LayoutTests/editing/pasteboard/resources": None,
430     "src/content/test/data/layout_tests/LayoutTests/fast/events": None,
431     "src/content/test/data/layout_tests/LayoutTests/fast/filesystem_temp": None,
432     "src/content/test/data/layout_tests/LayoutTests/fast/js/resources": None,
433     "src/content/test/data/layout_tests/LayoutTests/fast/workers": None,
434     "src/content/test/data/layout_tests/LayoutTests/http/tests/appcache": None,
435     "src/content/test/data/layout_tests/LayoutTests/http/tests/resources": None,
436     "src/content/test/data/layout_tests/LayoutTests/http/tests/websocket/tests": None,
437     "src/content/test/data/layout_tests/LayoutTests/http/tests/workers": None,
438     "src/content/test/data/layout_tests/LayoutTests/http/tests/xmlhttprequest": None,
439     "src/content/test/data/layout_tests/LayoutTests/media": None,
440     "src/content/test/data/layout_tests/LayoutTests/platform/chromium-win/fast/events": None,
441     "src/content/test/data/layout_tests/LayoutTests/platform/chromium-win/fast/workers": None,
442     "src/content/test/data/layout_tests/LayoutTests/platform/chromium-win/http/tests/workers": None,
443     "src/content/test/data/layout_tests/LayoutTests/platform/chromium-win/storage/domstorage": None,
444     "src/content/test/data/layout_tests/LayoutTests/storage/indexeddb": None,
445     "src/content/test/data/layout_tests/LayoutTests/storage/domstorage": None,
446     "src/chrome/test/data/perf/canvas_bench": None,
447     "src/chrome/test/data/perf/frame_rate/content": None,
448     "src/native_client": None,
449     "src/native_client/src/third_party/ppapi": None,
450     "src/sandbox/linux/seccomp-legacy": None,
451     "src/third_party/angle": None,
452     "src/third_party/bidichecker": None,
453     "src/third_party/webgl_conformance": None,
454     "src/third_party/ffmpeg": None,
455     "src/third_party/hunspell_dictionaries": None,
456     "src/third_party/hunspell": None,
457     "src/third_party/leveldatabase/src": None,
458     "src/third_party/libexif/sources": None,
459     "src/third_party/libjpeg_turbo": None,
460     "src/third_party/libphonenumber/src/phonenumbers": None,
461     "src/third_party/libphonenumber/src/test": None,
462     "src/third_party/libphonenumber/src/resources": None,
463     "src/third_party/libsrtp": None,
464     "src/third_party/libvpx": None,
465     "src/third_party/libyuv": None,
466     "src/third_party/ots": None,
467     "src/third_party/pylib": None,
468     "src/third_party/pymox/src": None,
469     "src/third_party/safe_browsing/testing": None,
470     "src/third_party/scons-2.0.1": None,
471     "src/third_party/sfntly/cpp/src": None,
472     "src/third_party/smhasher/src": None,
473     "src/third_party/snappy/src": None,
474     "src/third_party/swig/Lib": None,
475     "src/third_party/undoview": None,
476     "src/third_party/v8-i18n": None,
477     "src/third_party/webdriver/pylib": None,
478     "src/third_party/webpagereplay": None,
479     "src/third_party/webrtc": None,
480     "src/third_party/WebKit": None,
481     "src/third_party/WebKit/LayoutTests": None,
482     "src/third_party/WebKit/Source": None,
483     "src/third_party/WebKit/Tools/DumpRenderTree": None,
484     "src/third_party/WebKit/Tools/Scripts": None,
485     "src/third_party/yasm/source/patched-yasm": None,
486     "src/tools/page_cycler/acid3": None,
487     "src/v8": None,
488   },
489   "mac": {
490     "src/chrome/tools/test/reference_build/chrome_mac":
491       "/trunk/deps/reference_builds/chrome_mac@195861",
493     "src/third_party/GTM":
494       (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@" +
495       Var("gtm_revision"),
496     "src/third_party/pdfsqueeze":
497       (Var("googlecode_url") % "pdfsqueeze") + "/trunk@5",
498     "src/third_party/lighttpd":
499       "/trunk/deps/third_party/lighttpd@33737",
501     "src/third_party/swig/mac":
502       "/trunk/deps/third_party/swig/mac@" + Var("swig_revision"),
504     # NSS, for SSLClientSocketNSS.
505     "src/third_party/nss":
506       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
508     "src/chrome/installer/mac/third_party/xz/xz":
509       "/trunk/deps/third_party/xz@189101",
510   },
511   "unix": {
512     # Linux, really.
513     "src/chrome/tools/test/reference_build/chrome_linux":
514       "/trunk/deps/reference_builds/chrome_linux@195861",
516     "src/third_party/xdg-utils":
517       "/trunk/deps/third_party/xdg-utils@149334",
519     "src/third_party/swig/linux":
520       "/trunk/deps/third_party/swig/linux@" + Var("swig_revision"),
522     "src/third_party/lss":
523       ((Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@" +
524        Var("lss_revision")),
526     "src/third_party/openssl":
527       "/trunk/deps/third_party/openssl@" + Var("openssl_revision"),
529     "src/third_party/WebKit/Tools/gdb":
530       Var("webkit_trunk") + "/Tools/gdb@" + Var("webkit_revision"),
532     "src/third_party/gold":
533       "/trunk/deps/third_party/gold@168091",
535     "src/third_party/libmtp":
536       "/trunk/deps/third_party/libmtp@178673",
538     # Used on Linux only. CrOS already has a copy.
539     "src/third_party/mtpd/source":
540       Var("chromiumos_git") + "/platform/mtpd.git" +
541       "@132604f107368f617a3073ba2d515b78641ceeed",
543     # Used on Linux only. CrOS already has a copy.
544     "src/third_party/cros_dbus_cplusplus/source":
545       Var("chromiumos_git") + "/third_party/dbus-cplusplus.git" +
546       "@5e8f6d9db5c2abfb91d91f751184f25bb5cd0900",
548     # For Linux and Chromium OS.
549     "src/third_party/cros_system_api":
550       Var("chromiumos_git") + "/platform/system_api.git" +
551       "@fc8b428c60e2858de4d61009ac950414e21c4aa8",
553     # Note that this is different from Android's freetype repo.
554     "src/third_party/freetype2/src":
555       Var("chromium_git") + "/chromium/src/third_party/freetype2.git" +
556       "@d699c2994ecc178c4ed05ac2086061b2034c2178",
558     # Build tools for targeting ChromeOS.
559     "src/third_party/chromite":
560       Var("chromiumos_git") + "/chromite.git" +
561       "@848d591953f69426080f8a5f29130897bd6fc73d",
563     # Dependency of chromite.git.
564     "src/third_party/pyelftools":
565       Var("chromiumos_git") + "/third_party/pyelftools.git" +
566       "@bdc1d380acd88d4bfaf47265008091483b0d614e",
567   },
568   "android": {
569     "src/third_party/android_tools":
570       Var("chromium_git") + "/android_tools.git" +
571       "@6c57b3397787c23888f9ded9f6a0c0c3f3fdc3a5",
573     "src/third_party/aosp":
574       "/trunk/deps/third_party/aosp@148330",
576     "src/third_party/apache-mime4j":
577       "/trunk/deps/third_party/apache-mime4j@170888",
579     "src/third_party/findbugs":
580       "/trunk/deps/third_party/findbugs@163586",
582     "src/third_party/freetype":
583       Var("chromium_git") + "/chromium/src/third_party/freetype.git" +
584       "@96551feab72aac26836e9aaf4fae0962d39d5ab0",
586     "src/third_party/guava/src":
587       Var("chromium_git") + "/external/guava-libraries.git" +
588       "@c523556ab7d0f05afadebd20e7768d4c16af8771",
590     "src/third_party/httpcomponents-client":
591       "/trunk/deps/third_party/httpcomponents-client@170888",
593     "src/third_party/httpcomponents-core":
594       "/trunk/deps/third_party/httpcomponents-core@170888",
596     "src/third_party/jarjar":
597       "/trunk/deps/third_party/jarjar@170888",
599     "src/third_party/jsr-305/src":
600       (Var("googlecode_url") % "jsr-305") + "/trunk@51",
602     "src/third_party/lss":
603       ((Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@" +
604        Var("lss_revision")),
606     "src/third_party/openssl":
607       "/trunk/deps/third_party/openssl@" + Var("openssl_revision"),
609     "src/third_party/eyesfree/src/android/java/src/com/googlecode/eyesfree/braille":
610       (Var("googlecode_url") % "eyes-free") + "/trunk/braille/client/src/com/googlecode/eyesfree/braille@797",
611   },
615 include_rules = [
616   # Everybody can use some things.
617   "+base",
618   "+build",
619   "+googleurl",
620   "+ipc",
622   # Everybody can use headers generated by tools/generate_library_loader.
623   "+library_loaders",
625   "+testing",
626   "+third_party/icu/public",
630 # checkdeps.py shouldn't check include paths for files in these dirs:
631 skip_child_includes = [
632   "breakpad",
633   "chrome_frame",
634   "delegate_execute",
635   "googleurl",
636   "metro_driver",
637   "native_client_sdk",
638   "o3d",
639   "pdf",
640   "sdch",
641   "skia",
642   "testing",
643   "third_party",
644   "v8",
645   "win8",
649 hooks = [
650   {
651     # This downloads binaries for Native Client's newlib toolchain.
652     # Done in lieu of building the toolchain from scratch as it can take
653     # anywhere from 30 minutes to 4 hours depending on platform to build.
654     "pattern": ".",
655     "action": [
656         "python", "src/build/download_nacl_toolchains.py",
657          "--no-arm-trusted",
658          "--keep",
659     ],
660   },
661   {
662     # Download arm sysroot image to src/arm-sysroot. This image updates
663     # at about the same rate that the chrome build deps change.
664     # This script is a no-op except for linux users who have
665     # target_arch=arm in thier GYP_DEFINES.
666     "pattern": ".",
667     "action": ["python", "src/build/linux/install-arm-sysroot.py",
668                "--linux-only"],
669   },
670   {
671     # Pull clang on mac. If nothing changed, or on non-mac platforms, this takes
672     # zero seconds to run. If something changed, it downloads a prebuilt clang,
673     # which takes ~20s, but clang speeds up builds by more than 20s.
674     "pattern": ".",
675     "action": ["python", "src/tools/clang/scripts/update.py", "--mac-only"],
676   },
677   {
678     # Update the cygwin mount on Windows.
679     "pattern": ".",
680     "action": ["python", "src/build/win/setup_cygwin_mount.py", "--win-only"],
681   },
682   {
683     # Update LASTCHANGE. This is also run by export_tarball.py in
684     # src/tools/export_tarball - please keep them in sync.
685     "pattern": ".",
686     "action": ["python", "src/build/util/lastchange.py",
687                "-o", "src/build/util/LASTCHANGE"],
688   },
689   {
690     # A change to a .gyp, .gypi, or to GYP itself should run the generator.
691     "pattern": ".",
692     "action": ["python", "src/build/gyp_chromium"],
693   },
694   {
695     # Check for landmines (reasons to clobber the build).
696     "pattern": ".",
697     "action": ["python", "src/build/landmines.py"],
698   },