Clean-up: Replace Canvas::DrawStringInt with DrawStringRect.
[chromium-blink-merge.git] / DEPS
blobc0ed2fc82b947aec5c552ffcdbdeca5e1528d73f
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": "166074",
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": "12657",
31   # After changing nacl_revision, run 'glient sync' and check native_client/DEPS
32   # to update other nacl_*_revision's.
33   "nacl_tools_revision": "12655",  # native_client/DEPS: tools_rev
34   "google_toolbox_for_mac_revision": "616",
35   "libaddressinput_revision": "176",
36   "libphonenumber_revision": "621",
37   "libvpx_revision": "247814",
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": "246718",
43   "ffmpeg_hash": "61396529e4d0a9987b5c396e80534da8226ffc2c",
45   "sfntly_revision": "228",
46   "lighttpd_revision": "33737",
47   "skia_revision": "13227",
48   "skia_hash": "e8612d9a8d616c2ed0195421a0675e10b0c2d230",
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": "18895",
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": "5444",
57   "jsoncpp_revision": "248",
58   "nss_revision": "246067",
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": "b39e8cf08c931e8b695482e1fa154574e6259f46",
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@1271",
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@e1590b895ba9289e91271c901dd6ee46db1ed053",
86   "src/third_party/trace-viewer":
87     (Var("googlecode_url") % "trace-viewer") + "/trunk@1091",
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@246118",
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@321",
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@148",
134   "src/tools/gyp":
135     (Var("googlecode_url") % "gyp") + "/trunk@1846",
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@110",
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@976",
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@244803",
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/chrome/browser/resources/pdf/html_office":
294      Var("chromium_git") +
295          "/chromium/html-office-public.git@6451249cec79299a52083373c9a370ef25471023",
297   "src/third_party/libwebm/source":
298     Var("chromium_git") +
299       "/webm/libwebm.git@0f7815b036651e242ec8c2fcfb59fe54f69be1a8",
303 deps_os = {
304   "win": {
305     "src/chrome/tools/test/reference_build/chrome_win":
306       "/trunk/deps/reference_builds/chrome_win@237381",
308     "src/third_party/cygwin":
309       "/trunk/deps/third_party/cygwin@231940",
311     "src/third_party/psyco_win32":
312       "/trunk/deps/third_party/psyco_win32@237949",
314     "src/third_party/bison":
315       "/trunk/deps/third_party/bison@147303",
317     "src/third_party/gperf":
318       "/trunk/deps/third_party/gperf@147304",
320     "src/third_party/perl":
321       "/trunk/deps/third_party/perl@147900",
323     "src/third_party/lighttpd":
324       "/trunk/deps/third_party/lighttpd@" + Var("lighttpd_revision"),
326     # Parses Windows PE/COFF executable format.
327     "src/third_party/pefile":
328       (Var("googlecode_url") % "pefile") + "/trunk@63",
330     # NSS, for SSLClientSocketNSS.
331     "src/third_party/nss":
332       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
334     "src/third_party/swig/win":
335       "/trunk/deps/third_party/swig/win@" + Var("swig_revision"),
337     # GNU binutils assembler for x86-32.
338     "src/third_party/gnu_binutils":
339       (Var("nacl_trunk") + "/deps/third_party/gnu_binutils@" +
340        Var("nacl_tools_revision")),
341     # GNU binutils assembler for x86-64.
342     "src/third_party/mingw-w64/mingw/bin":
343       (Var("nacl_trunk") + "/deps/third_party/mingw-w64/mingw/bin@" +
344        Var("nacl_tools_revision")),
346     # Dependencies used by libjpeg-turbo
347     "src/third_party/yasm/binaries":
348       "/trunk/deps/third_party/yasm/binaries@154708",
350     # Binary level profile guided optimizations. This points to the
351     # latest release binaries for the toolchain.
352     "src/third_party/syzygy/binaries":
353       (Var("googlecode_url") % "sawbuck") + "/trunk/syzygy/binaries@2000",
355     # Binaries for nacl sdk.
356     "src/third_party/nacl_sdk_binaries":
357       "/trunk/deps/third_party/nacl_sdk_binaries@111576",
358   },
359   "ios": {
360     "src/third_party/google_toolbox_for_mac/src":
361       (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@" +
362       Var("google_toolbox_for_mac_revision"),
364     "src/third_party/nss":
365       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
367     # class-dump utility to generate header files for undocumented SDKs
368     "src/testing/iossim/third_party/class-dump":
369       "/trunk/deps/third_party/class-dump@199203",
371     # Code that's not needed due to not building everything
372     "src/build/util/support": None,
373     "src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin": None,
374     "src/chrome/test/data/perf/canvas_bench": None,
375     "src/chrome/test/data/perf/frame_rate/content": None,
376     "src/chrome/test/data/perf/third_party/octane": None,
377     "src/media/cdm/ppapi/api": None,
378     "src/native_client": None,
379     "src/native_client/src/third_party/ppapi": None,
380     "src/third_party/angle": None,
381     "src/third_party/bidichecker": None,
382     "src/third_party/cld_2/src": None,
383     "src/third_party/ffmpeg": None,
384     "src/third_party/hunspell_dictionaries": None,
385     "src/third_party/hunspell": None,
386     "src/third_party/libaddressinput/src/cpp": None,
387     "src/third_party/libaddressinput/src/testdata": None,
388     "src/third_party/libexif/sources": None,
389     "src/third_party/libjpeg_turbo": None,
390     "src/third_party/libsrtp": None,
391     "src/third_party/libvpx": None,
392     "src/third_party/libyuv": None,
393     "src/third_party/mesa/src": None,
394     "src/third_party/opus/src": None,
395     "src/third_party/openmax_dl": None,
396     "src/third_party/ots": None,
397     "src/third_party/pymox/src": None,
398     "src/third_party/safe_browsing/testing": None,
399     "src/third_party/scons-2.0.1": None,
400     "src/third_party/sfntly/cpp/src": None,
401     "src/third_party/smhasher/src": None,
402     "src/third_party/swig/Lib": None,
403     "src/third_party/undoview": None,
404     "src/third_party/usrsctp/usrsctplib": None,
405     "src/third_party/v8-i18n": None,
406     "src/third_party/webdriver/pylib": None,
407     "src/third_party/webgl": None,
408     "src/third_party/webpagereplay": None,
409     "src/third_party/webrtc": None,
410     "src/third_party/yasm/source/patched-yasm": None,
411     "src/tools/page_cycler/acid3": None,
412     "src/v8": None,
413   },
414   "mac": {
415     "src/chrome/tools/test/reference_build/chrome_mac":
416       "/trunk/deps/reference_builds/chrome_mac@237381",
418     "src/third_party/google_toolbox_for_mac/src":
419       (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@" +
420       Var("google_toolbox_for_mac_revision"),
422     "src/third_party/pdfsqueeze":
423       (Var("googlecode_url") % "pdfsqueeze") + "/trunk@5",
425     "src/third_party/lighttpd":
426       "/trunk/deps/third_party/lighttpd@" + Var("lighttpd_revision"),
428     "src/third_party/swig/mac":
429       "/trunk/deps/third_party/swig/mac@" + Var("swig_revision"),
431     # NSS, for SSLClientSocketNSS.
432     "src/third_party/nss":
433       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
435     "src/chrome/installer/mac/third_party/xz/xz":
436       "/trunk/deps/third_party/xz@233311",
437   },
438   "unix": {
439     # Linux, really.
440     "src/chrome/tools/test/reference_build/chrome_linux":
441       "/trunk/deps/reference_builds/chrome_linux64@237381",
443     "src/third_party/xdg-utils":
444       "/trunk/deps/third_party/xdg-utils@203785",
446     "src/third_party/swig/linux":
447       "/trunk/deps/third_party/swig/linux@" + Var("swig_revision"),
449     "src/third_party/lss":
450       ((Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@" +
451        Var("lss_revision")),
453     "src/third_party/openssl":
454       "/trunk/deps/third_party/openssl@" + Var("openssl_revision"),
456     "src/third_party/gold":
457       "/trunk/deps/third_party/gold@228995",
459     "src/third_party/libmtp":
460       "/trunk/deps/third_party/libmtp@206535",
462     # Used on Linux only. CrOS already has a copy.
463     "src/third_party/mtpd/source":
464       Var("chromiumos_git") + "/platform/mtpd.git" +
465       "@e4e4656e9aa710f0617dab8746ab6116c0506ceb",
467     # Used on Linux only. CrOS already has a copy.
468     "src/third_party/cros_dbus_cplusplus/source":
469       Var("chromiumos_git") + "/third_party/dbus-cplusplus.git" +
470       "@e4120532bbf3ca9f743b0be1f539381a54d16867",
472     # For Linux and Chromium OS.
473     "src/third_party/cros_system_api":
474       Var("chromiumos_git") + "/platform/system_api.git" +
475       "@6445c9773efbcbcbc4077c349f846b18c525b3eb",
477     # Note that this is different from Android's freetype repo.
478     "src/third_party/freetype2/src":
479       Var("chromium_git") + "/chromium/src/third_party/freetype2.git" +
480       "@d699c2994ecc178c4ed05ac2086061b2034c2178",
482     # Build tools for targeting ChromeOS.
483     "src/third_party/chromite":
484       Var("chromiumos_git") + "/chromite.git" +
485       "@6637dcd35a8b9f02ba54d2a369118306cee88432",
487     # Dependency of chromite.git.
488     "src/third_party/pyelftools":
489       Var("chromiumos_git") + "/third_party/pyelftools.git" +
490       "@bdc1d380acd88d4bfaf47265008091483b0d614e",
492     "src/third_party/undoview":
493       "/trunk/deps/third_party/undoview@119694",
495     "src/third_party/liblouis/src":
496       Var("chromium_git") +
497       "/external/liblouis.git@3c2daee56250162e5a75830871601d74328d39f5",
499     # Used for embedded builds. CrOS & Linux use the system version.
500     "src/third_party/fontconfig/src":
501       Var("chromium_git") + "/external/fontconfig.git" +
502       "@f16c3118e25546c1b749f9823c51827a60aeb5c1",
503   },
504   "android": {
505     "src/third_party/android_tools":
506       Var("chromium_git") + "/android_tools.git" +
507       "@0582bdc17b4829beb522975441546a4eb99b11b5",
509     "src/third_party/aosp":
510       "/trunk/deps/third_party/aosp@148330",
512     "src/third_party/apache-mime4j":
513       "/trunk/deps/third_party/apache-mime4j@170888",
515     "src/third_party/findbugs":
516       "/trunk/deps/third_party/findbugs@245039",
518     "src/third_party/freetype":
519       Var("chromium_git") + "/chromium/src/third_party/freetype.git" +
520       "@a2b9955b49034a51dfbc8bf9f4e9d312149cecac",
522     "src/third_party/guava/src":
523       Var("chromium_git") + "/external/guava-libraries.git" +
524       "@c523556ab7d0f05afadebd20e7768d4c16af8771",
526     "src/third_party/httpcomponents-client":
527       "/trunk/deps/third_party/httpcomponents-client@170888",
529     "src/third_party/httpcomponents-core":
530       "/trunk/deps/third_party/httpcomponents-core@170888",
532     "src/third_party/jarjar":
533       "/trunk/deps/third_party/jarjar@170888",
535     "src/third_party/jsr-305/src":
536       (Var("googlecode_url") % "jsr-305") + "/trunk@51",
538     "src/third_party/lss":
539       ((Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@" +
540        Var("lss_revision")),
542     "src/third_party/openssl":
543       "/trunk/deps/third_party/openssl@" + Var("openssl_revision"),
545     "src/third_party/eyesfree/src/android/java/src/com/googlecode/eyesfree/braille":
546       (Var("googlecode_url") % "eyes-free") + "/trunk/braille/client/src/com/googlecode/eyesfree/braille@797",
548     # Android shouldn't use this address validation library.
549     "src/third_party/libaddressinput/src/cpp": None,
550     "src/third_party/libaddressinput/src/testdata": None,
551   },
555 include_rules = [
556   # Everybody can use some things.
557   "+base",
558   "+build",
559   "+ipc",
561   # Everybody can use headers generated by tools/generate_library_loader.
562   "+library_loaders",
564   "+testing",
565   "+third_party/icu/source/common/unicode",
566   "+third_party/icu/source/i18n/unicode",
567   "+url",
571 # checkdeps.py shouldn't check include paths for files in these dirs:
572 skip_child_includes = [
573   "breakpad",
574   "delegate_execute",
575   "metro_driver",
576   "native_client_sdk",
577   "o3d",
578   "pdf",
579   "sdch",
580   "skia",
581   "testing",
582   "third_party",
583   "v8",
584   "win8",
588 hooks = [
589   {
590     # This downloads binaries for Native Client's newlib toolchain.
591     # Done in lieu of building the toolchain from scratch as it can take
592     # anywhere from 30 minutes to 4 hours depending on platform to build.
593     "name": "nacltools",
594     "pattern": ".",
595     "action": [
596         "python", "src/build/download_nacl_toolchains.py",
597          "--no-arm-trusted",
598          "--keep",
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 on mac. If nothing changed, or on non-mac platforms, this takes
636     # zero seconds to run. If something changed, it downloads a prebuilt clang,
637     # which takes ~20s, but clang speeds up builds by more than 20s.
638     "name": "clang",
639     "pattern": ".",
640     "action": ["python", "src/tools/clang/scripts/update.py", "--mac-only"],
641   },
642   {
643     # Update the cygwin mount on Windows.
644     "name": "cygwin",
645     "pattern": ".",
646     "action": ["python", "src/build/win/setup_cygwin_mount.py", "--win-only"],
647   },
648   {
649     # Update LASTCHANGE. This is also run by export_tarball.py in
650     # src/tools/export_tarball - please keep them in sync.
651     "name": "lastchange",
652     "pattern": ".",
653     "action": ["python", "src/build/util/lastchange.py",
654                "-o", "src/build/util/LASTCHANGE"],
655   },
656   {
657     # Update LASTCHANGE.blink. This is also run by export_tarball.py in
658     # src/tools/export_tarball - please keep them in sync.
659     "name": "lastchange",
660     "pattern": ".",
661     "action": ["python", "src/build/util/lastchange.py",
662                "-s", "src/third_party/WebKit",
663                "-o", "src/build/util/LASTCHANGE.blink"],
664   },
665   # Pull GN binaries. This needs to be before running GYP below.
666   {
667     "name": "gn_win",
668     "pattern": "src/tools/gn/bin/win/gn.exe.sha1",
669     "action": [ "download_from_google_storage",
670                 "--no_resume",
671                 "--platform=win32",
672                 "--no_auth",
673                 "--bucket", "chromium-gn",
674                 "-s", "src/tools/gn/bin/win/gn.exe.sha1",
675     ],
676   },
677   {
678     "name": "gn_mac",
679     "pattern": "src/tools/gn/bin/mac/gn.sha1",
680     "action": [ "download_from_google_storage",
681                 "--no_resume",
682                 "--platform=darwin",
683                 "--no_auth",
684                 "--bucket", "chromium-gn",
685                 "-s", "src/tools/gn/bin/mac/gn.sha1",
686     ],
687   },
688   {
689     "name": "gn_linux",
690     "pattern": "src/tools/gn/bin/linux/gn.sha1",
691     "action": [ "download_from_google_storage",
692                 "--no_resume",
693                 "--platform=linux*",
694                 "--no_auth",
695                 "--bucket", "chromium-gn",
696                 "-s", "src/tools/gn/bin/linux/gn.sha1",
697     ],
698   },
699   {
700     "name": "gn_linux32",
701     "pattern": "src/tools/gn/bin/linux/gn32.sha1",
702     "action": [ "download_from_google_storage",
703                 "--no_resume",
704                 "--platform=linux*",
705                 "--no_auth",
706                 "--bucket", "chromium-gn",
707                 "-s", "src/tools/gn/bin/linux/gn32.sha1",
708     ],
709   },
710   # Pull clang-format binaries using checked-in hashes.
711   {
712     "name": "clang_format_win",
713     "pattern": "src/third_party/clang_format/bin/win/clang-format.exe.sha1",
714     "action": [ "download_from_google_storage",
715                 "--no_resume",
716                 "--platform=win32",
717                 "--no_auth",
718                 "--bucket", "chromium-clang-format",
719                 "-s", "src/third_party/clang_format/bin/win/clang-format.exe.sha1",
720     ],
721   },
722   {
723     "name": "clang_format_mac",
724     "pattern": "src/third_party/clang_format/bin/mac/clang-format.sha1",
725     "action": [ "download_from_google_storage",
726                 "--no_resume",
727                 "--platform=darwin",
728                 "--no_auth",
729                 "--bucket", "chromium-clang-format",
730                 "-s", "src/third_party/clang_format/bin/mac/clang-format.sha1",
731     ],
732   },
733   {
734     "name": "clang_format_linux",
735     "pattern": "src/third_party/clang_format/bin/linux/clang-format.sha1",
736     "action": [ "download_from_google_storage",
737                 "--no_resume",
738                 "--platform=linux*",
739                 "--no_auth",
740                 "--bucket", "chromium-clang-format",
741                 "-s", "src/third_party/clang_format/bin/linux/clang-format.sha1",
742     ],
743   },
744   # Pull eu-strip binaries using checked-in hashes.
745   {
746     "name": "eu-strip",
747     "pattern": "src/build/linux/bin/eu-strip.sha1",
748     "action": [ "download_from_google_storage",
749                 "--no_resume",
750                 "--platform=linux*",
751                 "--no_auth",
752                 "--bucket", "chromium-eu-strip",
753                 "-s", "src/build/linux/bin/eu-strip.sha1",
754     ],
755   },
756   {
757     # A change to a .gyp, .gypi, or to GYP itself should run the generator.
758     "name": "gyp",
759     "pattern": ".",
760     "action": ["python", "src/build/gyp_chromium"],
761   },
762   {
763     # Check for landmines (reasons to clobber the build).
764     "name": "landmines",
765     "pattern": ".",
766     "action": ["python", "src/build/landmines.py"],
767   },