athena: Re-add ui_chromeos resources in athena_resources.pak.
[chromium-blink-merge.git] / DEPS
blob4547fa5d999a38bb123ec29093d7f9a55c6876a5
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": "179328",
32   "chromium_git": "https://chromium.googlesource.com",
33   "chromiumos_git": "https://chromium.googlesource.com/chromiumos",
34   "pdfium_git": "https://pdfium.googlesource.com",
35   "skia_git": "https://skia.googlesource.com",
36   "boringssl_git": "https://boringssl.googlesource.com",
37   "swig_revision": "230490",
38   "nacl_revision": "13562",
39   # After changing nacl_revision, run 'glient sync' and check native_client/DEPS
40   # to update other nacl_*_revision's.
41   "nacl_tools_revision": "13077",  # native_client/DEPS: tools_rev
42   "google_toolbox_for_mac_revision": "662",
43   "libaddressinput_revision": "316",
44   "libphonenumber_revision": "621",
45   "libvpx_revision": "286315",
46   "lss_revision": "26",
47   "sfntly_revision": "239",
48   "lighttpd_revision": "33737",
49   "skia_revision": "992c7b03ef7914a18bfd78e965b0b4c99a5f5672",
50   # Three lines of non-changing comments so that
51   # the commit queue can handle CLs rolling Skia
52   # and V8 without interference from each other.
53   "v8_branch": "trunk",
54   "v8_revision": "22785",
55   # Three lines of non-changing comments so that
56   # the commit queue can handle CLs rolling WebRTC
57   # and V8 without interference from each other.
58   "webrtc_revision": "6774",
59   "jsoncpp_revision": "248",
60   "nss_revision": "277057",
61   # Three lines of non-changing comments so that
62   # the commit queue can handle CLs rolling swarming_client
63   # and whatever else without interference from each other.
64   "swarming_revision": "6b555c18f93ce9feca87df43eb824118a9c124c5",
65   # Three lines of non-changing comments so that
66   # the commit queue can handle CLs rolling openssl
67   # and whatever else without interference from each other.
68   "openssl_revision": "284247",
69   # Three lines of non-changing comments so that
70   # the commit queue can handle CLs rolling ANGLE
71   # and whatever else without interference from each other.
72   "angle_revision": "07d49ef5350a95cfd6321226c178d22cc73aebc9",
73   # Three lines of non-changing comments so that
74   # the commit queue can handle CLs rolling build tools
75   # and whatever else without interference from each other.
76   "buildtools_revision": "59b93247766e1cdac6e482637ad493df38f7aeb7",
77   # Three lines of non-changing comments so that
78   # the commit queue can handle CLs rolling PDFIum
79   # and whatever else without interference from each other.
80   "pdfium_revision": "a08cf99d066b16e4e16393efc15174193e002371",
81   # Three lines of non-changing comments so that
82   # the commit queue can handle CLs rolling openmax_dl
83   # and whatever else without interference from each other.
84   "openmax_dl_revision": "6777",
85   # Three lines of non-changing comments so that
86   # the commit queue can handle CLs rolling BoringSSL
87   # and whatever else without interference from each other.
88   "boringssl_revision": "a3d21e2101ea690ee476d63ed221940e762a67e3",
91 deps = {
92   "src/breakpad/src":
93     (Var("googlecode_url") % "google-breakpad") + "/trunk/src@1359",
95   "src/buildtools":
96     Var("chromium_git") + "/chromium/buildtools.git@" +
97      Var("buildtools_revision"),
99   "src/sdch/open-vcdiff":
100     (Var("googlecode_url") % "open-vcdiff") + "/trunk@42",
102   "src/testing/gtest":
103     (Var("googlecode_url") % "googletest") + "/trunk@643",
105   "src/testing/gmock":
106     (Var("googlecode_url") % "googlemock") + "/trunk@410",
108   "src/third_party/angle":
109     Var("chromium_git") + "/angle/angle.git@" + Var("angle_revision"),
111   "src/third_party/colorama/src":
112     Var("chromium_git") + "/external/colorama.git@799604a1041e9b3bc5d2789ecbd7e8db2e18e6b8",
114   "src/third_party/trace-viewer":
115     (Var("googlecode_url") % "trace-viewer") + "/trunk@1434",
117   "src/third_party/WebKit":
118     Var("webkit_trunk") + "@" + Var("webkit_revision"),
120   "src/third_party/WebKit/LayoutTests/w3c/web-platform-tests":
121     Var("chromium_git") +
122     "/external/w3c/web-platform-tests.git@6bed4516fe8522d65512c76ef02e4f0ae8234395",
124   "src/third_party/WebKit/LayoutTests/w3c/csswg-test":
125     Var("chromium_git") +
126     "/external/w3c/csswg-test.git@bacbb4a8dca702cd86646761fde96793db13d4f1",
128   "src/third_party/icu":
129     "/trunk/deps/third_party/icu52@285387",
131   "src/third_party/libexif/sources":
132     "/trunk/deps/third_party/libexif/sources@265008",
134   "src/third_party/hunspell":
135     "/trunk/deps/third_party/hunspell@283809",
137   "src/third_party/hunspell_dictionaries":
138     "/trunk/deps/third_party/hunspell_dictionaries@255132",
140   "src/third_party/safe_browsing/testing":
141     (Var("googlecode_url") % "google-safe-browsing") + "/trunk/testing@112",
143   "src/third_party/cacheinvalidation/src":
144     (Var("googlecode_url") % "google-cache-invalidation-api") +
145     "/trunk/src@335",
147   "src/third_party/leveldatabase/src":
148     (Var("googlecode_url") % "leveldb") + "/trunk@80",
150   "src/third_party/libc++/trunk":
151     Var("llvm_url") + "/libcxx/trunk@" + Var("libcxx_revision"),
153   "src/third_party/libc++abi/trunk":
154     Var("llvm_url") + "/libcxxabi/trunk@" + Var("libcxxabi_revision"),
156   "src/third_party/snappy/src":
157     (Var("googlecode_url") % "snappy") + "/trunk@80",
159   "src/tools/grit":
160     (Var("googlecode_url") % "grit-i18n") + "/trunk@171",
162   "src/tools/gyp":
163     (Var("googlecode_url") % "gyp") + "/trunk@1959",
165   "src/tools/swarming_client":
166     Var("chromium_git") + "/external/swarming.client.git@" +
167         Var("swarming_revision"),
169   "src/v8":
170     (Var("googlecode_url") % "v8") + "/" + Var("v8_branch") + "@" +
171     Var("v8_revision"),
173   "src/native_client":
174     Var("nacl_trunk") + "/src/native_client@" + Var("nacl_revision"),
176   "src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin":
177     Var("nacl_trunk") + "/src/native_client/tests/prebuilt@" +
178     Var("nacl_revision"),
180   "src/third_party/sfntly/cpp/src":
181     (Var("googlecode_url") % "sfntly") + "/trunk/cpp/src@" +
182     Var("sfntly_revision"),
184   "src/third_party/skia":
185     Var("chromium_git") + "/skia.git@" + Var("skia_revision"),
187   "src/third_party/ots":
188     (Var("googlecode_url") % "ots") + "/trunk@115",
190   "src/third_party/brotli/src":
191     Var("chromium_git") +
192     "/external/font-compression-reference.git@6cef49677dc4c650ef6e3f56041e0a41803afa8c",
194   "src/tools/page_cycler/acid3":
195     "/trunk/deps/page_cycler/acid3@171600",
197   "src/chrome/test/data/perf/canvas_bench":
198     "/trunk/deps/canvas_bench@122605",
200   "src/chrome/test/data/perf/frame_rate/content":
201     "/trunk/deps/frame_rate/content@93671",
203   "src/third_party/bidichecker":
204     (Var("googlecode_url") % "bidichecker") + "/trunk/lib@4",
206   "src/third_party/webgl/src":
207     Var("chromium_git") +
208     "/external/khronosgroup/webgl.git@7c8cb656a753b6237e50c546c31ad826373abf04",
210   "src/third_party/swig/Lib":
211     "/trunk/deps/third_party/swig/Lib@" + Var("swig_revision"),
213   # Make sure you update the two functional.DEPS and webdriver.DEPS too.
214   "src/third_party/webdriver/pylib":
215     (Var("googlecode_url") % "selenium") + "/trunk/py@18337",
217   "src/third_party/libvpx":
218     "/trunk/deps/third_party/libvpx@" +
219     Var("libvpx_revision"),
221   "src/third_party/ffmpeg":
222     Var("chromium_git") +
223     "/chromium/third_party/ffmpeg.git@e2a05d173d49547ed8aa5edc0209941a8941f450",
225   "src/third_party/libjingle/source/talk":
226     (Var("googlecode_url") % "webrtc") + "/trunk/talk@" +
227     Var("webrtc_revision"),
229   "src/third_party/usrsctp/usrsctplib":
230     (Var("googlecode_url") % "sctp-refimpl") +
231     "/trunk/KERN/usrsctp/usrsctplib@8912",
233   "src/third_party/libsrtp":
234     "/trunk/deps/third_party/libsrtp@283418",
236   "src/third_party/speex":
237     "/trunk/deps/third_party/speex@272757",
239   "src/third_party/yasm/source/patched-yasm":
240     "/trunk/deps/third_party/yasm/patched-yasm@167605",
242   "src/third_party/libjpeg_turbo":
243     "/trunk/deps/third_party/libjpeg_turbo@272637",
245   "src/third_party/flac":
246     "/trunk/deps/third_party/flac@222897",
248   "src/third_party/pyftpdlib/src":
249     (Var("googlecode_url") % "pyftpdlib") + "/trunk@977",
251   "src/third_party/scons-2.0.1":
252     Var("nacl_trunk") + "/src/third_party/scons-2.0.1@" +
253         Var("nacl_tools_revision"),
255   "src/third_party/webrtc":
256     (Var("googlecode_url") % "webrtc") + "/trunk/webrtc@" + Var("webrtc_revision"),
258   "src/third_party/openmax_dl":
259     (Var("googlecode_url") % "webrtc") + "/deps/third_party/openmax@" + Var("openmax_dl_revision"),
261   "src/third_party/jsoncpp/source/include":
262     (Var("sourceforge_url") % {"repo": "jsoncpp"}) +
263         "/trunk/jsoncpp/include@" + Var("jsoncpp_revision"),
265   "src/third_party/jsoncpp/source/src/lib_json":
266     (Var("sourceforge_url") % {"repo": "jsoncpp"}) +
267         "/trunk/jsoncpp/src/lib_json@" + Var("jsoncpp_revision"),
269   "src/third_party/libyuv":
270     (Var("googlecode_url") % "libyuv") + "/trunk@1035",
272   "src/third_party/smhasher/src":
273     (Var("googlecode_url") % "smhasher") + "/trunk@152",
275   "src/third_party/libaddressinput/src/cpp":
276     (Var("googlecode_url") % "libaddressinput") + "/trunk/cpp@" +
277         Var("libaddressinput_revision"),
278   "src/third_party/libaddressinput/src/testdata":
279     (Var("googlecode_url") % "libaddressinput") + "/trunk/testdata@" +
280         Var("libaddressinput_revision"),
282   "src/third_party/libphonenumber/src/phonenumbers":
283     (Var("googlecode_url") % "libphonenumber") +
284         "/trunk/cpp/src/phonenumbers@" + Var("libphonenumber_revision"),
285   "src/third_party/libphonenumber/src/test":
286     (Var("googlecode_url") % "libphonenumber") + "/trunk/cpp/test@" +
287         Var("libphonenumber_revision"),
288   "src/third_party/libphonenumber/src/resources":
289     (Var("googlecode_url") % "libphonenumber") + "/trunk/resources@" +
290         Var("libphonenumber_revision"),
292   "src/tools/deps2git":
293     "/trunk/tools/deps2git@276439",
295   "src/third_party/webpagereplay":
296     Var("chromium_git") + "/external/web-page-replay.git@" +
297     "b62c02d3b64cf00a2f65a82cca0721aa42c3d6ad",
299   "src/third_party/pywebsocket/src":
300     (Var("googlecode_url") % "pywebsocket") + "/trunk/src@790",
302   "src/third_party/opus/src":
303     "/trunk/deps/third_party/opus@256783",
305   "src/media/cdm/ppapi/api":
306     "/trunk/deps/cdm@273356",
308   "src/third_party/mesa/src":
309     "/trunk/deps/third_party/mesa@265279",
311   "src/third_party/cld_2/src":
312     (Var("googlecode_url") % "cld2") + "/trunk@165",
314   "src/chrome/browser/resources/pdf/html_office":
315      Var("chromium_git") +
316          "/chromium/html-office-public.git@eeff97614f65e0578529490d44d412032c3d7359",
318   "src/third_party/libwebm/source":
319     Var("chromium_git") +
320       "/webm/libwebm.git@0d4cb404ea4195e5e21d04db2c955615535ce62e",
322   "src/third_party/openssl":
323     "/trunk/deps/third_party/openssl@" + Var("openssl_revision"),
325   "src/third_party/pdfium":
326     Var("pdfium_git") + "/pdfium.git@" + Var("pdfium_revision"),
328   "src/third_party/boringssl/src":
329     Var("boringssl_git") + "/boringssl.git@" + Var("boringssl_revision"),
333 deps_os = {
334   "win": {
335     "src/chrome/tools/test/reference_build/chrome_win":
336       "/trunk/deps/reference_builds/chrome_win@273882",
338     "src/third_party/cygwin":
339       "/trunk/deps/third_party/cygwin@231940",
341     "src/third_party/psyco_win32":
342       "/trunk/deps/third_party/psyco_win32@237949",
344     "src/third_party/bison":
345       "/trunk/deps/third_party/bison@147303",
347     "src/third_party/gperf":
348       "/trunk/deps/third_party/gperf@147304",
350     "src/third_party/perl":
351       "/trunk/deps/third_party/perl@147900",
353     "src/third_party/lighttpd":
354       "/trunk/deps/third_party/lighttpd@" + Var("lighttpd_revision"),
356     # Parses Windows PE/COFF executable format.
357     "src/third_party/pefile":
358       Var("chromium_git") + '/external/pefile.git@' +
359       '72c6ae42396cb913bcab63c15585dc3b5c3f92f1',
361     # NSS, for SSLClientSocketNSS.
362     "src/third_party/nss":
363       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
365     "src/third_party/swig/win":
366       "/trunk/deps/third_party/swig/win@" + Var("swig_revision"),
368     # GNU binutils assembler for x86-32.
369     "src/third_party/gnu_binutils":
370       (Var("nacl_trunk") + "/deps/third_party/gnu_binutils@" +
371        Var("nacl_tools_revision")),
372     # GNU binutils assembler for x86-64.
373     "src/third_party/mingw-w64/mingw/bin":
374       (Var("nacl_trunk") + "/deps/third_party/mingw-w64/mingw/bin@" +
375        Var("nacl_tools_revision")),
377     # Dependencies used by libjpeg-turbo
378     "src/third_party/yasm/binaries":
379       "/trunk/deps/third_party/yasm/binaries@154708",
381     # Binaries for nacl sdk.
382     "src/third_party/nacl_sdk_binaries":
383       "/trunk/deps/third_party/nacl_sdk_binaries@111576",
384   },
385   "ios": {
386     "src/third_party/google_toolbox_for_mac/src":
387       (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@" +
388       Var("google_toolbox_for_mac_revision"),
390     "src/third_party/nss":
391       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
393     # class-dump utility to generate header files for undocumented SDKs
394     "src/testing/iossim/third_party/class-dump":
395       "/trunk/deps/third_party/class-dump@199203",
397     # Code that's not needed due to not building everything
398     "src/build/util/support": None,
399     "src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin": None,
400     "src/chrome/test/data/perf/canvas_bench": None,
401     "src/chrome/test/data/perf/frame_rate/content": 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/libc++/trunk": None,
413     "src/third_party/libc++abi/trunk": None,
414     "src/third_party/libexif/sources": None,
415     "src/third_party/libjpeg_turbo": None,
416     "src/third_party/libsrtp": None,
417     "src/third_party/mesa/src": None,
418     "src/third_party/opus/src": None,
419     "src/third_party/openmax_dl": None,
420     "src/third_party/ots": None,
421     "src/third_party/pymox/src": None,
422     "src/third_party/safe_browsing/testing": None,
423     "src/third_party/scons-2.0.1": None,
424     "src/third_party/sfntly/cpp/src": None,
425     "src/third_party/speex": None,
426     "src/third_party/swig/Lib": None,
427     "src/third_party/usrsctp/usrsctplib": None,
428     "src/third_party/v8-i18n": None,
429     "src/third_party/webdriver/pylib": None,
430     "src/third_party/webgl": None,
431     "src/third_party/webpagereplay": None,
432     "src/third_party/WebKit/LayoutTests/w3c/web-platform-tests": None,
433     "src/third_party/WebKit/LayoutTests/w3c/csswg-test": None,
434     "src/third_party/yasm/source/patched-yasm": None,
435     "src/tools/page_cycler/acid3": None,
436     "src/v8": None,
437   },
438   "mac": {
439     "src/chrome/tools/test/reference_build/chrome_mac":
440       "/trunk/deps/reference_builds/chrome_mac@273882",
442     "src/third_party/google_toolbox_for_mac/src":
443       (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@" +
444       Var("google_toolbox_for_mac_revision"),
446     "src/third_party/pdfsqueeze":
447       (Var("googlecode_url") % "pdfsqueeze") + "/trunk@5",
449     "src/third_party/lighttpd":
450       "/trunk/deps/third_party/lighttpd@" + Var("lighttpd_revision"),
452     "src/third_party/swig/mac":
453       "/trunk/deps/third_party/swig/mac@" + Var("swig_revision"),
455     # NSS, for SSLClientSocketNSS.
456     "src/third_party/nss":
457       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
459     "src/chrome/installer/mac/third_party/xz/xz":
460       "/trunk/deps/third_party/xz@233311",
461   },
462   "unix": {
463     # Linux, really.
464     "src/chrome/tools/test/reference_build/chrome_linux":
465       "/trunk/deps/reference_builds/chrome_linux64@273882",
467     "src/third_party/xdg-utils":
468       "/trunk/deps/third_party/xdg-utils@203785",
470     "src/third_party/swig/linux":
471       "/trunk/deps/third_party/swig/linux@" + Var("swig_revision"),
473     "src/third_party/lss":
474       ((Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@" +
475        Var("lss_revision")),
477     # For Linux and Chromium OS.
478     "src/third_party/cros_system_api":
479       Var("chromiumos_git") + "/platform/system_api.git" +
480       "@690c6b9702d7bcc761ae2d8976fe77e547255481",
482     # Note that this is different from Android's freetype repo.
483     "src/third_party/freetype2/src":
484       Var("chromium_git") + "/chromium/src/third_party/freetype2.git" +
485       "@d699c2994ecc178c4ed05ac2086061b2034c2178",
487     # Build tools for Chrome OS.
488     "src/third_party/chromite":
489       Var("chromiumos_git") + "/chromite.git" +
490       "@5fbc8b1ace4d3541d02d9f6503d4c75877ce3a9b",
492     # Dependency of chromite.git.
493     "src/third_party/pyelftools":
494       Var("chromiumos_git") + "/third_party/pyelftools.git" +
495       "@bdc1d380acd88d4bfaf47265008091483b0d614e",
497     "src/third_party/undoview":
498       "/trunk/deps/third_party/undoview@119694",
500     "src/third_party/liblouis/src":
501       Var("chromium_git") +
502       "/external/liblouis.git@3c2daee56250162e5a75830871601d74328d39f5",
504     # Used for embedded builds. CrOS & Linux use the system version.
505     "src/third_party/fontconfig/src":
506       Var("chromium_git") + "/external/fontconfig.git" +
507       "@f16c3118e25546c1b749f9823c51827a60aeb5c1",
508   },
509   "android": {
510     "src/third_party/android_tools":
511       Var("chromium_git") + "/android_tools.git" +
512       "@8301b711a9ac7de56e9a9ff3dee0b2ebfc9a380f",
514     "src/third_party/aosp":
515       "/trunk/deps/third_party/aosp@148330",
517     "src/third_party/apache-mime4j":
518       "/trunk/deps/third_party/apache-mime4j@170888",
520     "src/third_party/findbugs":
521       "/trunk/deps/third_party/findbugs@245039",
523     "src/third_party/freetype":
524       Var("chromium_git") + "/chromium/src/third_party/freetype.git" +
525       "@a2b9955b49034a51dfbc8bf9f4e9d312149cecac",
527     "src/third_party/guava/src":
528       Var("chromium_git") + "/external/guava-libraries.git" +
529       "@c523556ab7d0f05afadebd20e7768d4c16af8771",
531    "src/third_party/elfutils/src":
532       Var("chromium_git") + "/external/elfutils.git" +
533       "@249673729a7e5dbd5de4f3760bdcaa3d23d154d7",
535     "src/third_party/httpcomponents-client":
536       "/trunk/deps/third_party/httpcomponents-client@170888",
538     "src/third_party/httpcomponents-core":
539       "/trunk/deps/third_party/httpcomponents-core@170888",
541     "src/third_party/jarjar":
542       "/trunk/deps/third_party/jarjar@170888",
544     "src/third_party/jsr-305/src":
545       (Var("googlecode_url") % "jsr-305") + "/trunk@51",
547     "src/third_party/lss":
548       ((Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@" +
549        Var("lss_revision")),
551     "src/third_party/eyesfree/src/android/java/src/com/googlecode/eyesfree/braille":
552       (Var("googlecode_url") % "eyes-free") + "/trunk/braille/client/src/com/googlecode/eyesfree/braille@797",
553   },
557 include_rules = [
558   # Everybody can use some things.
559   "+base",
560   "+build",
561   "+ipc",
563   # Everybody can use headers generated by tools/generate_library_loader.
564   "+library_loaders",
566   "+testing",
567   "+third_party/icu/source/common/unicode",
568   "+third_party/icu/source/i18n/unicode",
569   "+url",
573 # checkdeps.py shouldn't check include paths for files in these dirs:
574 skip_child_includes = [
575   "breakpad",
576   "delegate_execute",
577   "metro_driver",
578   "native_client_sdk",
579   "o3d",
580   "sdch",
581   "skia",
582   "testing",
583   "third_party",
584   "v8",
585   "win8",
589 hooks = [
590   {
591     # This downloads binaries for Native Client's newlib toolchain.
592     # Done in lieu of building the toolchain from scratch as it can take
593     # anywhere from 30 minutes to 4 hours depending on platform to build.
594     "name": "nacltools",
595     "pattern": ".",
596     "action": [
597         "python", "src/build/download_nacl_toolchains.py",
598         "--exclude", "arm_trusted",
599     ],
600   },
601   {
602     # Downloads an ARM sysroot image to src/arm-sysroot. This image updates
603     # at about the same rate that the chrome build deps change.
604     # This script is a no-op except for linux users who have
605     # target_arch=arm in their GYP_DEFINES.
606     "name": "sysroot",
607     "pattern": ".",
608     "action": ["python", "src/build/linux/install-arm-sysroot.py",
609                "--linux-only"],
610   },
611   {
612     # Downloads the Debian Wheezy sysroot to chrome/installer/linux if needed.
613     # This sysroot updates at about the same rate that the chrome build deps
614     # change. This script is a no-op except for linux users who are doing
615     # official chrome builds.
616     "name": "sysroot",
617     "pattern": ".",
618     "action": [
619         "python",
620         "src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py",
621         "--linux-only",
622         "--arch=amd64"],
623   },
624   {
625     # Same as above, but for 32-bit Linux.
626     "name": "sysroot",
627     "pattern": ".",
628     "action": [
629         "python",
630         "src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py",
631         "--linux-only",
632         "--arch=i386"],
633   },
634   {
635     # Pull clang if on Mac or clang is requested via GYP_DEFINES.
636     "name": "clang",
637     "pattern": ".",
638     "action": ["python", "src/tools/clang/scripts/update.py", "--if-needed"],
639   },
640   {
641     # Update the Windows toolchain if necessary.
642     "name": "win_toolchain",
643     "pattern": ".",
644     "action": ["python", "src/build/vs_toolchain.py", "update"],
645   },
646   {
647     # Update LASTCHANGE. This is also run by export_tarball.py in
648     # src/tools/export_tarball - please keep them in sync.
649     "name": "lastchange",
650     "pattern": ".",
651     "action": ["python", "src/build/util/lastchange.py",
652                "-o", "src/build/util/LASTCHANGE"],
653   },
654   {
655     # Update LASTCHANGE.blink. This is also run by export_tarball.py in
656     # src/tools/export_tarball - please keep them in sync.
657     "name": "lastchange",
658     "pattern": ".",
659     "action": ["python", "src/build/util/lastchange.py",
660                "-s", "src/third_party/WebKit",
661                "-o", "src/build/util/LASTCHANGE.blink"],
662   },
663   # Pull GN binaries. This needs to be before running GYP below.
664   {
665     "name": "gn_win",
666     "pattern": ".",
667     "action": [ "download_from_google_storage",
668                 "--no_resume",
669                 "--platform=win32",
670                 "--no_auth",
671                 "--bucket", "chromium-gn",
672                 "-s", "src/buildtools/win/gn.exe.sha1",
673     ],
674   },
675   {
676     "name": "gn_mac",
677     "pattern": ".",
678     "action": [ "download_from_google_storage",
679                 "--no_resume",
680                 "--platform=darwin",
681                 "--no_auth",
682                 "--bucket", "chromium-gn",
683                 "-s", "src/buildtools/mac/gn.sha1",
684     ],
685   },
686   {
687     "name": "gn_linux32",
688     "pattern": ".",
689     "action": [ "download_from_google_storage",
690                 "--no_resume",
691                 "--platform=linux*",
692                 "--no_auth",
693                 "--bucket", "chromium-gn",
694                 "-s", "src/buildtools/linux32/gn.sha1",
695     ],
696   },
697   {
698     "name": "gn_linux64",
699     "pattern": ".",
700     "action": [ "download_from_google_storage",
701                 "--no_resume",
702                 "--platform=linux*",
703                 "--no_auth",
704                 "--bucket", "chromium-gn",
705                 "-s", "src/buildtools/linux64/gn.sha1",
706     ],
707   },
708   {
709     # Remove GN binaries from tools/gn/bin that aren't used anymore.
710     # TODO(brettw) remove after the end of July, 2014.
711     "name": "remove_old_gn_binaries",
712     "pattern": ".",
713     "action": ["python", "src/tools/gn/bin/rm_binaries.py"],
714   },
715   # Pull clang-format binaries using checked-in hashes.
716   {
717     "name": "clang_format_win",
718     "pattern": ".",
719     "action": [ "download_from_google_storage",
720                 "--no_resume",
721                 "--platform=win32",
722                 "--no_auth",
723                 "--bucket", "chromium-clang-format",
724                 "-s", "src/buildtools/win/clang-format.exe.sha1",
725     ],
726   },
727   {
728     "name": "clang_format_mac",
729     "pattern": ".",
730     "action": [ "download_from_google_storage",
731                 "--no_resume",
732                 "--platform=darwin",
733                 "--no_auth",
734                 "--bucket", "chromium-clang-format",
735                 "-s", "src/buildtools/mac/clang-format.sha1",
736     ],
737   },
738   {
739     "name": "clang_format_linux",
740     "pattern": ".",
741     "action": [ "download_from_google_storage",
742                 "--no_resume",
743                 "--platform=linux*",
744                 "--no_auth",
745                 "--bucket", "chromium-clang-format",
746                 "-s", "src/buildtools/linux64/clang-format.sha1",
747     ],
748   },
749   # Pull binutils for linux, enabled debug fission for faster linking /
750   # debugging when used with clang on Ubuntu Precise.
751   # https://code.google.com/p/chromium/issues/detail?id=352046
752   {
753     "name": "binutils",
754     "pattern": "src/third_party/binutils",
755     "action": [
756         "python",
757         "src/third_party/binutils/download.py",
758     ],
759   },
760   # Pull eu-strip binaries using checked-in hashes.
761   {
762     "name": "eu-strip",
763     "pattern": ".",
764     "action": [ "download_from_google_storage",
765                 "--no_resume",
766                 "--platform=linux*",
767                 "--no_auth",
768                 "--bucket", "chromium-eu-strip",
769                 "-s", "src/build/linux/bin/eu-strip.sha1",
770     ],
771   },
772   {
773     "name": "drmemory",
774     "pattern": ".",
775     "action": [ "download_from_google_storage",
776                 "--no_resume",
777                 "--platform=win32",
778                 "--no_auth",
779                 "--bucket", "chromium-drmemory",
780                 "-s", "src/third_party/drmemory/drmemory-windows-sfx.exe.sha1",
781               ],
782   },
783   # Pull the Syzygy binaries, used for optimization and instrumentation.
784   {
785     "name": "syzygy-binaries",
786     "pattern": ".",
787     "action": ["python",
788                "src/build/get_syzygy_binaries.py",
789                "--output-dir=src/third_party/syzygy/binaries",
790                "--revision=363bc02a09c380b6f5f397606cc0744d85d54a51",
791                "--overwrite",
792     ],
793   },
794   {
795     "name": "apache_win32",
796     "pattern": "\\.sha1",
797     "action": [ "download_from_google_storage",
798                 "--no_resume",
799                 "--platform=win32",
800                 "--directory",
801                 "--recursive",
802                 "--no_auth",
803                 "--num_threads=16",
804                 "--bucket", "chromium-apache-win32",
805                 "src/third_party/apache-win32",
806     ],
807   },
808   {
809     # A change to a .gyp, .gypi, or to GYP itself should run the generator.
810     "name": "gyp",
811     "pattern": ".",
812     "action": ["python", "src/build/gyp_chromium"],
813   },