Make sure activity log is turned on for whitelisted IDs; centralize this to one place...
[chromium-blink-merge.git] / DEPS
blobc5ab8bde3325cc17998907503cb4f543cfb755e2
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   "webkit_trunk": "http://src.chromium.org/blink/trunk",
21   "nacl_trunk": "http://src.chromium.org/native_client/trunk",
22   "webkit_revision": "163831",
23   "chromium_git": "https://chromium.googlesource.com",
24   "chromiumos_git": "https://chromium.googlesource.com/chromiumos",
25   "skia_git": "https://skia.googlesource.com",
26   "swig_revision": "230490",
27   "nacl_revision": "12523",
28   # After changing nacl_revision, run 'glient sync' and check native_client/DEPS
29   # to update other nacl_*_revision's.
30   "nacl_tools_revision": "12289",  # native_client/DEPS: tools_rev
31   "gtm_revision": "616",
32   "libaddressinput_revision": "176",
33   "libphonenumber_revision": "621",
34   "libvpx_revision": "240222",
35   "lss_revision": "24",
37   # These two FFmpeg variables must be updated together.  One is used for SVN
38   # checkouts and the other for Git checkouts.
39   "ffmpeg_revision": "240211",
40   "ffmpeg_hash": "8dc45cbcad763762bb679de280bdc584f35aa22f",
42   "sfntly_revision": "228",
43   "lighttpd_revision": "33737",
44   "skia_revision": "12652",
45   "skia_hash": "0682019f2161af00168bb1984918753f2a1c1e54",
46   # Three lines of non-changing comments so that
47   # the commit queue can handle CLs rolling Skia
48   # and V8 without interference from each other.
49   "v8_revision": "18251",
50   # Three lines of non-changing comments so that
51   # the commit queue can handle CLs rolling WebRTC
52   # and V8 without interference from each other.
53   "webrtc_revision": "5268",
54   "jsoncpp_revision": "248",
55   "nss_revision": "239365",
56   # Three lines of non-changing comments so that
57   # the commit queue can handle CLs rolling swarming_client
58   # and whatever else without interference from each other.
59   "swarming_revision": "aab3a62beb7e1d7a6785dcaee707479691fd6ddf",
60   # Three lines of non-changing comments so that
61   # the commit queue can handle CLs rolling openssl
62   # and whatever else without interference from each other.
63   "openssl_revision": "236537",
66 deps = {
67   "src/breakpad/src":
68     (Var("googlecode_url") % "google-breakpad") + "/trunk/src@1253",
70   "src/sdch/open-vcdiff":
71     (Var("googlecode_url") % "open-vcdiff") + "/trunk@42",
73   "src/testing/gtest":
74     (Var("googlecode_url") % "googletest") + "/trunk@643",
76   "src/testing/gmock":
77     (Var("googlecode_url") % "googlemock") + "/trunk@410",
79   "src/third_party/angle":
80     Var("chromium_git") +
81     "/angle/angle.git@95fa672f26db492aee2076b0acb524149d52c68f",
83   "src/third_party/angle_dx11":
84     Var("chromium_git") +
85     "/external/angle.git@af640efbfdbe80909016fc623bb65f010a2e551f",
87   "src/third_party/trace-viewer":
88     (Var("googlecode_url") % "trace-viewer") + "/trunk@1069",
90   "src/third_party/WebKit":
91     Var("webkit_trunk") + "@" + Var("webkit_revision"),
93   "src/third_party/icu":
94     "/trunk/deps/third_party/icu46@239289",
96   "src/third_party/libexif/sources":
97     "/trunk/deps/third_party/libexif/sources@146817",
99   "src/third_party/hunspell":
100    "/trunk/deps/third_party/hunspell@206172",
102   "src/third_party/hunspell_dictionaries":
103     "/trunk/deps/third_party/hunspell_dictionaries@193701",
105   "src/third_party/safe_browsing/testing":
106     (Var("googlecode_url") % "google-safe-browsing") + "/trunk/testing@112",
108   "src/third_party/cacheinvalidation/src":
109     (Var("googlecode_url") % "google-cache-invalidation-api") +
110     "/trunk/src@314",
112   "src/third_party/leveldatabase/src":
113     (Var("googlecode_url") % "leveldb") + "/trunk@78",
115   "src/third_party/snappy/src":
116     (Var("googlecode_url") % "snappy") + "/trunk@80",
118   "src/tools/grit":
119     (Var("googlecode_url") % "grit-i18n") + "/trunk@140",
121   "src/tools/gyp":
122     (Var("googlecode_url") % "gyp") + "/trunk@1806",
124   "src/tools/swarming_client":
125     Var("chromium_git") + "/external/swarming.client.git@" +
126         Var("swarming_revision"),
128   "src/v8":
129     (Var("googlecode_url") % "v8") + "/trunk@" + Var("v8_revision"),
131   "src/native_client":
132     Var("nacl_trunk") + "/src/native_client@" + Var("nacl_revision"),
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/ots":
152     (Var("googlecode_url") % "ots") + "/trunk@107",
154   "src/third_party/brotli/src":
155     Var("chromium_git") +
156     "/external/font-compression-reference.git@fe79fac8da1ec850d94679705a6f3405153f51dd",
158   "src/tools/page_cycler/acid3":
159     "/trunk/deps/page_cycler/acid3@171600",
161   "src/chrome/test/data/perf/canvas_bench":
162     "/trunk/deps/canvas_bench@122605",
164   "src/chrome/test/data/perf/frame_rate/content":
165     "/trunk/deps/frame_rate/content@93671",
167   "src/chrome/test/data/perf/third_party/octane":
168     (Var("googlecode_url") % "octane-benchmark") + "/trunk@19",
170   "src/third_party/bidichecker":
171     (Var("googlecode_url") % "bidichecker") + "/trunk/lib@4",
173   "src/third_party/webgl/src":
174     Var("chromium_git") +
175     "/external/khronosgroup/webgl.git@159f31dd34842c871032d97d360a9dce5153f585",
177   "src/third_party/swig/Lib":
178     "/trunk/deps/third_party/swig/Lib@" + Var("swig_revision"),
180   # Make sure you update the two functional.DEPS and webdriver.DEPS too.
181   "src/third_party/webdriver/pylib":
182     (Var("googlecode_url") % "selenium") + "/trunk/py@18337",
184   "src/third_party/libvpx":
185     "/trunk/deps/third_party/libvpx@" +
186     Var("libvpx_revision"),
188   "src/third_party/ffmpeg":
189     "/trunk/deps/third_party/ffmpeg@" +
190     Var("ffmpeg_revision"),
192   "src/third_party/libjingle/source/talk":
193     (Var("googlecode_url") % "webrtc") + "/stable/talk@" +
194     Var("webrtc_revision"),
196   "src/third_party/usrsctp/usrsctplib":
197     (Var("googlecode_url") % "sctp-refimpl") +
198     "/trunk/KERN/usrsctp/usrsctplib@8723",
200   "src/third_party/libsrtp":
201     "/trunk/deps/third_party/libsrtp@214783",
203   "src/third_party/speex":
204     "/trunk/deps/third_party/speex@198168",
206   "src/third_party/yasm/source/patched-yasm":
207     "/trunk/deps/third_party/yasm/patched-yasm@167605",
209   "src/third_party/libjpeg_turbo":
210     "/trunk/deps/third_party/libjpeg_turbo@239583",
212   "src/third_party/flac":
213     "/trunk/deps/third_party/flac@222897",
215   "src/third_party/pyftpdlib/src":
216     (Var("googlecode_url") % "pyftpdlib") + "/trunk@977",
218   "src/third_party/scons-2.0.1":
219     Var("nacl_trunk") + "/src/third_party/scons-2.0.1@" +
220         Var("nacl_tools_revision"),
222   "src/third_party/webrtc":
223     (Var("googlecode_url") % "webrtc") + "/stable/webrtc@" + Var("webrtc_revision"),
225   "src/third_party/openmax_dl":
226     (Var("googlecode_url") % "webrtc") + "/deps/third_party/openmax@5205",
228   "src/third_party/jsoncpp/source/include":
229     (Var("sourceforge_url") % {"repo": "jsoncpp"}) +
230         "/trunk/jsoncpp/include@" + Var("jsoncpp_revision"),
232   "src/third_party/jsoncpp/source/src/lib_json":
233     (Var("sourceforge_url") % {"repo": "jsoncpp"}) +
234         "/trunk/jsoncpp/src/lib_json@" + Var("jsoncpp_revision"),
236   "src/third_party/libyuv":
237     (Var("googlecode_url") % "libyuv") + "/trunk@911",
239   "src/third_party/smhasher/src":
240     (Var("googlecode_url") % "smhasher") + "/trunk@149",
242   "src/third_party/libaddressinput/src/cpp":
243     (Var("googlecode_url") % "libaddressinput") + "/trunk/cpp@" +
244         Var("libaddressinput_revision"),
245   "src/third_party/libaddressinput/src/testdata":
246     (Var("googlecode_url") % "libaddressinput") + "/trunk/testdata@" +
247         Var("libaddressinput_revision"),
249   "src/third_party/libphonenumber/src/phonenumbers":
250     (Var("googlecode_url") % "libphonenumber") +
251         "/trunk/cpp/src/phonenumbers@" + Var("libphonenumber_revision"),
252   "src/third_party/libphonenumber/src/test":
253     (Var("googlecode_url") % "libphonenumber") + "/trunk/cpp/test@" +
254         Var("libphonenumber_revision"),
255   "src/third_party/libphonenumber/src/resources":
256     (Var("googlecode_url") % "libphonenumber") + "/trunk/resources@" +
257         Var("libphonenumber_revision"),
259   "src/tools/deps2git":
260     "/trunk/tools/deps2git@236839",
262   "src/third_party/webpagereplay":
263     (Var("googlecode_url") % "web-page-replay") + "/trunk@528",
265   "src/third_party/pywebsocket/src":
266     (Var("googlecode_url") % "pywebsocket") + "/trunk/src@662",
268   "src/third_party/opus/src":
269     "/trunk/deps/third_party/opus@237544",
271   "src/media/cdm/ppapi/api":
272     "/trunk/deps/cdm@237635",
274   "src/third_party/mesa/src":
275     "/trunk/deps/third_party/mesa@229994",
277   "src/third_party/cld_2/src":
278     (Var("googlecode_url") % "cld2") + "/trunk@84",
282 deps_os = {
283   "win": {
284     "src/chrome/tools/test/reference_build/chrome_win":
285       "/trunk/deps/reference_builds/chrome_win@237381",
287     "src/third_party/cygwin":
288       "/trunk/deps/third_party/cygwin@231940",
290     "src/third_party/python_26":
291       "/trunk/tools/third_party/python_26@89111",
293     "src/third_party/psyco_win32":
294       "/trunk/deps/third_party/psyco_win32@237949",
296     "src/third_party/bison":
297       "/trunk/deps/third_party/bison@147303",
299     "src/third_party/gperf":
300       "/trunk/deps/third_party/gperf@147304",
302     "src/third_party/perl":
303       "/trunk/deps/third_party/perl@147900",
305     "src/third_party/lighttpd":
306       "/trunk/deps/third_party/lighttpd@" + Var("lighttpd_revision"),
308     # Chrome Frame related deps
309     "src/third_party/xulrunner-sdk":
310       "/trunk/deps/third_party/xulrunner-sdk@119756",
311     "src/chrome_frame/tools/test/reference_build/chrome_win":
312       "/trunk/deps/reference_builds/chrome_win@89574",
314     # Parses Windows PE/COFF executable format.
315     "src/third_party/pefile":
316       (Var("googlecode_url") % "pefile") + "/trunk@63",
318     # NSS, for SSLClientSocketNSS.
319     "src/third_party/nss":
320       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
322     "src/third_party/swig/win":
323       "/trunk/deps/third_party/swig/win@" + Var("swig_revision"),
325     # GNU binutils assembler for x86-32.
326     "src/third_party/gnu_binutils":
327       (Var("nacl_trunk") + "/deps/third_party/gnu_binutils@" +
328        Var("nacl_tools_revision")),
329     # GNU binutils assembler for x86-64.
330     "src/third_party/mingw-w64/mingw/bin":
331       (Var("nacl_trunk") + "/deps/third_party/mingw-w64/mingw/bin@" +
332        Var("nacl_tools_revision")),
334     # Dependencies used by libjpeg-turbo
335     "src/third_party/yasm/binaries":
336       "/trunk/deps/third_party/yasm/binaries@154708",
338     # Binary level profile guided optimizations. This points to the
339     # latest release binaries for the toolchain.
340     "src/third_party/syzygy/binaries":
341       (Var("googlecode_url") % "sawbuck") + "/trunk/syzygy/binaries@1909",
343     # Binaries for nacl sdk.
344     "src/third_party/nacl_sdk_binaries":
345       "/trunk/deps/third_party/nacl_sdk_binaries@111576",
346   },
347   "ios": {
348     "src/third_party/GTM":
349       (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@" +
350       Var("gtm_revision"),
352     "src/third_party/nss":
353       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
355     # class-dump utility to generate header files for undocumented SDKs
356     "src/testing/iossim/third_party/class-dump":
357       "/trunk/deps/third_party/class-dump@199203",
359     # Code that's not needed due to not building everything
360     "src/build/util/support": None,
361     "src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin": None,
362     "src/chrome/test/data/perf/canvas_bench": None,
363     "src/chrome/test/data/perf/frame_rate/content": None,
364     "src/chrome/test/data/perf/third_party/octane": None,
365     "src/media/cdm/ppapi/api": None,
366     "src/native_client": None,
367     "src/native_client/src/third_party/ppapi": None,
368     "src/third_party/angle": None,
369     "src/third_party/angle_dx11": None,
370     "src/third_party/bidichecker": None,
371     "src/third_party/cld_2/src": None,
372     "src/third_party/ffmpeg": None,
373     "src/third_party/hunspell_dictionaries": None,
374     "src/third_party/hunspell": None,
375     "src/third_party/libaddressinput/src/cpp": None,
376     "src/third_party/libaddressinput/src/testdata": None,
377     "src/third_party/libexif/sources": None,
378     "src/third_party/libjpeg_turbo": None,
379     "src/third_party/libsrtp": None,
380     "src/third_party/libvpx": None,
381     "src/third_party/libyuv": None,
382     "src/third_party/mesa/src": None,
383     "src/third_party/opus/src": None,
384     "src/third_party/openmax_dl": None,
385     "src/third_party/ots": None,
386     "src/third_party/pymox/src": None,
387     "src/third_party/safe_browsing/testing": None,
388     "src/third_party/scons-2.0.1": None,
389     "src/third_party/sfntly/cpp/src": None,
390     "src/third_party/smhasher/src": None,
391     "src/third_party/swig/Lib": None,
392     "src/third_party/undoview": None,
393     "src/third_party/usrsctp/usrsctplib": None,
394     "src/third_party/v8-i18n": None,
395     "src/third_party/webdriver/pylib": None,
396     "src/third_party/webgl": None,
397     "src/third_party/webpagereplay": None,
398     "src/third_party/webrtc": None,
399     "src/third_party/yasm/source/patched-yasm": None,
400     "src/tools/page_cycler/acid3": None,
401     "src/v8": None,
402   },
403   "mac": {
404     "src/chrome/tools/test/reference_build/chrome_mac":
405       "/trunk/deps/reference_builds/chrome_mac@237381",
407     "src/third_party/GTM":
408       (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@" +
409       Var("gtm_revision"),
410     "src/third_party/pdfsqueeze":
411       (Var("googlecode_url") % "pdfsqueeze") + "/trunk@5",
412     "src/third_party/lighttpd":
413       "/trunk/deps/third_party/lighttpd@" + Var("lighttpd_revision"),
415     "src/third_party/swig/mac":
416       "/trunk/deps/third_party/swig/mac@" + Var("swig_revision"),
418     # NSS, for SSLClientSocketNSS.
419     "src/third_party/nss":
420       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
422     "src/chrome/installer/mac/third_party/xz/xz":
423       "/trunk/deps/third_party/xz@233311",
424   },
425   "unix": {
426     # Linux, really.
427     "src/chrome/tools/test/reference_build/chrome_linux":
428       "/trunk/deps/reference_builds/chrome_linux64@237381",
430     "src/third_party/xdg-utils":
431       "/trunk/deps/third_party/xdg-utils@203785",
433     "src/third_party/swig/linux":
434       "/trunk/deps/third_party/swig/linux@" + Var("swig_revision"),
436     "src/third_party/lss":
437       ((Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@" +
438        Var("lss_revision")),
440     "src/third_party/openssl":
441       "/trunk/deps/third_party/openssl@" + Var("openssl_revision"),
443     "src/third_party/gold":
444       "/trunk/deps/third_party/gold@228995",
446     "src/third_party/libmtp":
447       "/trunk/deps/third_party/libmtp@206535",
449     # Used on Linux only. CrOS already has a copy.
450     "src/third_party/mtpd/source":
451       Var("chromiumos_git") + "/platform/mtpd.git" +
452       "@5be739c938a0a229ba9479b00b180e1f9c843e81",
454     # Used on Linux only. CrOS already has a copy.
455     "src/third_party/cros_dbus_cplusplus/source":
456       Var("chromiumos_git") + "/third_party/dbus-cplusplus.git" +
457       "@5e8f6d9db5c2abfb91d91f751184f25bb5cd0900",
459     # For Linux and Chromium OS.
460     "src/third_party/cros_system_api":
461       Var("chromiumos_git") + "/platform/system_api.git" +
462       "@cfa23a554dcb262bfac10f9f5ac624d26c8c4e38",
464     # Note that this is different from Android's freetype repo.
465     "src/third_party/freetype2/src":
466       Var("chromium_git") + "/chromium/src/third_party/freetype2.git" +
467       "@d699c2994ecc178c4ed05ac2086061b2034c2178",
469     # Build tools for targeting ChromeOS.
470     "src/third_party/chromite":
471       Var("chromiumos_git") + "/chromite.git" +
472       "@cbdd21c5ea76aa93ba4619a6d253697765f4de1f",
474     # Dependency of chromite.git.
475     "src/third_party/pyelftools":
476       Var("chromiumos_git") + "/third_party/pyelftools.git" +
477       "@bdc1d380acd88d4bfaf47265008091483b0d614e",
479     "src/third_party/undoview":
480       "/trunk/deps/third_party/undoview@119694",
482     "src/third_party/liblouis/src":
483       Var("chromium_git") +
484       "/external/liblouis.git@3c2daee56250162e5a75830871601d74328d39f5",
486   },
487   "android": {
488     "src/third_party/android_tools":
489       Var("chromium_git") + "/android_tools.git" +
490       "@25cf2d85072b06f78956ecaacd564ef56a054d65",
492     "src/third_party/aosp":
493       "/trunk/deps/third_party/aosp@148330",
495     "src/third_party/apache-mime4j":
496       "/trunk/deps/third_party/apache-mime4j@170888",
498     "src/third_party/findbugs":
499       "/trunk/deps/third_party/findbugs@163586",
501     "src/third_party/freetype":
502       Var("chromium_git") + "/chromium/src/third_party/freetype.git" +
503       "@e3b631da8034f7c6ecc6d809cd9e46d306215c32",
505     "src/third_party/guava/src":
506       Var("chromium_git") + "/external/guava-libraries.git" +
507       "@c523556ab7d0f05afadebd20e7768d4c16af8771",
509     "src/third_party/httpcomponents-client":
510       "/trunk/deps/third_party/httpcomponents-client@170888",
512     "src/third_party/httpcomponents-core":
513       "/trunk/deps/third_party/httpcomponents-core@170888",
515     "src/third_party/jarjar":
516       "/trunk/deps/third_party/jarjar@170888",
518     "src/third_party/jsr-305/src":
519       (Var("googlecode_url") % "jsr-305") + "/trunk@51",
521     "src/third_party/lss":
522       ((Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@" +
523        Var("lss_revision")),
525     "src/third_party/openssl":
526       "/trunk/deps/third_party/openssl@" + Var("openssl_revision"),
528     "src/third_party/eyesfree/src/android/java/src/com/googlecode/eyesfree/braille":
529       (Var("googlecode_url") % "eyes-free") + "/trunk/braille/client/src/com/googlecode/eyesfree/braille@797",
531     # Android shouldn't use this address validation library.
532     "src/third_party/libaddressinput/src/cpp": None,
533     "src/third_party/libaddressinput/src/testdata": None,
534   },
538 include_rules = [
539   # Everybody can use some things.
540   "+base",
541   "+build",
542   "+ipc",
544   # Everybody can use headers generated by tools/generate_library_loader.
545   "+library_loaders",
547   "+testing",
548   "+third_party/icu/source/common/unicode",
549   "+third_party/icu/source/i18n/unicode",
550   "+url",
554 # checkdeps.py shouldn't check include paths for files in these dirs:
555 skip_child_includes = [
556   "breakpad",
557   "chrome_frame",
558   "delegate_execute",
559   "metro_driver",
560   "native_client_sdk",
561   "o3d",
562   "pdf",
563   "sdch",
564   "skia",
565   "testing",
566   "third_party",
567   "v8",
568   "win8",
572 hooks = [
573   {
574     # This downloads binaries for Native Client's newlib toolchain.
575     # Done in lieu of building the toolchain from scratch as it can take
576     # anywhere from 30 minutes to 4 hours depending on platform to build.
577     "name": "nacltools",
578     "pattern": ".",
579     "action": [
580         "python", "src/build/download_nacl_toolchains.py",
581          "--no-arm-trusted",
582          "--keep",
583     ],
584   },
585   {
586     # Downloads an ARM sysroot image to src/arm-sysroot. This image updates
587     # at about the same rate that the chrome build deps change.
588     # This script is a no-op except for linux users who have
589     # target_arch=arm in their GYP_DEFINES.
590     "name": "sysroot",
591     "pattern": ".",
592     "action": ["python", "src/build/linux/install-arm-sysroot.py",
593                "--linux-only"],
594   },
595   {
596     # Downloads the Debian Wheezy sysroot to chrome/installer/linux if needed.
597     # This sysroot updates at about the same rate that the chrome build deps
598     # change. This script is a no-op except for linux users who are doing
599     # official chrome builds.
600     "name": "sysroot",
601     "pattern": ".",
602     "action": [
603         "python",
604         "src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py",
605         "--linux-only",
606         "--arch=amd64"],
607   },
608   {
609     # Same as above, but for 32-bit Linux.
610     "name": "sysroot",
611     "pattern": ".",
612     "action": [
613         "python",
614         "src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py",
615         "--linux-only",
616         "--arch=i386"],
617   },
618   {
619     # Pull clang on mac. If nothing changed, or on non-mac platforms, this takes
620     # zero seconds to run. If something changed, it downloads a prebuilt clang,
621     # which takes ~20s, but clang speeds up builds by more than 20s.
622     "name": "clang",
623     "pattern": ".",
624     "action": ["python", "src/tools/clang/scripts/update.py", "--mac-only"],
625   },
626   {
627     # Update the cygwin mount on Windows.
628     "name": "cygwin",
629     "pattern": ".",
630     "action": ["python", "src/build/win/setup_cygwin_mount.py", "--win-only"],
631   },
632   {
633     # Update LASTCHANGE. This is also run by export_tarball.py in
634     # src/tools/export_tarball - please keep them in sync.
635     "name": "lastchange",
636     "pattern": ".",
637     "action": ["python", "src/build/util/lastchange.py",
638                "-o", "src/build/util/LASTCHANGE"],
639   },
640   {
641     # Update LASTCHANGE.blink. This is also run by export_tarball.py in
642     # src/tools/export_tarball - please keep them in sync.
643     "name": "lastchange",
644     "pattern": ".",
645     "action": ["python", "src/build/util/lastchange.py",
646                "-s", "src/third_party/WebKit",
647                "-o", "src/build/util/LASTCHANGE.blink"],
648   },
649   # Pull GN binaries. This needs to be before running GYP below.
650   {
651     "name": "gn_win",
652     "pattern": "src/tools/gn/bin/win/gn.exe.sha1",
653     "action": [ "download_from_google_storage",
654                 "--no_resume",
655                 "--platform=win32",
656                 "--no_auth",
657                 "--bucket", "chromium-gn",
658                 "-s", "src/tools/gn/bin/win/gn.exe.sha1",
659     ],
660   },
661   {
662     "name": "gn_mac",
663     "pattern": "src/tools/gn/bin/mac/gn.sha1",
664     "action": [ "download_from_google_storage",
665                 "--no_resume",
666                 "--platform=darwin",
667                 "--no_auth",
668                 "--bucket", "chromium-gn",
669                 "-s", "src/tools/gn/bin/mac/gn.sha1",
670     ],
671   },
672   {
673     "name": "gn_linux",
674     "pattern": "src/tools/gn/bin/linux/gn.sha1",
675     "action": [ "download_from_google_storage",
676                 "--no_resume",
677                 "--platform=linux*",
678                 "--no_auth",
679                 "--bucket", "chromium-gn",
680                 "-s", "src/tools/gn/bin/linux/gn.sha1",
681     ],
682   },
683   {
684     "name": "gn_linux32",
685     "pattern": "src/tools/gn/bin/linux/gn32.sha1",
686     "action": [ "download_from_google_storage",
687                 "--no_resume",
688                 "--platform=linux*",
689                 "--no_auth",
690                 "--bucket", "chromium-gn",
691                 "-s", "src/tools/gn/bin/linux/gn32.sha1",
692     ],
693   },
694   {
695     # A change to a .gyp, .gypi, or to GYP itself should run the generator.
696     "name": "gyp",
697     "pattern": ".",
698     "action": ["python", "src/build/gyp_chromium"],
699   },
700   {
701     # Check for landmines (reasons to clobber the build).
702     "name": "landmines",
703     "pattern": ".",
704     "action": ["python", "src/build/landmines.py"],
705   },