Add a command-line switch for bleeding-edge fast path Silk features.
[chromium-blink-merge.git] / DEPS
blobb44803763a231b22688836e736e451ed3b3a9ceb
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
8 #   gclient runhooks
9 # DO NOT CHECK IN CHANGES TO .DEPS.git. It will be automatically updated by
10 # a bot when you modify this one.
12 # When adding a new dependency, please update the top-level .gitignore file
13 # to list the dependency's destination directory.
15 vars = {
16   # Use this googlecode_url variable only if there is an internal mirror for it.
17   # If you do not know, use the full path while defining your new deps entry.
18   "googlecode_url": "http://%s.googlecode.com/svn",
19   "sourceforge_url": "http://svn.code.sf.net/p/%(repo)s/code",
20   "llvm_url": "http://src.chromium.org/llvm-project",
21   "llvm_git": "https://llvm.googlesource.com",
22   "libcxx_revision": "8f48c23568a122de6088455700e9d197b79bd8f8",
23   "libcxxabi_revision": "753a30dd68ae008948d48f16bc942d5963fe65a1",
24   "webkit_trunk": "http://src.chromium.org/blink/trunk",
25   "nacl_trunk": "http://src.chromium.org/native_client/trunk",
26   "webkit_revision": "167593",
27   "chromium_git": "https://chromium.googlesource.com",
28   "chromiumos_git": "https://chromium.googlesource.com/chromiumos",
29   "skia_git": "https://skia.googlesource.com",
30   "swig_revision": "230490",
31   "nacl_revision": "12790",
32   # After changing nacl_revision, run 'glient sync' and check native_client/DEPS
33   # to update other nacl_*_revision's.
34   "nacl_tools_revision": "12760",  # native_client/DEPS: tools_rev
35   "google_toolbox_for_mac_revision": "626",
36   "libaddressinput_revision": "176",
37   "libphonenumber_revision": "621",
38   "libvpx_revision": "251850",
39   "lss_revision": "24",
41   # These two FFmpeg variables must be updated together.  One is used for SVN
42   # checkouts and the other for Git checkouts.
43   "ffmpeg_revision": "249179",
44   "ffmpeg_hash": "4ae5e54f30f949e5485d70fa0eae85a0e75cb46c",
46   "sfntly_revision": "228",
47   "lighttpd_revision": "33737",
48   "skia_revision": "13522",
49   "skia_hash": "d832f1d5b5472528301bff3d3faf0741735f2825",
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_revision": "19523",
54   # Three lines of non-changing comments so that
55   # the commit queue can handle CLs rolling WebRTC
56   # and V8 without interference from each other.
57   "webrtc_revision": "5562",
58   "jsoncpp_revision": "248",
59   "nss_revision": "251855",
60   # Three lines of non-changing comments so that
61   # the commit queue can handle CLs rolling swarming_client
62   # and whatever else without interference from each other.
63   "swarming_revision": "4196cfcee5becb6003174661b6af40cb5b1af126",
64   # Three lines of non-changing comments so that
65   # the commit queue can handle CLs rolling openssl
66   # and whatever else without interference from each other.
67   "openssl_revision": "250522",
70 deps = {
71   "src/breakpad/src":
72     (Var("googlecode_url") % "google-breakpad") + "/trunk/src@1271",
74   "src/sdch/open-vcdiff":
75     (Var("googlecode_url") % "open-vcdiff") + "/trunk@42",
77   "src/testing/gtest":
78     (Var("googlecode_url") % "googletest") + "/trunk@643",
80   "src/testing/gmock":
81     (Var("googlecode_url") % "googlemock") + "/trunk@410",
83   "src/third_party/angle":
84     Var("chromium_git") +
85     "/angle/angle.git@4df02c1ed5e97dd54576b06964b1da67ea30238e",
87   "src/third_party/trace-viewer":
88     (Var("googlecode_url") % "trace-viewer") + "/trunk@1163",
90   "src/third_party/WebKit":
91     Var("webkit_trunk") + "@" + Var("webkit_revision"),
93   "src/third_party/WebKit/LayoutTests/w3c/web-platform-tests":
94     Var("chromium_git") +
95     "/external/w3c/web-platform-tests.git@ac4322a338be82b3d8b722917d6d3d057c0a3f6a",
97   "src/third_party/WebKit/LayoutTests/w3c/csswg-test":
98     Var("chromium_git") +
99     "/external/w3c/csswg-test.git@8c415e3215a203fa3a22dbdd1799279fdf44c81e",
101   "src/third_party/icu":
102     "/trunk/deps/third_party/icu46@246118",
104   "src/third_party/libexif/sources":
105     "/trunk/deps/third_party/libexif/sources@146817",
107   "src/third_party/hunspell":
108    "/trunk/deps/third_party/hunspell@206172",
110   "src/third_party/hunspell_dictionaries":
111     "/trunk/deps/third_party/hunspell_dictionaries@193701",
113   "src/third_party/safe_browsing/testing":
114     (Var("googlecode_url") % "google-safe-browsing") + "/trunk/testing@112",
116   "src/third_party/cacheinvalidation/src":
117     (Var("googlecode_url") % "google-cache-invalidation-api") +
118     "/trunk/src@321",
120   "src/third_party/leveldatabase/src":
121     (Var("googlecode_url") % "leveldb") + "/trunk@79",
123   # TODO(thakis): Pull from svn instead, http://crbug.com/333071
124   "src/third_party/libc++/trunk":
125     Var("llvm_git") + "/libcxx.git@" + Var("libcxx_revision"),
127   # TODO(thakis): Pull from svn instead, http://crbug.com/333071
128   "src/third_party/libc++abi/trunk":
129     Var("llvm_git") + "/libcxxabi.git@" + Var("libcxxabi_revision"),
131   "src/third_party/snappy/src":
132     (Var("googlecode_url") % "snappy") + "/trunk@80",
134   "src/tools/grit":
135     (Var("googlecode_url") % "grit-i18n") + "/trunk@151",
137   "src/tools/gyp":
138     (Var("googlecode_url") % "gyp") + "/trunk@1854",
140   "src/tools/swarming_client":
141     Var("chromium_git") + "/external/swarming.client.git@" +
142         Var("swarming_revision"),
144   "src/v8":
145     (Var("googlecode_url") % "v8") + "/trunk@" + Var("v8_revision"),
147   "src/native_client":
148     Var("nacl_trunk") + "/src/native_client@" + Var("nacl_revision"),
150   "src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin":
151     Var("nacl_trunk") + "/src/native_client/tests/prebuilt@" +
152     Var("nacl_revision"),
154   "src/third_party/sfntly/cpp/src":
155     (Var("googlecode_url") % "sfntly") + "/trunk/cpp/src@" +
156     Var("sfntly_revision"),
158   "src/third_party/skia/src":
159     (Var("googlecode_url") % "skia") + "/trunk/src@" + Var("skia_revision"),
161   "src/third_party/skia/gyp":
162     (Var("googlecode_url") % "skia") + "/trunk/gyp@" + Var("skia_revision"),
164   "src/third_party/skia/include":
165     (Var("googlecode_url") % "skia") + "/trunk/include@" + Var("skia_revision"),
167   "src/third_party/ots":
168     (Var("googlecode_url") % "ots") + "/trunk@110",
170   "src/third_party/brotli/src":
171     Var("chromium_git") +
172     "/external/font-compression-reference.git@dfc5a9f2151a7c88914c236c7db8fa119fee249c",
174   "src/tools/page_cycler/acid3":
175     "/trunk/deps/page_cycler/acid3@171600",
177   "src/chrome/test/data/perf/canvas_bench":
178     "/trunk/deps/canvas_bench@122605",
180   "src/chrome/test/data/perf/frame_rate/content":
181     "/trunk/deps/frame_rate/content@93671",
183   "src/chrome/test/data/perf/third_party/octane":
184     (Var("googlecode_url") % "octane-benchmark") + "/trunk@19",
186   "src/third_party/bidichecker":
187     (Var("googlecode_url") % "bidichecker") + "/trunk/lib@4",
189   "src/third_party/webgl/src":
190     Var("chromium_git") +
191     "/external/khronosgroup/webgl.git@159f31dd34842c871032d97d360a9dce5153f585",
193   "src/third_party/swig/Lib":
194     "/trunk/deps/third_party/swig/Lib@" + Var("swig_revision"),
196   # Make sure you update the two functional.DEPS and webdriver.DEPS too.
197   "src/third_party/webdriver/pylib":
198     (Var("googlecode_url") % "selenium") + "/trunk/py@18337",
200   "src/third_party/libvpx":
201     "/trunk/deps/third_party/libvpx@" +
202     Var("libvpx_revision"),
204   "src/third_party/ffmpeg":
205     "/trunk/deps/third_party/ffmpeg@" +
206     Var("ffmpeg_revision"),
208   "src/third_party/libjingle/source/talk":
209     (Var("googlecode_url") % "webrtc") + "/trunk/talk@" +
210     Var("webrtc_revision"),
212   "src/third_party/usrsctp/usrsctplib":
213     (Var("googlecode_url") % "sctp-refimpl") +
214     "/trunk/KERN/usrsctp/usrsctplib@8723",
216   "src/third_party/libsrtp":
217     "/trunk/deps/third_party/libsrtp@250757",
219   "src/third_party/speex":
220     "/trunk/deps/third_party/speex@198168",
222   "src/third_party/yasm/source/patched-yasm":
223     "/trunk/deps/third_party/yasm/patched-yasm@167605",
225   "src/third_party/libjpeg_turbo":
226     "/trunk/deps/third_party/libjpeg_turbo@251747",
228   "src/third_party/flac":
229     "/trunk/deps/third_party/flac@222897",
231   "src/third_party/pyftpdlib/src":
232     (Var("googlecode_url") % "pyftpdlib") + "/trunk@977",
234   "src/third_party/scons-2.0.1":
235     Var("nacl_trunk") + "/src/third_party/scons-2.0.1@" +
236         Var("nacl_tools_revision"),
238   "src/third_party/webrtc":
239     (Var("googlecode_url") % "webrtc") + "/trunk/webrtc@" + Var("webrtc_revision"),
241   "src/third_party/openmax_dl":
242     (Var("googlecode_url") % "webrtc") + "/deps/third_party/openmax@5569",
244   "src/third_party/jsoncpp/source/include":
245     (Var("sourceforge_url") % {"repo": "jsoncpp"}) +
246         "/trunk/jsoncpp/include@" + Var("jsoncpp_revision"),
248   "src/third_party/jsoncpp/source/src/lib_json":
249     (Var("sourceforge_url") % {"repo": "jsoncpp"}) +
250         "/trunk/jsoncpp/src/lib_json@" + Var("jsoncpp_revision"),
252   "src/third_party/libyuv":
253     (Var("googlecode_url") % "libyuv") + "/trunk@979",
255   "src/third_party/smhasher/src":
256     (Var("googlecode_url") % "smhasher") + "/trunk@151",
258   "src/third_party/libaddressinput/src/cpp":
259     (Var("googlecode_url") % "libaddressinput") + "/trunk/cpp@" +
260         Var("libaddressinput_revision"),
261   "src/third_party/libaddressinput/src/testdata":
262     (Var("googlecode_url") % "libaddressinput") + "/trunk/testdata@" +
263         Var("libaddressinput_revision"),
265   "src/third_party/libphonenumber/src/phonenumbers":
266     (Var("googlecode_url") % "libphonenumber") +
267         "/trunk/cpp/src/phonenumbers@" + Var("libphonenumber_revision"),
268   "src/third_party/libphonenumber/src/test":
269     (Var("googlecode_url") % "libphonenumber") + "/trunk/cpp/test@" +
270         Var("libphonenumber_revision"),
271   "src/third_party/libphonenumber/src/resources":
272     (Var("googlecode_url") % "libphonenumber") + "/trunk/resources@" +
273         Var("libphonenumber_revision"),
275   "src/tools/deps2git":
276     "/trunk/tools/deps2git@248305",
278   "src/third_party/clang_format/script":
279     Var("llvm_url") + "/cfe/trunk/tools/clang-format@198831",
281   "src/third_party/webpagereplay":
282     (Var("googlecode_url") % "web-page-replay") + "/trunk@540",
284   "src/third_party/pywebsocket/src":
285     (Var("googlecode_url") % "pywebsocket") + "/trunk/src@662",
287   "src/third_party/opus/src":
288     "/trunk/deps/third_party/opus@237544",
290   "src/media/cdm/ppapi/api":
291     "/trunk/deps/cdm@249141",
293   "src/third_party/mesa/src":
294     "/trunk/deps/third_party/mesa@240938",
296   "src/third_party/cld_2/src":
297     (Var("googlecode_url") % "cld2") + "/trunk@84",
299   "src/chrome/browser/resources/pdf/html_office":
300      Var("chromium_git") +
301          "/chromium/html-office-public.git@9f76cc282c471ae4ff77415384db039fcab2faa8",
303   "src/third_party/libwebm/source":
304     Var("chromium_git") +
305       "/webm/libwebm.git@0f7815b036651e242ec8c2fcfb59fe54f69be1a8",
309 deps_os = {
310   "win": {
311     "src/chrome/tools/test/reference_build/chrome_win":
312       "/trunk/deps/reference_builds/chrome_win@237381",
314     "src/third_party/cygwin":
315       "/trunk/deps/third_party/cygwin@231940",
317     "src/third_party/psyco_win32":
318       "/trunk/deps/third_party/psyco_win32@237949",
320     "src/third_party/bison":
321       "/trunk/deps/third_party/bison@147303",
323     "src/third_party/gperf":
324       "/trunk/deps/third_party/gperf@147304",
326     "src/third_party/perl":
327       "/trunk/deps/third_party/perl@147900",
329     "src/third_party/lighttpd":
330       "/trunk/deps/third_party/lighttpd@" + Var("lighttpd_revision"),
332     # Parses Windows PE/COFF executable format.
333     "src/third_party/pefile":
334       (Var("googlecode_url") % "pefile") + "/trunk@63",
336     # NSS, for SSLClientSocketNSS.
337     "src/third_party/nss":
338       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
340     "src/third_party/swig/win":
341       "/trunk/deps/third_party/swig/win@" + Var("swig_revision"),
343     # GNU binutils assembler for x86-32.
344     "src/third_party/gnu_binutils":
345       (Var("nacl_trunk") + "/deps/third_party/gnu_binutils@" +
346        Var("nacl_tools_revision")),
347     # GNU binutils assembler for x86-64.
348     "src/third_party/mingw-w64/mingw/bin":
349       (Var("nacl_trunk") + "/deps/third_party/mingw-w64/mingw/bin@" +
350        Var("nacl_tools_revision")),
352     # Dependencies used by libjpeg-turbo
353     "src/third_party/yasm/binaries":
354       "/trunk/deps/third_party/yasm/binaries@154708",
356     # Binary level profile guided optimizations. This points to the
357     # latest release binaries for the toolchain.
358     "src/third_party/syzygy/binaries":
359       (Var("googlecode_url") % "sawbuck") + "/trunk/syzygy/binaries@2021",
361     # Binaries for nacl sdk.
362     "src/third_party/nacl_sdk_binaries":
363       "/trunk/deps/third_party/nacl_sdk_binaries@111576",
364   },
365   "ios": {
366     "src/third_party/google_toolbox_for_mac/src":
367       (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@" +
368       Var("google_toolbox_for_mac_revision"),
370     "src/third_party/nss":
371       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
373     # class-dump utility to generate header files for undocumented SDKs
374     "src/testing/iossim/third_party/class-dump":
375       "/trunk/deps/third_party/class-dump@199203",
377     # Code that's not needed due to not building everything
378     "src/build/util/support": None,
379     "src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin": None,
380     "src/chrome/test/data/perf/canvas_bench": None,
381     "src/chrome/test/data/perf/frame_rate/content": None,
382     "src/chrome/test/data/perf/third_party/octane": None,
383     "src/media/cdm/ppapi/api": None,
384     "src/native_client": None,
385     "src/native_client/src/third_party/ppapi": None,
386     "src/third_party/angle": None,
387     "src/third_party/bidichecker": None,
388     "src/third_party/cld_2/src": None,
389     "src/third_party/ffmpeg": None,
390     "src/third_party/hunspell_dictionaries": None,
391     "src/third_party/hunspell": None,
392     "src/third_party/libaddressinput/src/cpp": None,
393     "src/third_party/libaddressinput/src/testdata": None,
394     "src/third_party/libexif/sources": None,
395     "src/third_party/libjpeg_turbo": None,
396     "src/third_party/libsrtp": None,
397     "src/third_party/libvpx": None,
398     "src/third_party/libyuv": None,
399     "src/third_party/mesa/src": None,
400     "src/third_party/opus/src": None,
401     "src/third_party/openmax_dl": None,
402     "src/third_party/ots": None,
403     "src/third_party/pymox/src": None,
404     "src/third_party/safe_browsing/testing": None,
405     "src/third_party/scons-2.0.1": None,
406     "src/third_party/sfntly/cpp/src": None,
407     "src/third_party/swig/Lib": None,
408     "src/third_party/undoview": None,
409     "src/third_party/usrsctp/usrsctplib": None,
410     "src/third_party/v8-i18n": None,
411     "src/third_party/webdriver/pylib": None,
412     "src/third_party/webgl": None,
413     "src/third_party/webpagereplay": None,
414     "src/third_party/webrtc": None,
415     "src/third_party/yasm/source/patched-yasm": None,
416     "src/tools/page_cycler/acid3": None,
417     "src/v8": None,
418   },
419   "mac": {
420     "src/chrome/tools/test/reference_build/chrome_mac":
421       "/trunk/deps/reference_builds/chrome_mac@237381",
423     "src/third_party/google_toolbox_for_mac/src":
424       (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@" +
425       Var("google_toolbox_for_mac_revision"),
427     "src/third_party/pdfsqueeze":
428       (Var("googlecode_url") % "pdfsqueeze") + "/trunk@5",
430     "src/third_party/lighttpd":
431       "/trunk/deps/third_party/lighttpd@" + Var("lighttpd_revision"),
433     "src/third_party/swig/mac":
434       "/trunk/deps/third_party/swig/mac@" + Var("swig_revision"),
436     # NSS, for SSLClientSocketNSS.
437     "src/third_party/nss":
438       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
440     "src/chrome/installer/mac/third_party/xz/xz":
441       "/trunk/deps/third_party/xz@233311",
442   },
443   "unix": {
444     # Linux, really.
445     "src/chrome/tools/test/reference_build/chrome_linux":
446       "/trunk/deps/reference_builds/chrome_linux64@237381",
448     "src/third_party/xdg-utils":
449       "/trunk/deps/third_party/xdg-utils@203785",
451     "src/third_party/swig/linux":
452       "/trunk/deps/third_party/swig/linux@" + Var("swig_revision"),
454     "src/third_party/lss":
455       ((Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@" +
456        Var("lss_revision")),
458     "src/third_party/openssl":
459       "/trunk/deps/third_party/openssl@" + Var("openssl_revision"),
461     "src/third_party/gold":
462       "/trunk/deps/third_party/gold@228995",
464     "src/third_party/libmtp":
465       "/trunk/deps/third_party/libmtp@206535",
467     # Used on Linux only. CrOS already has a copy.
468     "src/third_party/mtpd/source":
469       Var("chromiumos_git") + "/platform/mtpd.git" +
470       "@e4e4656e9aa710f0617dab8746ab6116c0506ceb",
472     # Used on Linux only. CrOS already has a copy.
473     "src/third_party/cros_dbus_cplusplus/source":
474       Var("chromiumos_git") + "/third_party/dbus-cplusplus.git" +
475       "@e4120532bbf3ca9f743b0be1f539381a54d16867",
477     # For Linux and Chromium OS.
478     "src/third_party/cros_system_api":
479       Var("chromiumos_git") + "/platform/system_api.git" +
480       "@874a39664f1538b1855391f98bf14026a5dd2c24",
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 targeting ChromeOS.
488     "src/third_party/chromite":
489       Var("chromiumos_git") + "/chromite.git" +
490       "@1ee2901d33ae698d1f2a1d95e9f3fd5bbd5f13f9",
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       "@0582bdc17b4829beb522975441546a4eb99b11b5",
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/httpcomponents-client":
532       "/trunk/deps/third_party/httpcomponents-client@170888",
534     "src/third_party/httpcomponents-core":
535       "/trunk/deps/third_party/httpcomponents-core@170888",
537     "src/third_party/jarjar":
538       "/trunk/deps/third_party/jarjar@170888",
540     "src/third_party/jsr-305/src":
541       (Var("googlecode_url") % "jsr-305") + "/trunk@51",
543     "src/third_party/lss":
544       ((Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@" +
545        Var("lss_revision")),
547     "src/third_party/openssl":
548       "/trunk/deps/third_party/openssl@" + Var("openssl_revision"),
550     "src/third_party/eyesfree/src/android/java/src/com/googlecode/eyesfree/braille":
551       (Var("googlecode_url") % "eyes-free") + "/trunk/braille/client/src/com/googlecode/eyesfree/braille@797",
553     # Android shouldn't use this address validation library.
554     "src/third_party/libaddressinput/src/cpp": None,
555     "src/third_party/libaddressinput/src/testdata": None,
556   },
560 include_rules = [
561   # Everybody can use some things.
562   "+base",
563   "+build",
564   "+ipc",
566   # Everybody can use headers generated by tools/generate_library_loader.
567   "+library_loaders",
569   "+testing",
570   "+third_party/icu/source/common/unicode",
571   "+third_party/icu/source/i18n/unicode",
572   "+url",
576 # checkdeps.py shouldn't check include paths for files in these dirs:
577 skip_child_includes = [
578   "breakpad",
579   "delegate_execute",
580   "metro_driver",
581   "native_client_sdk",
582   "o3d",
583   "pdf",
584   "sdch",
585   "skia",
586   "testing",
587   "third_party",
588   "v8",
589   "win8",
593 hooks = [
594   {
595     # This downloads binaries for Native Client's newlib toolchain.
596     # Done in lieu of building the toolchain from scratch as it can take
597     # anywhere from 30 minutes to 4 hours depending on platform to build.
598     "name": "nacltools",
599     "pattern": ".",
600     "action": [
601         "python", "src/build/download_nacl_toolchains.py",
602          "--no-arm-trusted",
603          "--keep",
604     ],
605   },
606   {
607     # Downloads an ARM sysroot image to src/arm-sysroot. This image updates
608     # at about the same rate that the chrome build deps change.
609     # This script is a no-op except for linux users who have
610     # target_arch=arm in their GYP_DEFINES.
611     "name": "sysroot",
612     "pattern": ".",
613     "action": ["python", "src/build/linux/install-arm-sysroot.py",
614                "--linux-only"],
615   },
616   {
617     # Downloads the Debian Wheezy sysroot to chrome/installer/linux if needed.
618     # This sysroot updates at about the same rate that the chrome build deps
619     # change. This script is a no-op except for linux users who are doing
620     # official chrome builds.
621     "name": "sysroot",
622     "pattern": ".",
623     "action": [
624         "python",
625         "src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py",
626         "--linux-only",
627         "--arch=amd64"],
628   },
629   {
630     # Same as above, but for 32-bit Linux.
631     "name": "sysroot",
632     "pattern": ".",
633     "action": [
634         "python",
635         "src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py",
636         "--linux-only",
637         "--arch=i386"],
638   },
639   {
640     # Pull clang on mac. If nothing changed, or on non-mac platforms, this takes
641     # zero seconds to run. If something changed, it downloads a prebuilt clang,
642     # which takes ~20s, but clang speeds up builds by more than 20s.
643     "name": "clang",
644     "pattern": ".",
645     "action": ["python", "src/tools/clang/scripts/update.py", "--mac-only"],
646   },
647   {
648     # Update LASTCHANGE. This is also run by export_tarball.py in
649     # src/tools/export_tarball - please keep them in sync.
650     "name": "lastchange",
651     "pattern": ".",
652     "action": ["python", "src/build/util/lastchange.py",
653                "-o", "src/build/util/LASTCHANGE"],
654   },
655   {
656     # Update LASTCHANGE.blink. This is also run by export_tarball.py in
657     # src/tools/export_tarball - please keep them in sync.
658     "name": "lastchange",
659     "pattern": ".",
660     "action": ["python", "src/build/util/lastchange.py",
661                "-s", "src/third_party/WebKit",
662                "-o", "src/build/util/LASTCHANGE.blink"],
663   },
664   # Pull GN binaries. This needs to be before running GYP below.
665   {
666     "name": "gn_win",
667     "pattern": "src/tools/gn/bin/win/gn.exe.sha1",
668     "action": [ "download_from_google_storage",
669                 "--no_resume",
670                 "--platform=win32",
671                 "--no_auth",
672                 "--bucket", "chromium-gn",
673                 "-s", "src/tools/gn/bin/win/gn.exe.sha1",
674     ],
675   },
676   {
677     "name": "gn_mac",
678     "pattern": "src/tools/gn/bin/mac/gn.sha1",
679     "action": [ "download_from_google_storage",
680                 "--no_resume",
681                 "--platform=darwin",
682                 "--no_auth",
683                 "--bucket", "chromium-gn",
684                 "-s", "src/tools/gn/bin/mac/gn.sha1",
685     ],
686   },
687   {
688     "name": "gn_linux",
689     "pattern": "src/tools/gn/bin/linux/gn.sha1",
690     "action": [ "download_from_google_storage",
691                 "--no_resume",
692                 "--platform=linux*",
693                 "--no_auth",
694                 "--bucket", "chromium-gn",
695                 "-s", "src/tools/gn/bin/linux/gn.sha1",
696     ],
697   },
698   {
699     "name": "gn_linux32",
700     "pattern": "src/tools/gn/bin/linux/gn32.sha1",
701     "action": [ "download_from_google_storage",
702                 "--no_resume",
703                 "--platform=linux*",
704                 "--no_auth",
705                 "--bucket", "chromium-gn",
706                 "-s", "src/tools/gn/bin/linux/gn32.sha1",
707     ],
708   },
709   # Pull clang-format binaries using checked-in hashes.
710   {
711     "name": "clang_format_win",
712     "pattern": "src/third_party/clang_format/bin/win/clang-format.exe.sha1",
713     "action": [ "download_from_google_storage",
714                 "--no_resume",
715                 "--platform=win32",
716                 "--no_auth",
717                 "--bucket", "chromium-clang-format",
718                 "-s", "src/third_party/clang_format/bin/win/clang-format.exe.sha1",
719     ],
720   },
721   {
722     "name": "clang_format_mac",
723     "pattern": "src/third_party/clang_format/bin/mac/clang-format.sha1",
724     "action": [ "download_from_google_storage",
725                 "--no_resume",
726                 "--platform=darwin",
727                 "--no_auth",
728                 "--bucket", "chromium-clang-format",
729                 "-s", "src/third_party/clang_format/bin/mac/clang-format.sha1",
730     ],
731   },
732   {
733     "name": "clang_format_linux",
734     "pattern": "src/third_party/clang_format/bin/linux/clang-format.sha1",
735     "action": [ "download_from_google_storage",
736                 "--no_resume",
737                 "--platform=linux*",
738                 "--no_auth",
739                 "--bucket", "chromium-clang-format",
740                 "-s", "src/third_party/clang_format/bin/linux/clang-format.sha1",
741     ],
742   },
743   # Pull eu-strip binaries using checked-in hashes.
744   {
745     "name": "eu-strip",
746     "pattern": "src/build/linux/bin/eu-strip.sha1",
747     "action": [ "download_from_google_storage",
748                 "--no_resume",
749                 "--platform=linux*",
750                 "--no_auth",
751                 "--bucket", "chromium-eu-strip",
752                 "-s", "src/build/linux/bin/eu-strip.sha1",
753     ],
754   },
755   {
756     # A change to a .gyp, .gypi, or to GYP itself should run the generator.
757     "name": "gyp",
758     "pattern": ".",
759     "action": ["python", "src/build/gyp_chromium"],
760   },