Improve process output watcher's handling of multi-byte UTF8 characters
[chromium-blink-merge.git] / DEPS
blob321040b7a3ff8fe23ab94bcb85bc549e900def5b
1 # This file is automatically processed to create .DEPS.git which is the file
2 # that gclient uses under git.
4 # See http://code.google.com/p/chromium/wiki/UsingGit
6 # To test manually, run:
7 #   python tools/deps2git/deps2git.py -o .DEPS.git -w <gclientdir>
8 # where <gcliendir> is the absolute path to the directory containing the
9 # .gclient file (the parent of "src").
11 # Then commit .DEPS.git locally (gclient doesn't like dirty trees) and run
12 #   gclient sync
13 # Verify the thing happened you wanted. Then revert your .DEPS.git change
14 # DO NOT CHECK IN CHANGES TO .DEPS.git upstream. It will be automatically
15 # updated by a bot when you modify this one.
17 # When adding a new dependency, please update the top-level .gitignore file
18 # to list the dependency's destination directory.
20 vars = {
21   # Use this googlecode_url variable only if there is an internal mirror for it.
22   # If you do not know, use the full path while defining your new deps entry.
23   "googlecode_url": "http://%s.googlecode.com/svn",
24   "sourceforge_url": "http://svn.code.sf.net/p/%(repo)s/code",
25   "llvm_url": "http://src.chromium.org/llvm-project",
26   "llvm_git": "https://llvm.googlesource.com",
27   "libcxx_revision": "206024",
28   "libcxxabi_revision": "206024",
29   "webkit_trunk": "http://src.chromium.org/blink/trunk",
30   "nacl_trunk": "http://src.chromium.org/native_client/trunk",
31   "webkit_revision": "174065",
32   "chromium_git": "https://chromium.googlesource.com",
33   "chromiumos_git": "https://chromium.googlesource.com/chromiumos",
34   "skia_git": "https://skia.googlesource.com",
35   "swig_revision": "230490",
36   "nacl_revision": "13167",
37   # After changing nacl_revision, run 'glient sync' and check native_client/DEPS
38   # to update other nacl_*_revision's.
39   "nacl_tools_revision": "13077",  # native_client/DEPS: tools_rev
40   "google_toolbox_for_mac_revision": "662",
41   "libaddressinput_revision": "176",
42   "libphonenumber_revision": "621",
43   "libvpx_revision": "269083",
44   "lss_revision": "26",
46   # These two FFmpeg variables must be updated together.  One is used for SVN
47   # checkouts and the other for Git checkouts.
48   "ffmpeg_revision": "270146",
49   "ffmpeg_hash": "d3a060bd1d6a4f43e9bc7d07f193b0513df4f244",
51   "sfntly_revision": "228",
52   "lighttpd_revision": "33737",
53   "skia_revision": "14744",
54   "skia_hash": "24f6e29fc133f1082c73e2a96f30bee92e3123aa",
55   # Three lines of non-changing comments so that
56   # the commit queue can handle CLs rolling Skia
57   # and V8 without interference from each other.
58   "v8_branch": "trunk",
59   "v8_revision": "21152",
60   # Three lines of non-changing comments so that
61   # the commit queue can handle CLs rolling WebRTC
62   # and V8 without interference from each other.
63   "webrtc_revision": "6174",
64   "jsoncpp_revision": "248",
65   "nss_revision": "267366",
66   # Three lines of non-changing comments so that
67   # the commit queue can handle CLs rolling swarming_client
68   # and whatever else without interference from each other.
69   "swarming_revision": "ae8085b09e6162b4ec869e430d7d09c16b32b433",
70   # Three lines of non-changing comments so that
71   # the commit queue can handle CLs rolling openssl
72   # and whatever else without interference from each other.
73   "openssl_revision": "269063",
74   # Three lines of non-changing comments so that
75   # the commit queue can handle CLs rolling ANGLE
76   # and whatever else without interference from each other.
77   "angle_revision": "28bcf4ffeb49322fa019e2778c1fdd20f61d9ea6",
78   # Three lines of non-changing comments so that
79   # the commit queue can handle CLs rolling build tools
80   # and whatever else without interference from each other.
81   "buildtools_revision": "8349035e86305fc9e4fd871610821336120a4bad",
84 deps = {
85   "src/breakpad/src":
86     (Var("googlecode_url") % "google-breakpad") + "/trunk/src@1331",
88   "src/buildtools":
89     Var("chromium_git") + "/chromium/buildtools.git@" +
90      Var("buildtools_revision"),
92   "src/sdch/open-vcdiff":
93     (Var("googlecode_url") % "open-vcdiff") + "/trunk@42",
95   "src/testing/gtest":
96     (Var("googlecode_url") % "googletest") + "/trunk@643",
98   "src/testing/gmock":
99     (Var("googlecode_url") % "googlemock") + "/trunk@410",
101   "src/third_party/angle":
102     Var("chromium_git") + "/angle/angle.git@" + Var("angle_revision"),
104   "src/third_party/trace-viewer":
105     (Var("googlecode_url") % "trace-viewer") + "/trunk@1267",
107   "src/third_party/WebKit":
108     Var("webkit_trunk") + "@" + Var("webkit_revision"),
110   "src/third_party/WebKit/LayoutTests/w3c/web-platform-tests":
111     Var("chromium_git") +
112     "/external/w3c/web-platform-tests.git@6bed4516fe8522d65512c76ef02e4f0ae8234395",
114   "src/third_party/WebKit/LayoutTests/w3c/csswg-test":
115     Var("chromium_git") +
116     "/external/w3c/csswg-test.git@bacbb4a8dca702cd86646761fde96793db13d4f1",
118   "src/third_party/icu":
119     "/trunk/deps/third_party/icu46@262949",
121   "src/third_party/libexif/sources":
122     "/trunk/deps/third_party/libexif/sources@265008",
124   "src/third_party/hunspell":
125    "/trunk/deps/third_party/hunspell@256272",
127   "src/third_party/hunspell_dictionaries":
128     "/trunk/deps/third_party/hunspell_dictionaries@255132",
130   "src/third_party/safe_browsing/testing":
131     (Var("googlecode_url") % "google-safe-browsing") + "/trunk/testing@112",
133   "src/third_party/cacheinvalidation/src":
134     (Var("googlecode_url") % "google-cache-invalidation-api") +
135     "/trunk/src@331",
137   "src/third_party/leveldatabase/src":
138     (Var("googlecode_url") % "leveldb") + "/trunk@80",
140   "src/third_party/libc++/trunk":
141     Var("llvm_url") + "/libcxx/trunk@" + Var("libcxx_revision"),
143   "src/third_party/libc++abi/trunk":
144     Var("llvm_url") + "/libcxxabi/trunk@" + Var("libcxxabi_revision"),
146   "src/third_party/snappy/src":
147     (Var("googlecode_url") % "snappy") + "/trunk@80",
149   "src/tools/grit":
150     (Var("googlecode_url") % "grit-i18n") + "/trunk@167",
152   "src/tools/gyp":
153     (Var("googlecode_url") % "gyp") + "/trunk@1919",
155   "src/tools/swarming_client":
156     Var("chromium_git") + "/external/swarming.client.git@" +
157         Var("swarming_revision"),
159   "src/v8":
160     (Var("googlecode_url") % "v8") + "/" + Var("v8_branch") + "@" +
161     Var("v8_revision"),
163   "src/native_client":
164     Var("nacl_trunk") + "/src/native_client@" + Var("nacl_revision"),
166   "src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin":
167     Var("nacl_trunk") + "/src/native_client/tests/prebuilt@" +
168     Var("nacl_revision"),
170   "src/third_party/sfntly/cpp/src":
171     (Var("googlecode_url") % "sfntly") + "/trunk/cpp/src@" +
172     Var("sfntly_revision"),
174   "src/third_party/skia/src":
175     (Var("googlecode_url") % "skia") + "/trunk/src@" + Var("skia_revision"),
177   "src/third_party/skia/gyp":
178     (Var("googlecode_url") % "skia") + "/trunk/gyp@" + Var("skia_revision"),
180   "src/third_party/skia/include":
181     (Var("googlecode_url") % "skia") + "/trunk/include@" + Var("skia_revision"),
183   "src/third_party/ots":
184     (Var("googlecode_url") % "ots") + "/trunk@113",
186   "src/third_party/brotli/src":
187     Var("chromium_git") +
188     "/external/font-compression-reference.git@0829e37293abc2523a1d2b0f4d68ff7b5fcd8e01",
190   "src/tools/page_cycler/acid3":
191     "/trunk/deps/page_cycler/acid3@171600",
193   "src/chrome/test/data/perf/canvas_bench":
194     "/trunk/deps/canvas_bench@122605",
196   "src/chrome/test/data/perf/frame_rate/content":
197     "/trunk/deps/frame_rate/content@93671",
199   "src/chrome/test/data/perf/third_party/octane":
200     (Var("googlecode_url") % "octane-benchmark") + "/trunk@19",
202   "src/third_party/bidichecker":
203     (Var("googlecode_url") % "bidichecker") + "/trunk/lib@4",
205   "src/third_party/webgl/src":
206     Var("chromium_git") +
207     "/external/khronosgroup/webgl.git@1700aa98cc8bc494b305d4ec1045797bc4030f45",
209   "src/third_party/swig/Lib":
210     "/trunk/deps/third_party/swig/Lib@" + Var("swig_revision"),
212   # Make sure you update the two functional.DEPS and webdriver.DEPS too.
213   "src/third_party/webdriver/pylib":
214     (Var("googlecode_url") % "selenium") + "/trunk/py@18337",
216   "src/third_party/libvpx":
217     "/trunk/deps/third_party/libvpx@" +
218     Var("libvpx_revision"),
220   "src/third_party/ffmpeg":
221     "/trunk/deps/third_party/ffmpeg@" +
222     Var("ffmpeg_revision"),
224   "src/third_party/libjingle/source/talk":
225     (Var("googlecode_url") % "webrtc") + "/trunk/talk@" +
226     Var("webrtc_revision"),
228   "src/third_party/usrsctp/usrsctplib":
229     (Var("googlecode_url") % "sctp-refimpl") +
230     "/trunk/KERN/usrsctp/usrsctplib@8838",
232   "src/third_party/libsrtp":
233     "/trunk/deps/third_party/libsrtp@261337",
235   "src/third_party/speex":
236     "/trunk/deps/third_party/speex@198168",
238   "src/third_party/yasm/source/patched-yasm":
239     "/trunk/deps/third_party/yasm/patched-yasm@167605",
241   "src/third_party/libjpeg_turbo":
242     "/trunk/deps/third_party/libjpeg_turbo@263594",
244   "src/third_party/flac":
245     "/trunk/deps/third_party/flac@222897",
247   "src/third_party/pyftpdlib/src":
248     (Var("googlecode_url") % "pyftpdlib") + "/trunk@977",
250   "src/third_party/scons-2.0.1":
251     Var("nacl_trunk") + "/src/third_party/scons-2.0.1@" +
252         Var("nacl_tools_revision"),
254   "src/third_party/webrtc":
255     (Var("googlecode_url") % "webrtc") + "/trunk/webrtc@" + Var("webrtc_revision"),
257   "src/third_party/openmax_dl":
258     (Var("googlecode_url") % "webrtc") + "/deps/third_party/openmax@6024",
260   "src/third_party/jsoncpp/source/include":
261     (Var("sourceforge_url") % {"repo": "jsoncpp"}) +
262         "/trunk/jsoncpp/include@" + Var("jsoncpp_revision"),
264   "src/third_party/jsoncpp/source/src/lib_json":
265     (Var("sourceforge_url") % {"repo": "jsoncpp"}) +
266         "/trunk/jsoncpp/src/lib_json@" + Var("jsoncpp_revision"),
268   "src/third_party/libyuv":
269     (Var("googlecode_url") % "libyuv") + "/trunk@1000",
271   "src/third_party/smhasher/src":
272     (Var("googlecode_url") % "smhasher") + "/trunk@152",
274   "src/third_party/libaddressinput/src/cpp":
275     (Var("googlecode_url") % "libaddressinput") + "/trunk/cpp@" +
276         Var("libaddressinput_revision"),
277   "src/third_party/libaddressinput/src/testdata":
278     (Var("googlecode_url") % "libaddressinput") + "/trunk/testdata@" +
279         Var("libaddressinput_revision"),
281   "src/third_party/libphonenumber/src/phonenumbers":
282     (Var("googlecode_url") % "libphonenumber") +
283         "/trunk/cpp/src/phonenumbers@" + Var("libphonenumber_revision"),
284   "src/third_party/libphonenumber/src/test":
285     (Var("googlecode_url") % "libphonenumber") + "/trunk/cpp/test@" +
286         Var("libphonenumber_revision"),
287   "src/third_party/libphonenumber/src/resources":
288     (Var("googlecode_url") % "libphonenumber") + "/trunk/resources@" +
289         Var("libphonenumber_revision"),
291   "src/tools/deps2git":
292     "/trunk/tools/deps2git@262731",
294   "src/third_party/clang_format/script":
295     Var("llvm_url") + "/cfe/trunk/tools/clang-format@206068",
297   "src/third_party/webpagereplay":
298     (Var("googlecode_url") % "web-page-replay") + "/trunk@544",
300   "src/third_party/pywebsocket/src":
301     (Var("googlecode_url") % "pywebsocket") + "/trunk/src@790",
303   "src/third_party/opus/src":
304     "/trunk/deps/third_party/opus@256783",
306   "src/media/cdm/ppapi/api":
307     "/trunk/deps/cdm@262570",
309   "src/third_party/mesa/src":
310     "/trunk/deps/third_party/mesa@265279",
312   "src/third_party/cld_2/src":
313     (Var("googlecode_url") % "cld2") + "/trunk@160",
315   "src/chrome/browser/resources/pdf/html_office":
316      Var("chromium_git") +
317          "/chromium/html-office-public.git@eeff97614f65e0578529490d44d412032c3d7359",
319   "src/third_party/libwebm/source":
320     Var("chromium_git") +
321       "/webm/libwebm.git@fb6b6e64444c637f27d103fd113e0c7bf4f107dd",
323   "src/third_party/openssl":
324     "/trunk/deps/third_party/openssl@" + Var("openssl_revision"),
328 deps_os = {
329   "win": {
330     "src/chrome/tools/test/reference_build/chrome_win":
331       "/trunk/deps/reference_builds/chrome_win@254637",
333     "src/third_party/cygwin":
334       "/trunk/deps/third_party/cygwin@231940",
336     "src/third_party/psyco_win32":
337       "/trunk/deps/third_party/psyco_win32@237949",
339     "src/third_party/bison":
340       "/trunk/deps/third_party/bison@147303",
342     "src/third_party/gperf":
343       "/trunk/deps/third_party/gperf@147304",
345     "src/third_party/perl":
346       "/trunk/deps/third_party/perl@147900",
348     "src/third_party/lighttpd":
349       "/trunk/deps/third_party/lighttpd@" + Var("lighttpd_revision"),
351     # Parses Windows PE/COFF executable format.
352     "src/third_party/pefile":
353       (Var("googlecode_url") % "pefile") + "/trunk@63",
355     # NSS, for SSLClientSocketNSS.
356     "src/third_party/nss":
357       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
359     "src/third_party/swig/win":
360       "/trunk/deps/third_party/swig/win@" + Var("swig_revision"),
362     # GNU binutils assembler for x86-32.
363     "src/third_party/gnu_binutils":
364       (Var("nacl_trunk") + "/deps/third_party/gnu_binutils@" +
365        Var("nacl_tools_revision")),
366     # GNU binutils assembler for x86-64.
367     "src/third_party/mingw-w64/mingw/bin":
368       (Var("nacl_trunk") + "/deps/third_party/mingw-w64/mingw/bin@" +
369        Var("nacl_tools_revision")),
371     # Dependencies used by libjpeg-turbo
372     "src/third_party/yasm/binaries":
373       "/trunk/deps/third_party/yasm/binaries@154708",
375     # Binary level profile guided optimizations. This points to the
376     # latest release binaries for the toolchain.
377     "src/third_party/syzygy/binaries":
378       (Var("googlecode_url") % "sawbuck") + "/trunk/syzygy/binaries@2154",
380     # Binaries for nacl sdk.
381     "src/third_party/nacl_sdk_binaries":
382       "/trunk/deps/third_party/nacl_sdk_binaries@111576",
383   },
384   "ios": {
385     "src/third_party/google_toolbox_for_mac/src":
386       (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@" +
387       Var("google_toolbox_for_mac_revision"),
389     "src/third_party/nss":
390       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
392     # class-dump utility to generate header files for undocumented SDKs
393     "src/testing/iossim/third_party/class-dump":
394       "/trunk/deps/third_party/class-dump@199203",
396     # Code that's not needed due to not building everything
397     "src/build/util/support": None,
398     "src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin": None,
399     "src/chrome/test/data/perf/canvas_bench": None,
400     "src/chrome/test/data/perf/frame_rate/content": None,
401     "src/chrome/test/data/perf/third_party/octane": None,
402     "src/media/cdm/ppapi/api": None,
403     "src/native_client": None,
404     "src/native_client/src/third_party/ppapi": None,
405     "src/third_party/angle": None,
406     "src/third_party/bidichecker": None,
407     "src/third_party/brotli/src": None,
408     "src/third_party/cld_2/src": None,
409     "src/third_party/ffmpeg": None,
410     "src/third_party/hunspell_dictionaries": None,
411     "src/third_party/hunspell": None,
412     "src/third_party/libaddressinput/src/cpp": None,
413     "src/third_party/libaddressinput/src/testdata": None,
414     "src/third_party/libc++/trunk": None,
415     "src/third_party/libc++abi/trunk": None,
416     "src/third_party/libexif/sources": None,
417     "src/third_party/libjpeg_turbo": None,
418     "src/third_party/libsrtp": None,
419     "src/third_party/libvpx": None,
420     "src/third_party/libyuv": None,
421     "src/third_party/mesa/src": None,
422     "src/third_party/opus/src": None,
423     "src/third_party/openmax_dl": None,
424     "src/third_party/ots": None,
425     "src/third_party/pymox/src": None,
426     "src/third_party/safe_browsing/testing": None,
427     "src/third_party/scons-2.0.1": None,
428     "src/third_party/sfntly/cpp/src": None,
429     "src/third_party/speex": None,
430     "src/third_party/swig/Lib": None,
431     "src/third_party/usrsctp/usrsctplib": None,
432     "src/third_party/v8-i18n": None,
433     "src/third_party/webdriver/pylib": None,
434     "src/third_party/webgl": None,
435     "src/third_party/webpagereplay": None,
436     "src/third_party/webrtc": None,
437     "src/third_party/WebKit/LayoutTests/w3c/web-platform-tests": None,
438     "src/third_party/WebKit/LayoutTests/w3c/csswg-test": None,
439     "src/third_party/yasm/source/patched-yasm": None,
440     "src/tools/page_cycler/acid3": None,
441     "src/v8": None,
442   },
443   "mac": {
444     "src/chrome/tools/test/reference_build/chrome_mac":
445       "/trunk/deps/reference_builds/chrome_mac@255182",
447     "src/third_party/google_toolbox_for_mac/src":
448       (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@" +
449       Var("google_toolbox_for_mac_revision"),
451     "src/third_party/pdfsqueeze":
452       (Var("googlecode_url") % "pdfsqueeze") + "/trunk@5",
454     "src/third_party/lighttpd":
455       "/trunk/deps/third_party/lighttpd@" + Var("lighttpd_revision"),
457     "src/third_party/swig/mac":
458       "/trunk/deps/third_party/swig/mac@" + Var("swig_revision"),
460     # NSS, for SSLClientSocketNSS.
461     "src/third_party/nss":
462       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
464     "src/chrome/installer/mac/third_party/xz/xz":
465       "/trunk/deps/third_party/xz@233311",
466   },
467   "unix": {
468     # Linux, really.
469     "src/chrome/tools/test/reference_build/chrome_linux":
470       "/trunk/deps/reference_builds/chrome_linux64@254637",
472     "src/third_party/xdg-utils":
473       "/trunk/deps/third_party/xdg-utils@203785",
475     "src/third_party/swig/linux":
476       "/trunk/deps/third_party/swig/linux@" + Var("swig_revision"),
478     "src/third_party/lss":
479       ((Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@" +
480        Var("lss_revision")),
482     # For Linux and Chromium OS.
483     "src/third_party/cros_system_api":
484       Var("chromiumos_git") + "/platform/system_api.git" +
485       "@852550b82d6580eb5866fc637ea6aa4aeec67eb5",
487     # Note that this is different from Android's freetype repo.
488     "src/third_party/freetype2/src":
489       Var("chromium_git") + "/chromium/src/third_party/freetype2.git" +
490       "@d699c2994ecc178c4ed05ac2086061b2034c2178",
492     # Build tools for targeting ChromeOS.
493     "src/third_party/chromite":
494       Var("chromiumos_git") + "/chromite.git" +
495       "@63193a4393f6e964bfca992bfb03e40183554f7d",
497     # Dependency of chromite.git.
498     "src/third_party/pyelftools":
499       Var("chromiumos_git") + "/third_party/pyelftools.git" +
500       "@bdc1d380acd88d4bfaf47265008091483b0d614e",
502     "src/third_party/undoview":
503       "/trunk/deps/third_party/undoview@119694",
505     "src/third_party/liblouis/src":
506       Var("chromium_git") +
507       "/external/liblouis.git@3c2daee56250162e5a75830871601d74328d39f5",
509     # Used for embedded builds. CrOS & Linux use the system version.
510     "src/third_party/fontconfig/src":
511       Var("chromium_git") + "/external/fontconfig.git" +
512       "@f16c3118e25546c1b749f9823c51827a60aeb5c1",
513   },
514   "android": {
515     "src/third_party/android_tools":
516       Var("chromium_git") + "/android_tools.git" +
517       "@aabf2a28449fe47dedeee51d3570ff8687ff015f",
519     "src/third_party/aosp":
520       "/trunk/deps/third_party/aosp@148330",
522     "src/third_party/apache-mime4j":
523       "/trunk/deps/third_party/apache-mime4j@170888",
525     "src/third_party/findbugs":
526       "/trunk/deps/third_party/findbugs@245039",
528     "src/third_party/freetype":
529       Var("chromium_git") + "/chromium/src/third_party/freetype.git" +
530       "@a2b9955b49034a51dfbc8bf9f4e9d312149cecac",
532     "src/third_party/guava/src":
533       Var("chromium_git") + "/external/guava-libraries.git" +
534       "@c523556ab7d0f05afadebd20e7768d4c16af8771",
536     "src/third_party/httpcomponents-client":
537       "/trunk/deps/third_party/httpcomponents-client@170888",
539     "src/third_party/httpcomponents-core":
540       "/trunk/deps/third_party/httpcomponents-core@170888",
542     "src/third_party/jarjar":
543       "/trunk/deps/third_party/jarjar@170888",
545     "src/third_party/jsr-305/src":
546       (Var("googlecode_url") % "jsr-305") + "/trunk@51",
548     "src/third_party/lss":
549       ((Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@" +
550        Var("lss_revision")),
552     "src/third_party/eyesfree/src/android/java/src/com/googlecode/eyesfree/braille":
553       (Var("googlecode_url") % "eyes-free") + "/trunk/braille/client/src/com/googlecode/eyesfree/braille@797",
555     # Android shouldn't use this address validation library.
556     "src/third_party/libaddressinput/src/cpp": None,
557     "src/third_party/libaddressinput/src/testdata": None,
558   },
562 include_rules = [
563   # Everybody can use some things.
564   "+base",
565   "+build",
566   "+ipc",
568   # Everybody can use headers generated by tools/generate_library_loader.
569   "+library_loaders",
571   "+testing",
572   "+third_party/icu/source/common/unicode",
573   "+third_party/icu/source/i18n/unicode",
574   "+url",
578 # checkdeps.py shouldn't check include paths for files in these dirs:
579 skip_child_includes = [
580   "breakpad",
581   "delegate_execute",
582   "metro_driver",
583   "native_client_sdk",
584   "o3d",
585   "pdf",
586   "sdch",
587   "skia",
588   "testing",
589   "third_party",
590   "v8",
591   "win8",
595 hooks = [
596   {
597     # This downloads binaries for Native Client's newlib toolchain.
598     # Done in lieu of building the toolchain from scratch as it can take
599     # anywhere from 30 minutes to 4 hours depending on platform to build.
600     "name": "nacltools",
601     "pattern": ".",
602     "action": [
603         "python", "src/build/download_nacl_toolchains.py",
604         "--exclude", "arm_trusted",
605     ],
606   },
607   {
608     # Downloads an ARM sysroot image to src/arm-sysroot. This image updates
609     # at about the same rate that the chrome build deps change.
610     # This script is a no-op except for linux users who have
611     # target_arch=arm in their GYP_DEFINES.
612     "name": "sysroot",
613     "pattern": ".",
614     "action": ["python", "src/build/linux/install-arm-sysroot.py",
615                "--linux-only"],
616   },
617   {
618     # Downloads the Debian Wheezy sysroot to chrome/installer/linux if needed.
619     # This sysroot updates at about the same rate that the chrome build deps
620     # change. This script is a no-op except for linux users who are doing
621     # official chrome builds.
622     "name": "sysroot",
623     "pattern": ".",
624     "action": [
625         "python",
626         "src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py",
627         "--linux-only",
628         "--arch=amd64"],
629   },
630   {
631     # Same as above, but for 32-bit Linux.
632     "name": "sysroot",
633     "pattern": ".",
634     "action": [
635         "python",
636         "src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py",
637         "--linux-only",
638         "--arch=i386"],
639   },
640   {
641     # Pull clang if on Mac or clang is requested via GYP_DEFINES.
642     "name": "clang",
643     "pattern": ".",
644     "action": ["python", "src/tools/clang/scripts/update.py", "--if-needed"],
645   },
646   {
647     # Update the Windows toolchain if necessary.
648     "name": "win_toolchain",
649     "pattern": ".",
650     "action": ["python", "src/build/vs_toolchain.py", "update"],
651   },
652   {
653     # Update LASTCHANGE. This is also run by export_tarball.py in
654     # src/tools/export_tarball - please keep them in sync.
655     "name": "lastchange",
656     "pattern": ".",
657     "action": ["python", "src/build/util/lastchange.py",
658                "-o", "src/build/util/LASTCHANGE"],
659   },
660   {
661     # Update LASTCHANGE.blink. This is also run by export_tarball.py in
662     # src/tools/export_tarball - please keep them in sync.
663     "name": "lastchange",
664     "pattern": ".",
665     "action": ["python", "src/build/util/lastchange.py",
666                "-s", "src/third_party/WebKit",
667                "-o", "src/build/util/LASTCHANGE.blink"],
668   },
669   # Pull GN binaries. This needs to be before running GYP below.
670   {
671     "name": "gn_win",
672     "pattern": ".",
673     "action": [ "download_from_google_storage",
674                 "--no_resume",
675                 "--platform=win32",
676                 "--no_auth",
677                 "--bucket", "chromium-gn",
678                 "-s", "src/tools/gn/bin/win/gn.exe.sha1",
679     ],
680   },
681   {
682     "name": "gn_mac",
683     "pattern": ".",
684     "action": [ "download_from_google_storage",
685                 "--no_resume",
686                 "--platform=darwin",
687                 "--no_auth",
688                 "--bucket", "chromium-gn",
689                 "-s", "src/tools/gn/bin/mac/gn.sha1",
690     ],
691   },
692   {
693     "name": "gn_linux",
694     "pattern": ".",
695     "action": [ "download_from_google_storage",
696                 "--no_resume",
697                 "--platform=linux*",
698                 "--no_auth",
699                 "--bucket", "chromium-gn",
700                 "-s", "src/tools/gn/bin/linux/gn.sha1",
701     ],
702   },
703   {
704     "name": "gn_linux32",
705     "pattern": ".",
706     "action": [ "download_from_google_storage",
707                 "--no_resume",
708                 "--platform=linux*",
709                 "--no_auth",
710                 "--bucket", "chromium-gn",
711                 "-s", "src/tools/gn/bin/linux/gn32.sha1",
712     ],
713   },
714   # Pull clang-format binaries using checked-in hashes.
715   {
716     "name": "clang_format_win",
717     "pattern": ".",
718     "action": [ "download_from_google_storage",
719                 "--no_resume",
720                 "--platform=win32",
721                 "--no_auth",
722                 "--bucket", "chromium-clang-format",
723                 "-s", "src/third_party/clang_format/bin/win/clang-format.exe.sha1",
724     ],
725   },
726   {
727     "name": "clang_format_mac",
728     "pattern": ".",
729     "action": [ "download_from_google_storage",
730                 "--no_resume",
731                 "--platform=darwin",
732                 "--no_auth",
733                 "--bucket", "chromium-clang-format",
734                 "-s", "src/third_party/clang_format/bin/mac/clang-format.sha1",
735     ],
736   },
737   {
738     "name": "clang_format_linux",
739     "pattern": ".",
740     "action": [ "download_from_google_storage",
741                 "--no_resume",
742                 "--platform=linux*",
743                 "--no_auth",
744                 "--bucket", "chromium-clang-format",
745                 "-s", "src/third_party/clang_format/bin/linux/clang-format.sha1",
746     ],
747   },
748   # Pull binutils for linux, enabled debug fission for faster linking /
749   # debugging when used with clang on Ubuntu Precise.
750   # https://code.google.com/p/chromium/issues/detail?id=352046
751   {
752     "name": "binutils",
753     "pattern": "src/third_party/binutils",
754     "action": [
755         "python",
756         "src/third_party/binutils/download.py",
757     ],
758   },
759   # Pull eu-strip binaries using checked-in hashes.
760   {
761     "name": "eu-strip",
762     "pattern": ".",
763     "action": [ "download_from_google_storage",
764                 "--no_resume",
765                 "--platform=linux*",
766                 "--no_auth",
767                 "--bucket", "chromium-eu-strip",
768                 "-s", "src/build/linux/bin/eu-strip.sha1",
769     ],
770   },
771   {
772     # A change to a .gyp, .gypi, or to GYP itself should run the generator.
773     "name": "gyp",
774     "pattern": ".",
775     "action": ["python", "src/build/gyp_chromium"],
776   },