Do not try to install default extensions in public sessions
[chromium-blink-merge.git] / DEPS
blobac65ecafe53d26110bfb031da0fe70108bf852af
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_git": "https://llvm.googlesource.com",
21   "libcxx_revision": "8f48c23568a122de6088455700e9d197b79bd8f8",
22   "libcxxabi_revision": "753a30dd68ae008948d48f16bc942d5963fe65a1",
23   "webkit_trunk": "http://src.chromium.org/blink/trunk",
24   "nacl_trunk": "http://src.chromium.org/native_client/trunk",
25   "webkit_revision": "164978",
26   "chromium_git": "https://chromium.googlesource.com",
27   "chromiumos_git": "https://chromium.googlesource.com/chromiumos",
28   "skia_git": "https://skia.googlesource.com",
29   "swig_revision": "230490",
30   "nacl_revision": "12586",
31   # After changing nacl_revision, run 'glient sync' and check native_client/DEPS
32   # to update other nacl_*_revision's.
33   "nacl_tools_revision": "12526",  # native_client/DEPS: tools_rev
34   "google_toolbox_for_mac_revision": "616",
35   "libaddressinput_revision": "176",
36   "libphonenumber_revision": "621",
37   "libvpx_revision": "241571",
38   "lss_revision": "24",
40   # These two FFmpeg variables must be updated together.  One is used for SVN
41   # checkouts and the other for Git checkouts.
42   "ffmpeg_revision": "244257",
43   "ffmpeg_hash": "172513a0692e299fb82e95f823351eb3696452d6",
45   "sfntly_revision": "228",
46   "lighttpd_revision": "33737",
47   "skia_revision": "13059",
48   "skia_hash": "5f43d21dd4cc086646cc18a892d7c768ce030baf",
49   # Three lines of non-changing comments so that
50   # the commit queue can handle CLs rolling Skia
51   # and V8 without interference from each other.
52   "v8_revision": "18540",
53   # Three lines of non-changing comments so that
54   # the commit queue can handle CLs rolling WebRTC
55   # and V8 without interference from each other.
56   "webrtc_revision": "5300",
57   "jsoncpp_revision": "248",
58   "nss_revision": "244274",
59   # Three lines of non-changing comments so that
60   # the commit queue can handle CLs rolling swarming_client
61   # and whatever else without interference from each other.
62   "swarming_revision": "3ae9e6e79206d6b0d530ab98ce941c9dc9a19d5b",
63   # Three lines of non-changing comments so that
64   # the commit queue can handle CLs rolling openssl
65   # and whatever else without interference from each other.
66   "openssl_revision": "244037",
69 deps = {
70   "src/breakpad/src":
71     (Var("googlecode_url") % "google-breakpad") + "/trunk/src@1270",
73   "src/sdch/open-vcdiff":
74     (Var("googlecode_url") % "open-vcdiff") + "/trunk@42",
76   "src/testing/gtest":
77     (Var("googlecode_url") % "googletest") + "/trunk@643",
79   "src/testing/gmock":
80     (Var("googlecode_url") % "googlemock") + "/trunk@410",
82   "src/third_party/angle":
83     Var("chromium_git") +
84     "/angle/angle.git@95fa672f26db492aee2076b0acb524149d52c68f",
86   "src/third_party/trace-viewer":
87     (Var("googlecode_url") % "trace-viewer") + "/trunk@1084",
89   "src/third_party/WebKit":
90     Var("webkit_trunk") + "@" + Var("webkit_revision"),
92   "src/third_party/WebKit/LayoutTests/w3c/web-platform-tests":
93     Var("chromium_git") +
94     "/external/w3c/web-platform-tests.git@ac4322a338be82b3d8b722917d6d3d057c0a3f6a",
96   "src/third_party/WebKit/LayoutTests/w3c/csswg-test":
97     Var("chromium_git") +
98     "/external/w3c/csswg-test.git@8c415e3215a203fa3a22dbdd1799279fdf44c81e",
100   "src/third_party/icu":
101     "/trunk/deps/third_party/icu46@244134",
103   "src/third_party/libexif/sources":
104     "/trunk/deps/third_party/libexif/sources@146817",
106   "src/third_party/hunspell":
107    "/trunk/deps/third_party/hunspell@206172",
109   "src/third_party/hunspell_dictionaries":
110     "/trunk/deps/third_party/hunspell_dictionaries@193701",
112   "src/third_party/safe_browsing/testing":
113     (Var("googlecode_url") % "google-safe-browsing") + "/trunk/testing@112",
115   "src/third_party/cacheinvalidation/src":
116     (Var("googlecode_url") % "google-cache-invalidation-api") +
117     "/trunk/src@314",
119   "src/third_party/leveldatabase/src":
120     (Var("googlecode_url") % "leveldb") + "/trunk@78",
122   "src/third_party/libc++/trunk":
123     Var("llvm_git") + "/libcxx.git@" + Var("libcxx_revision"),
125   "src/third_party/libc++abi/trunk":
126     Var("llvm_git") + "/libcxxabi.git@" + Var("libcxxabi_revision"),
128   "src/third_party/snappy/src":
129     (Var("googlecode_url") % "snappy") + "/trunk@80",
131   "src/tools/grit":
132     (Var("googlecode_url") % "grit-i18n") + "/trunk@141",
134   "src/tools/gyp":
135     (Var("googlecode_url") % "gyp") + "/trunk@1836",
137   "src/tools/swarming_client":
138     Var("chromium_git") + "/external/swarming.client.git@" +
139         Var("swarming_revision"),
141   "src/v8":
142     (Var("googlecode_url") % "v8") + "/trunk@" + Var("v8_revision"),
144   "src/native_client":
145     Var("nacl_trunk") + "/src/native_client@" + Var("nacl_revision"),
147   "src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin":
148     Var("nacl_trunk") + "/src/native_client/tests/prebuilt@" +
149     Var("nacl_revision"),
151   "src/third_party/sfntly/cpp/src":
152     (Var("googlecode_url") % "sfntly") + "/trunk/cpp/src@" +
153     Var("sfntly_revision"),
155   "src/third_party/skia/src":
156     (Var("googlecode_url") % "skia") + "/trunk/src@" + Var("skia_revision"),
158   "src/third_party/skia/gyp":
159     (Var("googlecode_url") % "skia") + "/trunk/gyp@" + Var("skia_revision"),
161   "src/third_party/skia/include":
162     (Var("googlecode_url") % "skia") + "/trunk/include@" + Var("skia_revision"),
164   "src/third_party/ots":
165     (Var("googlecode_url") % "ots") + "/trunk@108",
167   "src/third_party/brotli/src":
168     Var("chromium_git") +
169     "/external/font-compression-reference.git@dfc5a9f2151a7c88914c236c7db8fa119fee249c",
171   "src/tools/page_cycler/acid3":
172     "/trunk/deps/page_cycler/acid3@171600",
174   "src/chrome/test/data/perf/canvas_bench":
175     "/trunk/deps/canvas_bench@122605",
177   "src/chrome/test/data/perf/frame_rate/content":
178     "/trunk/deps/frame_rate/content@93671",
180   "src/chrome/test/data/perf/third_party/octane":
181     (Var("googlecode_url") % "octane-benchmark") + "/trunk@19",
183   "src/third_party/bidichecker":
184     (Var("googlecode_url") % "bidichecker") + "/trunk/lib@4",
186   "src/third_party/webgl/src":
187     Var("chromium_git") +
188     "/external/khronosgroup/webgl.git@159f31dd34842c871032d97d360a9dce5153f585",
190   "src/third_party/swig/Lib":
191     "/trunk/deps/third_party/swig/Lib@" + Var("swig_revision"),
193   # Make sure you update the two functional.DEPS and webdriver.DEPS too.
194   "src/third_party/webdriver/pylib":
195     (Var("googlecode_url") % "selenium") + "/trunk/py@18337",
197   "src/third_party/libvpx":
198     "/trunk/deps/third_party/libvpx@" +
199     Var("libvpx_revision"),
201   "src/third_party/ffmpeg":
202     "/trunk/deps/third_party/ffmpeg@" +
203     Var("ffmpeg_revision"),
205   "src/third_party/libjingle/source/talk":
206     (Var("googlecode_url") % "webrtc") + "/trunk/talk@" +
207     Var("webrtc_revision"),
209   "src/third_party/usrsctp/usrsctplib":
210     (Var("googlecode_url") % "sctp-refimpl") +
211     "/trunk/KERN/usrsctp/usrsctplib@8723",
213   "src/third_party/libsrtp":
214     "/trunk/deps/third_party/libsrtp@214783",
216   "src/third_party/speex":
217     "/trunk/deps/third_party/speex@198168",
219   "src/third_party/yasm/source/patched-yasm":
220     "/trunk/deps/third_party/yasm/patched-yasm@167605",
222   "src/third_party/libjpeg_turbo":
223     "/trunk/deps/third_party/libjpeg_turbo@239595",
225   "src/third_party/flac":
226     "/trunk/deps/third_party/flac@222897",
228   "src/third_party/pyftpdlib/src":
229     (Var("googlecode_url") % "pyftpdlib") + "/trunk@977",
231   "src/third_party/scons-2.0.1":
232     Var("nacl_trunk") + "/src/third_party/scons-2.0.1@" +
233         Var("nacl_tools_revision"),
235   "src/third_party/webrtc":
236     (Var("googlecode_url") % "webrtc") + "/trunk/webrtc@" + Var("webrtc_revision"),
238   "src/third_party/openmax_dl":
239     (Var("googlecode_url") % "webrtc") + "/deps/third_party/openmax@5205",
241   "src/third_party/jsoncpp/source/include":
242     (Var("sourceforge_url") % {"repo": "jsoncpp"}) +
243         "/trunk/jsoncpp/include@" + Var("jsoncpp_revision"),
245   "src/third_party/jsoncpp/source/src/lib_json":
246     (Var("sourceforge_url") % {"repo": "jsoncpp"}) +
247         "/trunk/jsoncpp/src/lib_json@" + Var("jsoncpp_revision"),
249   "src/third_party/libyuv":
250     (Var("googlecode_url") % "libyuv") + "/trunk@949",
252   "src/third_party/smhasher/src":
253     (Var("googlecode_url") % "smhasher") + "/trunk@151",
255   "src/third_party/libaddressinput/src/cpp":
256     (Var("googlecode_url") % "libaddressinput") + "/trunk/cpp@" +
257         Var("libaddressinput_revision"),
258   "src/third_party/libaddressinput/src/testdata":
259     (Var("googlecode_url") % "libaddressinput") + "/trunk/testdata@" +
260         Var("libaddressinput_revision"),
262   "src/third_party/libphonenumber/src/phonenumbers":
263     (Var("googlecode_url") % "libphonenumber") +
264         "/trunk/cpp/src/phonenumbers@" + Var("libphonenumber_revision"),
265   "src/third_party/libphonenumber/src/test":
266     (Var("googlecode_url") % "libphonenumber") + "/trunk/cpp/test@" +
267         Var("libphonenumber_revision"),
268   "src/third_party/libphonenumber/src/resources":
269     (Var("googlecode_url") % "libphonenumber") + "/trunk/resources@" +
270         Var("libphonenumber_revision"),
272   "src/tools/deps2git":
273     "/trunk/tools/deps2git@238405",
275   "src/third_party/webpagereplay":
276     (Var("googlecode_url") % "web-page-replay") + "/trunk@528",
278   "src/third_party/pywebsocket/src":
279     (Var("googlecode_url") % "pywebsocket") + "/trunk/src@662",
281   "src/third_party/opus/src":
282     "/trunk/deps/third_party/opus@237544",
284   "src/media/cdm/ppapi/api":
285     "/trunk/deps/cdm@241073",
287   "src/third_party/mesa/src":
288     "/trunk/deps/third_party/mesa@240938",
290   "src/third_party/cld_2/src":
291     (Var("googlecode_url") % "cld2") + "/trunk@84",
293   "src/third_party/html_office":
294      Var("chromium_git") +
295          "/chromium/html-office-public.git@1d04f3dfbd8bd604190dfb6f5a030d30233ba6ea",
299 deps_os = {
300   "win": {
301     "src/chrome/tools/test/reference_build/chrome_win":
302       "/trunk/deps/reference_builds/chrome_win@237381",
304     "src/third_party/cygwin":
305       "/trunk/deps/third_party/cygwin@231940",
307     "src/third_party/psyco_win32":
308       "/trunk/deps/third_party/psyco_win32@237949",
310     "src/third_party/bison":
311       "/trunk/deps/third_party/bison@147303",
313     "src/third_party/gperf":
314       "/trunk/deps/third_party/gperf@147304",
316     "src/third_party/perl":
317       "/trunk/deps/third_party/perl@147900",
319     "src/third_party/lighttpd":
320       "/trunk/deps/third_party/lighttpd@" + Var("lighttpd_revision"),
322     # Parses Windows PE/COFF executable format.
323     "src/third_party/pefile":
324       (Var("googlecode_url") % "pefile") + "/trunk@63",
326     # NSS, for SSLClientSocketNSS.
327     "src/third_party/nss":
328       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
330     "src/third_party/swig/win":
331       "/trunk/deps/third_party/swig/win@" + Var("swig_revision"),
333     # GNU binutils assembler for x86-32.
334     "src/third_party/gnu_binutils":
335       (Var("nacl_trunk") + "/deps/third_party/gnu_binutils@" +
336        Var("nacl_tools_revision")),
337     # GNU binutils assembler for x86-64.
338     "src/third_party/mingw-w64/mingw/bin":
339       (Var("nacl_trunk") + "/deps/third_party/mingw-w64/mingw/bin@" +
340        Var("nacl_tools_revision")),
342     # Dependencies used by libjpeg-turbo
343     "src/third_party/yasm/binaries":
344       "/trunk/deps/third_party/yasm/binaries@154708",
346     # Binary level profile guided optimizations. This points to the
347     # latest release binaries for the toolchain.
348     "src/third_party/syzygy/binaries":
349       (Var("googlecode_url") % "sawbuck") + "/trunk/syzygy/binaries@1909",
351     # Binaries for nacl sdk.
352     "src/third_party/nacl_sdk_binaries":
353       "/trunk/deps/third_party/nacl_sdk_binaries@111576",
354   },
355   "ios": {
356     "src/third_party/google_toolbox_for_mac/src":
357       (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@" +
358       Var("google_toolbox_for_mac_revision"),
360     "src/third_party/nss":
361       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
363     # class-dump utility to generate header files for undocumented SDKs
364     "src/testing/iossim/third_party/class-dump":
365       "/trunk/deps/third_party/class-dump@199203",
367     # Code that's not needed due to not building everything
368     "src/build/util/support": None,
369     "src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin": None,
370     "src/chrome/test/data/perf/canvas_bench": None,
371     "src/chrome/test/data/perf/frame_rate/content": None,
372     "src/chrome/test/data/perf/third_party/octane": None,
373     "src/media/cdm/ppapi/api": None,
374     "src/native_client": None,
375     "src/native_client/src/third_party/ppapi": None,
376     "src/third_party/angle": None,
377     "src/third_party/bidichecker": None,
378     "src/third_party/cld_2/src": None,
379     "src/third_party/ffmpeg": None,
380     "src/third_party/hunspell_dictionaries": None,
381     "src/third_party/hunspell": None,
382     "src/third_party/libaddressinput/src/cpp": None,
383     "src/third_party/libaddressinput/src/testdata": None,
384     "src/third_party/libexif/sources": None,
385     "src/third_party/libjpeg_turbo": None,
386     "src/third_party/libsrtp": None,
387     "src/third_party/libvpx": None,
388     "src/third_party/libyuv": None,
389     "src/third_party/mesa/src": None,
390     "src/third_party/opus/src": None,
391     "src/third_party/openmax_dl": None,
392     "src/third_party/ots": None,
393     "src/third_party/pymox/src": None,
394     "src/third_party/safe_browsing/testing": None,
395     "src/third_party/scons-2.0.1": None,
396     "src/third_party/sfntly/cpp/src": None,
397     "src/third_party/smhasher/src": None,
398     "src/third_party/swig/Lib": None,
399     "src/third_party/undoview": None,
400     "src/third_party/usrsctp/usrsctplib": None,
401     "src/third_party/v8-i18n": None,
402     "src/third_party/webdriver/pylib": None,
403     "src/third_party/webgl": None,
404     "src/third_party/webpagereplay": None,
405     "src/third_party/webrtc": None,
406     "src/third_party/yasm/source/patched-yasm": None,
407     "src/tools/page_cycler/acid3": None,
408     "src/v8": None,
409   },
410   "mac": {
411     "src/chrome/tools/test/reference_build/chrome_mac":
412       "/trunk/deps/reference_builds/chrome_mac@237381",
414     "src/third_party/google_toolbox_for_mac/src":
415       (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@" +
416       Var("google_toolbox_for_mac_revision"),
418     "src/third_party/pdfsqueeze":
419       (Var("googlecode_url") % "pdfsqueeze") + "/trunk@5",
421     "src/third_party/lighttpd":
422       "/trunk/deps/third_party/lighttpd@" + Var("lighttpd_revision"),
424     "src/third_party/swig/mac":
425       "/trunk/deps/third_party/swig/mac@" + Var("swig_revision"),
427     # NSS, for SSLClientSocketNSS.
428     "src/third_party/nss":
429       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
431     "src/chrome/installer/mac/third_party/xz/xz":
432       "/trunk/deps/third_party/xz@233311",
433   },
434   "unix": {
435     # Linux, really.
436     "src/chrome/tools/test/reference_build/chrome_linux":
437       "/trunk/deps/reference_builds/chrome_linux64@237381",
439     "src/third_party/xdg-utils":
440       "/trunk/deps/third_party/xdg-utils@203785",
442     "src/third_party/swig/linux":
443       "/trunk/deps/third_party/swig/linux@" + Var("swig_revision"),
445     "src/third_party/lss":
446       ((Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@" +
447        Var("lss_revision")),
449     "src/third_party/openssl":
450       "/trunk/deps/third_party/openssl@" + Var("openssl_revision"),
452     "src/third_party/gold":
453       "/trunk/deps/third_party/gold@228995",
455     "src/third_party/libmtp":
456       "/trunk/deps/third_party/libmtp@206535",
458     # Used on Linux only. CrOS already has a copy.
459     "src/third_party/mtpd/source":
460       Var("chromiumos_git") + "/platform/mtpd.git" +
461       "@5be739c938a0a229ba9479b00b180e1f9c843e81",
463     # Used on Linux only. CrOS already has a copy.
464     "src/third_party/cros_dbus_cplusplus/source":
465       Var("chromiumos_git") + "/third_party/dbus-cplusplus.git" +
466       "@5e8f6d9db5c2abfb91d91f751184f25bb5cd0900",
468     # For Linux and Chromium OS.
469     "src/third_party/cros_system_api":
470       Var("chromiumos_git") + "/platform/system_api.git" +
471       "@cfa23a554dcb262bfac10f9f5ac624d26c8c4e38",
473     # Note that this is different from Android's freetype repo.
474     "src/third_party/freetype2/src":
475       Var("chromium_git") + "/chromium/src/third_party/freetype2.git" +
476       "@d699c2994ecc178c4ed05ac2086061b2034c2178",
478     # Build tools for targeting ChromeOS.
479     "src/third_party/chromite":
480       Var("chromiumos_git") + "/chromite.git" +
481       "@6637dcd35a8b9f02ba54d2a369118306cee88432",
483     # Dependency of chromite.git.
484     "src/third_party/pyelftools":
485       Var("chromiumos_git") + "/third_party/pyelftools.git" +
486       "@bdc1d380acd88d4bfaf47265008091483b0d614e",
488     "src/third_party/undoview":
489       "/trunk/deps/third_party/undoview@119694",
491     "src/third_party/liblouis/src":
492       Var("chromium_git") +
493       "/external/liblouis.git@3c2daee56250162e5a75830871601d74328d39f5",
495     # Used for embedded builds. CrOS & Linux use the system version.
496     "src/third_party/fontconfig/src":
497       Var("chromium_git") + "/external/fontconfig.git" +
498       "@4f944971dac3c0bbc6fdd3bf3123e3c8378a3acb",
499   },
500   "android": {
501     "src/third_party/android_tools":
502       Var("chromium_git") + "/android_tools.git" +
503       "@25cf2d85072b06f78956ecaacd564ef56a054d65",
505     "src/third_party/aosp":
506       "/trunk/deps/third_party/aosp@148330",
508     "src/third_party/apache-mime4j":
509       "/trunk/deps/third_party/apache-mime4j@170888",
511     "src/third_party/findbugs":
512       "/trunk/deps/third_party/findbugs@163586",
514     "src/third_party/freetype":
515       Var("chromium_git") + "/chromium/src/third_party/freetype.git" +
516       "@a2b9955b49034a51dfbc8bf9f4e9d312149cecac",
518     "src/third_party/guava/src":
519       Var("chromium_git") + "/external/guava-libraries.git" +
520       "@c523556ab7d0f05afadebd20e7768d4c16af8771",
522     "src/third_party/httpcomponents-client":
523       "/trunk/deps/third_party/httpcomponents-client@170888",
525     "src/third_party/httpcomponents-core":
526       "/trunk/deps/third_party/httpcomponents-core@170888",
528     "src/third_party/jarjar":
529       "/trunk/deps/third_party/jarjar@170888",
531     "src/third_party/jsr-305/src":
532       (Var("googlecode_url") % "jsr-305") + "/trunk@51",
534     "src/third_party/lss":
535       ((Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@" +
536        Var("lss_revision")),
538     "src/third_party/openssl":
539       "/trunk/deps/third_party/openssl@" + Var("openssl_revision"),
541     "src/third_party/eyesfree/src/android/java/src/com/googlecode/eyesfree/braille":
542       (Var("googlecode_url") % "eyes-free") + "/trunk/braille/client/src/com/googlecode/eyesfree/braille@797",
544     # Android shouldn't use this address validation library.
545     "src/third_party/libaddressinput/src/cpp": None,
546     "src/third_party/libaddressinput/src/testdata": None,
547   },
551 include_rules = [
552   # Everybody can use some things.
553   "+base",
554   "+build",
555   "+ipc",
557   # Everybody can use headers generated by tools/generate_library_loader.
558   "+library_loaders",
560   "+testing",
561   "+third_party/icu/source/common/unicode",
562   "+third_party/icu/source/i18n/unicode",
563   "+url",
567 # checkdeps.py shouldn't check include paths for files in these dirs:
568 skip_child_includes = [
569   "breakpad",
570   "delegate_execute",
571   "metro_driver",
572   "native_client_sdk",
573   "o3d",
574   "pdf",
575   "sdch",
576   "skia",
577   "testing",
578   "third_party",
579   "v8",
580   "win8",
584 hooks = [
585   {
586     # This downloads binaries for Native Client's newlib toolchain.
587     # Done in lieu of building the toolchain from scratch as it can take
588     # anywhere from 30 minutes to 4 hours depending on platform to build.
589     "name": "nacltools",
590     "pattern": ".",
591     "action": [
592         "python", "src/build/download_nacl_toolchains.py",
593          "--no-arm-trusted",
594          "--keep",
595     ],
596   },
597   {
598     # Downloads an ARM sysroot image to src/arm-sysroot. This image updates
599     # at about the same rate that the chrome build deps change.
600     # This script is a no-op except for linux users who have
601     # target_arch=arm in their GYP_DEFINES.
602     "name": "sysroot",
603     "pattern": ".",
604     "action": ["python", "src/build/linux/install-arm-sysroot.py",
605                "--linux-only"],
606   },
607   {
608     # Downloads the Debian Wheezy sysroot to chrome/installer/linux if needed.
609     # This sysroot updates at about the same rate that the chrome build deps
610     # change. This script is a no-op except for linux users who are doing
611     # official chrome builds.
612     "name": "sysroot",
613     "pattern": ".",
614     "action": [
615         "python",
616         "src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py",
617         "--linux-only",
618         "--arch=amd64"],
619   },
620   {
621     # Same as above, but for 32-bit Linux.
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=i386"],
629   },
630   {
631     # Pull clang on mac. If nothing changed, or on non-mac platforms, this takes
632     # zero seconds to run. If something changed, it downloads a prebuilt clang,
633     # which takes ~20s, but clang speeds up builds by more than 20s.
634     "name": "clang",
635     "pattern": ".",
636     "action": ["python", "src/tools/clang/scripts/update.py", "--mac-only"],
637   },
638   {
639     # Update the cygwin mount on Windows.
640     "name": "cygwin",
641     "pattern": ".",
642     "action": ["python", "src/build/win/setup_cygwin_mount.py", "--win-only"],
643   },
644   {
645     # Update LASTCHANGE. This is also run by export_tarball.py in
646     # src/tools/export_tarball - please keep them in sync.
647     "name": "lastchange",
648     "pattern": ".",
649     "action": ["python", "src/build/util/lastchange.py",
650                "-o", "src/build/util/LASTCHANGE"],
651   },
652   {
653     # Update LASTCHANGE.blink. 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                "-s", "src/third_party/WebKit",
659                "-o", "src/build/util/LASTCHANGE.blink"],
660   },
661   # Pull GN binaries. This needs to be before running GYP below.
662   {
663     "name": "gn_win",
664     "pattern": "src/tools/gn/bin/win/gn.exe.sha1",
665     "action": [ "download_from_google_storage",
666                 "--no_resume",
667                 "--platform=win32",
668                 "--no_auth",
669                 "--bucket", "chromium-gn",
670                 "-s", "src/tools/gn/bin/win/gn.exe.sha1",
671     ],
672   },
673   {
674     "name": "gn_mac",
675     "pattern": "src/tools/gn/bin/mac/gn.sha1",
676     "action": [ "download_from_google_storage",
677                 "--no_resume",
678                 "--platform=darwin",
679                 "--no_auth",
680                 "--bucket", "chromium-gn",
681                 "-s", "src/tools/gn/bin/mac/gn.sha1",
682     ],
683   },
684   {
685     "name": "gn_linux",
686     "pattern": "src/tools/gn/bin/linux/gn.sha1",
687     "action": [ "download_from_google_storage",
688                 "--no_resume",
689                 "--platform=linux*",
690                 "--no_auth",
691                 "--bucket", "chromium-gn",
692                 "-s", "src/tools/gn/bin/linux/gn.sha1",
693     ],
694   },
695   {
696     "name": "gn_linux32",
697     "pattern": "src/tools/gn/bin/linux/gn32.sha1",
698     "action": [ "download_from_google_storage",
699                 "--no_resume",
700                 "--platform=linux*",
701                 "--no_auth",
702                 "--bucket", "chromium-gn",
703                 "-s", "src/tools/gn/bin/linux/gn32.sha1",
704     ],
705   },
706   # Pull clang-format binaries using checked-in hashes.
707   {
708     "name": "clang_format_win",
709     "pattern": "src/third_party/clang_format/bin/win/clang-format.exe.sha1",
710     "action": [ "download_from_google_storage",
711                 "--no_resume",
712                 "--platform=win32",
713                 "--no_auth",
714                 "--bucket", "chromium-clang-format",
715                 "-s", "src/third_party/clang_format/bin/win/clang-format.exe.sha1",
716     ],
717   },
718   {
719     "name": "clang_format_mac",
720     "pattern": "src/third_party/clang_format/bin/mac/clang-format.sha1",
721     "action": [ "download_from_google_storage",
722                 "--no_resume",
723                 "--platform=darwin",
724                 "--no_auth",
725                 "--bucket", "chromium-clang-format",
726                 "-s", "src/third_party/clang_format/bin/mac/clang-format.sha1",
727     ],
728   },
729   {
730     "name": "clang_format_linux",
731     "pattern": "src/third_party/clang_format/bin/linux/clang-format.sha1",
732     "action": [ "download_from_google_storage",
733                 "--no_resume",
734                 "--platform=linux*",
735                 "--no_auth",
736                 "--bucket", "chromium-clang-format",
737                 "-s", "src/third_party/clang_format/bin/linux/clang-format.sha1",
738     ],
739   },
740   {
741     # A change to a .gyp, .gypi, or to GYP itself should run the generator.
742     "name": "gyp",
743     "pattern": ".",
744     "action": ["python", "src/build/gyp_chromium"],
745   },
746   {
747     # Check for landmines (reasons to clobber the build).
748     "name": "landmines",
749     "pattern": ".",
750     "action": ["python", "src/build/landmines.py"],
751   },