[Android] Convert to DeviceUtils versions of IsOnline, HasRoot, and EnableRoot.
[chromium-blink-merge.git] / DEPS
blobdd9208d475eeedd48ea8ac81fa696e11644d474d
1 # This file is automatically processed to create .DEPS.git which is the file
2 # that gclient uses under git.
4 # See http://code.google.com/p/chromium/wiki/UsingGit
6 # To test manually, run:
7 #   python tools/deps2git/deps2git.py -o .DEPS.git -w <gclientdir>
8 # where <gcliendir> is the absolute path to the directory containing the
9 # .gclient file (the parent of "src").
11 # Then commit .DEPS.git locally (gclient doesn't like dirty trees) and run
12 #   gclient sync
13 # Verify the thing happened you wanted. Then revert your .DEPS.git change
14 # DO NOT CHECK IN CHANGES TO .DEPS.git upstream. It will be automatically
15 # updated by a bot when you modify this one.
17 # When adding a new dependency, please update the top-level .gitignore file
18 # to list the dependency's destination directory.
20 vars = {
21   # Use this googlecode_url variable only if there is an internal mirror for it.
22   # If you do not know, use the full path while defining your new deps entry.
23   "googlecode_url": "http://%s.googlecode.com/svn",
24   "sourceforge_url": "http://svn.code.sf.net/p/%(repo)s/code",
25   "llvm_url": "http://src.chromium.org/llvm-project",
26   "llvm_git": "https://llvm.googlesource.com",
27   "libcxx_revision": "206024",
28   "libcxxabi_revision": "206024",
29   "webkit_trunk": "http://src.chromium.org/blink/trunk",
30   "nacl_trunk": "http://src.chromium.org/native_client/trunk",
31   "webkit_revision": "174137",
32   "chromium_git": "https://chromium.googlesource.com",
33   "chromiumos_git": "https://chromium.googlesource.com/chromiumos",
34   "skia_git": "https://skia.googlesource.com",
35   "swig_revision": "230490",
36   "nacl_revision": "13181",
37   # After changing nacl_revision, run 'glient sync' and check native_client/DEPS
38   # to update other nacl_*_revision's.
39   "nacl_tools_revision": "13077",  # native_client/DEPS: tools_rev
40   "google_toolbox_for_mac_revision": "662",
41   "libaddressinput_revision": "176",
42   "libphonenumber_revision": "621",
43   "libvpx_revision": "269083",
44   "lss_revision": "26",
45   "sfntly_revision": "228",
46   "lighttpd_revision": "33737",
47   "skia_revision": "14765",
48   "skia_hash": "24f6e29fc133f1082c73e2a96f30bee92e3123aa",
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_branch": "trunk",
53   "v8_revision": "21318",
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": "6174",
58   "jsoncpp_revision": "248",
59   "nss_revision": "267366",
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": "ae8085b09e6162b4ec869e430d7d09c16b32b433",
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": "269063",
68   # Three lines of non-changing comments so that
69   # the commit queue can handle CLs rolling ANGLE
70   # and whatever else without interference from each other.
71   "angle_revision": "28bcf4ffeb49322fa019e2778c1fdd20f61d9ea6",
72   # Three lines of non-changing comments so that
73   # the commit queue can handle CLs rolling build tools
74   # and whatever else without interference from each other.
75   "buildtools_revision": "8349035e86305fc9e4fd871610821336120a4bad",
78 deps = {
79   "src/breakpad/src":
80     (Var("googlecode_url") % "google-breakpad") + "/trunk/src@1331",
82   "src/buildtools":
83     Var("chromium_git") + "/chromium/buildtools.git@" +
84      Var("buildtools_revision"),
86   "src/sdch/open-vcdiff":
87     (Var("googlecode_url") % "open-vcdiff") + "/trunk@42",
89   "src/testing/gtest":
90     (Var("googlecode_url") % "googletest") + "/trunk@643",
92   "src/testing/gmock":
93     (Var("googlecode_url") % "googlemock") + "/trunk@410",
95   "src/third_party/angle":
96     Var("chromium_git") + "/angle/angle.git@" + Var("angle_revision"),
98   "src/third_party/trace-viewer":
99     (Var("googlecode_url") % "trace-viewer") + "/trunk@1267",
101   "src/third_party/WebKit":
102     Var("webkit_trunk") + "@" + Var("webkit_revision"),
104   "src/third_party/WebKit/LayoutTests/w3c/web-platform-tests":
105     Var("chromium_git") +
106     "/external/w3c/web-platform-tests.git@6bed4516fe8522d65512c76ef02e4f0ae8234395",
108   "src/third_party/WebKit/LayoutTests/w3c/csswg-test":
109     Var("chromium_git") +
110     "/external/w3c/csswg-test.git@bacbb4a8dca702cd86646761fde96793db13d4f1",
112   "src/third_party/icu":
113     "/trunk/deps/third_party/icu46@262949",
115   "src/third_party/libexif/sources":
116     "/trunk/deps/third_party/libexif/sources@265008",
118   "src/third_party/hunspell":
119    "/trunk/deps/third_party/hunspell@256272",
121   "src/third_party/hunspell_dictionaries":
122     "/trunk/deps/third_party/hunspell_dictionaries@255132",
124   "src/third_party/safe_browsing/testing":
125     (Var("googlecode_url") % "google-safe-browsing") + "/trunk/testing@112",
127   "src/third_party/cacheinvalidation/src":
128     (Var("googlecode_url") % "google-cache-invalidation-api") +
129     "/trunk/src@331",
131   "src/third_party/leveldatabase/src":
132     (Var("googlecode_url") % "leveldb") + "/trunk@80",
134   "src/third_party/libc++/trunk":
135     Var("llvm_url") + "/libcxx/trunk@" + Var("libcxx_revision"),
137   "src/third_party/libc++abi/trunk":
138     Var("llvm_url") + "/libcxxabi/trunk@" + Var("libcxxabi_revision"),
140   "src/third_party/snappy/src":
141     (Var("googlecode_url") % "snappy") + "/trunk@80",
143   "src/tools/grit":
144     (Var("googlecode_url") % "grit-i18n") + "/trunk@167",
146   "src/tools/gyp":
147     (Var("googlecode_url") % "gyp") + "/trunk@1919",
149   "src/tools/swarming_client":
150     Var("chromium_git") + "/external/swarming.client.git@" +
151         Var("swarming_revision"),
153   "src/v8":
154     (Var("googlecode_url") % "v8") + "/" + Var("v8_branch") + "@" +
155     Var("v8_revision"),
157   "src/native_client":
158     Var("nacl_trunk") + "/src/native_client@" + Var("nacl_revision"),
160   "src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin":
161     Var("nacl_trunk") + "/src/native_client/tests/prebuilt@" +
162     Var("nacl_revision"),
164   "src/third_party/sfntly/cpp/src":
165     (Var("googlecode_url") % "sfntly") + "/trunk/cpp/src@" +
166     Var("sfntly_revision"),
168   "src/third_party/skia/src":
169     (Var("googlecode_url") % "skia") + "/trunk/src@" + Var("skia_revision"),
171   "src/third_party/skia/gyp":
172     (Var("googlecode_url") % "skia") + "/trunk/gyp@" + Var("skia_revision"),
174   "src/third_party/skia/include":
175     (Var("googlecode_url") % "skia") + "/trunk/include@" + Var("skia_revision"),
177   "src/third_party/ots":
178     (Var("googlecode_url") % "ots") + "/trunk@113",
180   "src/third_party/brotli/src":
181     Var("chromium_git") +
182     "/external/font-compression-reference.git@0829e37293abc2523a1d2b0f4d68ff7b5fcd8e01",
184   "src/tools/page_cycler/acid3":
185     "/trunk/deps/page_cycler/acid3@171600",
187   "src/chrome/test/data/perf/canvas_bench":
188     "/trunk/deps/canvas_bench@122605",
190   "src/chrome/test/data/perf/frame_rate/content":
191     "/trunk/deps/frame_rate/content@93671",
193   "src/chrome/test/data/perf/third_party/octane":
194     (Var("googlecode_url") % "octane-benchmark") + "/trunk@19",
196   "src/third_party/bidichecker":
197     (Var("googlecode_url") % "bidichecker") + "/trunk/lib@4",
199   "src/third_party/webgl/src":
200     Var("chromium_git") +
201     "/external/khronosgroup/webgl.git@0475a2763fc30cbed22740f8a9ef53a82f03b4ac",
203   "src/third_party/swig/Lib":
204     "/trunk/deps/third_party/swig/Lib@" + Var("swig_revision"),
206   # Make sure you update the two functional.DEPS and webdriver.DEPS too.
207   "src/third_party/webdriver/pylib":
208     (Var("googlecode_url") % "selenium") + "/trunk/py@18337",
210   "src/third_party/libvpx":
211     "/trunk/deps/third_party/libvpx@" +
212     Var("libvpx_revision"),
214   "src/third_party/ffmpeg":
215     Var("chromium_git") +
216     "/chromium/third_party/ffmpeg.git@d3a060bd1d6a4f43e9bc7d07f193b0513df4f244",
218   "src/third_party/libjingle/source/talk":
219     (Var("googlecode_url") % "webrtc") + "/trunk/talk@" +
220     Var("webrtc_revision"),
222   "src/third_party/usrsctp/usrsctplib":
223     (Var("googlecode_url") % "sctp-refimpl") +
224     "/trunk/KERN/usrsctp/usrsctplib@8838",
226   "src/third_party/libsrtp":
227     "/trunk/deps/third_party/libsrtp@261337",
229   "src/third_party/speex":
230     "/trunk/deps/third_party/speex@198168",
232   "src/third_party/yasm/source/patched-yasm":
233     "/trunk/deps/third_party/yasm/patched-yasm@167605",
235   "src/third_party/libjpeg_turbo":
236     "/trunk/deps/third_party/libjpeg_turbo@263594",
238   "src/third_party/flac":
239     "/trunk/deps/third_party/flac@222897",
241   "src/third_party/pyftpdlib/src":
242     (Var("googlecode_url") % "pyftpdlib") + "/trunk@977",
244   "src/third_party/scons-2.0.1":
245     Var("nacl_trunk") + "/src/third_party/scons-2.0.1@" +
246         Var("nacl_tools_revision"),
248   "src/third_party/webrtc":
249     (Var("googlecode_url") % "webrtc") + "/trunk/webrtc@" + Var("webrtc_revision"),
251   "src/third_party/openmax_dl":
252     (Var("googlecode_url") % "webrtc") + "/deps/third_party/openmax@6024",
254   "src/third_party/jsoncpp/source/include":
255     (Var("sourceforge_url") % {"repo": "jsoncpp"}) +
256         "/trunk/jsoncpp/include@" + Var("jsoncpp_revision"),
258   "src/third_party/jsoncpp/source/src/lib_json":
259     (Var("sourceforge_url") % {"repo": "jsoncpp"}) +
260         "/trunk/jsoncpp/src/lib_json@" + Var("jsoncpp_revision"),
262   "src/third_party/libyuv":
263     (Var("googlecode_url") % "libyuv") + "/trunk@1000",
265   "src/third_party/smhasher/src":
266     (Var("googlecode_url") % "smhasher") + "/trunk@152",
268   "src/third_party/libaddressinput/src/cpp":
269     (Var("googlecode_url") % "libaddressinput") + "/trunk/cpp@" +
270         Var("libaddressinput_revision"),
271   "src/third_party/libaddressinput/src/testdata":
272     (Var("googlecode_url") % "libaddressinput") + "/trunk/testdata@" +
273         Var("libaddressinput_revision"),
275   "src/third_party/libphonenumber/src/phonenumbers":
276     (Var("googlecode_url") % "libphonenumber") +
277         "/trunk/cpp/src/phonenumbers@" + Var("libphonenumber_revision"),
278   "src/third_party/libphonenumber/src/test":
279     (Var("googlecode_url") % "libphonenumber") + "/trunk/cpp/test@" +
280         Var("libphonenumber_revision"),
281   "src/third_party/libphonenumber/src/resources":
282     (Var("googlecode_url") % "libphonenumber") + "/trunk/resources@" +
283         Var("libphonenumber_revision"),
285   "src/tools/deps2git":
286     "/trunk/tools/deps2git@270777",
288   "src/third_party/clang_format/script":
289     Var("llvm_url") + "/cfe/trunk/tools/clang-format@206068",
291   "src/third_party/webpagereplay":
292     (Var("googlecode_url") % "web-page-replay") + "/trunk@544",
294   "src/third_party/pywebsocket/src":
295     (Var("googlecode_url") % "pywebsocket") + "/trunk/src@790",
297   "src/third_party/opus/src":
298     "/trunk/deps/third_party/opus@256783",
300   "src/media/cdm/ppapi/api":
301     "/trunk/deps/cdm@262570",
303   "src/third_party/mesa/src":
304     "/trunk/deps/third_party/mesa@265279",
306   "src/third_party/cld_2/src":
307     (Var("googlecode_url") % "cld2") + "/trunk@161",
309   "src/chrome/browser/resources/pdf/html_office":
310      Var("chromium_git") +
311          "/chromium/html-office-public.git@eeff97614f65e0578529490d44d412032c3d7359",
313   "src/third_party/libwebm/source":
314     Var("chromium_git") +
315       "/webm/libwebm.git@fb6b6e64444c637f27d103fd113e0c7bf4f107dd",
317   "src/third_party/openssl":
318     "/trunk/deps/third_party/openssl@" + Var("openssl_revision"),
322 deps_os = {
323   "win": {
324     "src/chrome/tools/test/reference_build/chrome_win":
325       "/trunk/deps/reference_builds/chrome_win@254637",
327     "src/third_party/cygwin":
328       "/trunk/deps/third_party/cygwin@231940",
330     "src/third_party/psyco_win32":
331       "/trunk/deps/third_party/psyco_win32@237949",
333     "src/third_party/bison":
334       "/trunk/deps/third_party/bison@147303",
336     "src/third_party/gperf":
337       "/trunk/deps/third_party/gperf@147304",
339     "src/third_party/perl":
340       "/trunk/deps/third_party/perl@147900",
342     "src/third_party/lighttpd":
343       "/trunk/deps/third_party/lighttpd@" + Var("lighttpd_revision"),
345     # Parses Windows PE/COFF executable format.
346     "src/third_party/pefile":
347       (Var("googlecode_url") % "pefile") + "/trunk@63",
349     # NSS, for SSLClientSocketNSS.
350     "src/third_party/nss":
351       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
353     "src/third_party/swig/win":
354       "/trunk/deps/third_party/swig/win@" + Var("swig_revision"),
356     # GNU binutils assembler for x86-32.
357     "src/third_party/gnu_binutils":
358       (Var("nacl_trunk") + "/deps/third_party/gnu_binutils@" +
359        Var("nacl_tools_revision")),
360     # GNU binutils assembler for x86-64.
361     "src/third_party/mingw-w64/mingw/bin":
362       (Var("nacl_trunk") + "/deps/third_party/mingw-w64/mingw/bin@" +
363        Var("nacl_tools_revision")),
365     # Dependencies used by libjpeg-turbo
366     "src/third_party/yasm/binaries":
367       "/trunk/deps/third_party/yasm/binaries@154708",
369     # Binary level profile guided optimizations. This points to the
370     # latest release binaries for the toolchain.
371     "src/third_party/syzygy/binaries":
372       (Var("googlecode_url") % "sawbuck") + "/trunk/syzygy/binaries@2154",
374     # Binaries for nacl sdk.
375     "src/third_party/nacl_sdk_binaries":
376       "/trunk/deps/third_party/nacl_sdk_binaries@111576",
377   },
378   "ios": {
379     "src/third_party/google_toolbox_for_mac/src":
380       (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@" +
381       Var("google_toolbox_for_mac_revision"),
383     "src/third_party/nss":
384       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
386     # class-dump utility to generate header files for undocumented SDKs
387     "src/testing/iossim/third_party/class-dump":
388       "/trunk/deps/third_party/class-dump@199203",
390     # Code that's not needed due to not building everything
391     "src/build/util/support": None,
392     "src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin": None,
393     "src/chrome/test/data/perf/canvas_bench": None,
394     "src/chrome/test/data/perf/frame_rate/content": None,
395     "src/chrome/test/data/perf/third_party/octane": None,
396     "src/media/cdm/ppapi/api": None,
397     "src/native_client": None,
398     "src/native_client/src/third_party/ppapi": None,
399     "src/third_party/angle": None,
400     "src/third_party/bidichecker": None,
401     "src/third_party/brotli/src": None,
402     "src/third_party/cld_2/src": None,
403     "src/third_party/ffmpeg": None,
404     "src/third_party/hunspell_dictionaries": None,
405     "src/third_party/hunspell": None,
406     "src/third_party/libaddressinput/src/cpp": None,
407     "src/third_party/libaddressinput/src/testdata": None,
408     "src/third_party/libc++/trunk": None,
409     "src/third_party/libc++abi/trunk": None,
410     "src/third_party/libexif/sources": None,
411     "src/third_party/libjpeg_turbo": None,
412     "src/third_party/libsrtp": None,
413     "src/third_party/libvpx": None,
414     "src/third_party/libyuv": None,
415     "src/third_party/mesa/src": None,
416     "src/third_party/opus/src": None,
417     "src/third_party/openmax_dl": None,
418     "src/third_party/ots": None,
419     "src/third_party/pymox/src": None,
420     "src/third_party/safe_browsing/testing": None,
421     "src/third_party/scons-2.0.1": None,
422     "src/third_party/sfntly/cpp/src": None,
423     "src/third_party/speex": None,
424     "src/third_party/swig/Lib": None,
425     "src/third_party/usrsctp/usrsctplib": None,
426     "src/third_party/v8-i18n": None,
427     "src/third_party/webdriver/pylib": None,
428     "src/third_party/webgl": None,
429     "src/third_party/webpagereplay": None,
430     "src/third_party/webrtc": None,
431     "src/third_party/WebKit/LayoutTests/w3c/web-platform-tests": None,
432     "src/third_party/WebKit/LayoutTests/w3c/csswg-test": None,
433     "src/third_party/yasm/source/patched-yasm": None,
434     "src/tools/page_cycler/acid3": None,
435     "src/v8": None,
436   },
437   "mac": {
438     "src/chrome/tools/test/reference_build/chrome_mac":
439       "/trunk/deps/reference_builds/chrome_mac@255182",
441     "src/third_party/google_toolbox_for_mac/src":
442       (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@" +
443       Var("google_toolbox_for_mac_revision"),
445     "src/third_party/pdfsqueeze":
446       (Var("googlecode_url") % "pdfsqueeze") + "/trunk@5",
448     "src/third_party/lighttpd":
449       "/trunk/deps/third_party/lighttpd@" + Var("lighttpd_revision"),
451     "src/third_party/swig/mac":
452       "/trunk/deps/third_party/swig/mac@" + Var("swig_revision"),
454     # NSS, for SSLClientSocketNSS.
455     "src/third_party/nss":
456       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
458     "src/chrome/installer/mac/third_party/xz/xz":
459       "/trunk/deps/third_party/xz@233311",
460   },
461   "unix": {
462     # Linux, really.
463     "src/chrome/tools/test/reference_build/chrome_linux":
464       "/trunk/deps/reference_builds/chrome_linux64@254637",
466     "src/third_party/xdg-utils":
467       "/trunk/deps/third_party/xdg-utils@203785",
469     "src/third_party/swig/linux":
470       "/trunk/deps/third_party/swig/linux@" + Var("swig_revision"),
472     "src/third_party/lss":
473       ((Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@" +
474        Var("lss_revision")),
476     # For Linux and Chromium OS.
477     "src/third_party/cros_system_api":
478       Var("chromiumos_git") + "/platform/system_api.git" +
479       "@7837af4f429eb20ca62f32a8dc6019b5b8b9078e",
481     # Note that this is different from Android's freetype repo.
482     "src/third_party/freetype2/src":
483       Var("chromium_git") + "/chromium/src/third_party/freetype2.git" +
484       "@d699c2994ecc178c4ed05ac2086061b2034c2178",
486     # Build tools for targeting ChromeOS.
487     "src/third_party/chromite":
488       Var("chromiumos_git") + "/chromite.git" +
489       "@b310410e13e34af7d3f3f15be98688b016f2222f",
491     # Dependency of chromite.git.
492     "src/third_party/pyelftools":
493       Var("chromiumos_git") + "/third_party/pyelftools.git" +
494       "@bdc1d380acd88d4bfaf47265008091483b0d614e",
496     "src/third_party/undoview":
497       "/trunk/deps/third_party/undoview@119694",
499     "src/third_party/liblouis/src":
500       Var("chromium_git") +
501       "/external/liblouis.git@3c2daee56250162e5a75830871601d74328d39f5",
503     # Used for embedded builds. CrOS & Linux use the system version.
504     "src/third_party/fontconfig/src":
505       Var("chromium_git") + "/external/fontconfig.git" +
506       "@f16c3118e25546c1b749f9823c51827a60aeb5c1",
507   },
508   "android": {
509     "src/third_party/android_tools":
510       Var("chromium_git") + "/android_tools.git" +
511       "@7de460f062350105c3eb284cdc6948ff50e1f6e1",
513     "src/third_party/aosp":
514       "/trunk/deps/third_party/aosp@148330",
516     "src/third_party/apache-mime4j":
517       "/trunk/deps/third_party/apache-mime4j@170888",
519     "src/third_party/findbugs":
520       "/trunk/deps/third_party/findbugs@245039",
522     "src/third_party/freetype":
523       Var("chromium_git") + "/chromium/src/third_party/freetype.git" +
524       "@a2b9955b49034a51dfbc8bf9f4e9d312149cecac",
526     "src/third_party/guava/src":
527       Var("chromium_git") + "/external/guava-libraries.git" +
528       "@c523556ab7d0f05afadebd20e7768d4c16af8771",
530     "src/third_party/httpcomponents-client":
531       "/trunk/deps/third_party/httpcomponents-client@170888",
533     "src/third_party/httpcomponents-core":
534       "/trunk/deps/third_party/httpcomponents-core@170888",
536     "src/third_party/jarjar":
537       "/trunk/deps/third_party/jarjar@170888",
539     "src/third_party/jsr-305/src":
540       (Var("googlecode_url") % "jsr-305") + "/trunk@51",
542     "src/third_party/lss":
543       ((Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@" +
544        Var("lss_revision")),
546     "src/third_party/eyesfree/src/android/java/src/com/googlecode/eyesfree/braille":
547       (Var("googlecode_url") % "eyes-free") + "/trunk/braille/client/src/com/googlecode/eyesfree/braille@797",
549     # Android shouldn't use this address validation library.
550     "src/third_party/libaddressinput/src/cpp": None,
551     "src/third_party/libaddressinput/src/testdata": None,
552   },
556 include_rules = [
557   # Everybody can use some things.
558   "+base",
559   "+build",
560   "+ipc",
562   # Everybody can use headers generated by tools/generate_library_loader.
563   "+library_loaders",
565   "+testing",
566   "+third_party/icu/source/common/unicode",
567   "+third_party/icu/source/i18n/unicode",
568   "+url",
572 # checkdeps.py shouldn't check include paths for files in these dirs:
573 skip_child_includes = [
574   "breakpad",
575   "delegate_execute",
576   "metro_driver",
577   "native_client_sdk",
578   "o3d",
579   "pdf",
580   "sdch",
581   "skia",
582   "testing",
583   "third_party",
584   "v8",
585   "win8",
589 hooks = [
590   {
591     # This downloads binaries for Native Client's newlib toolchain.
592     # Done in lieu of building the toolchain from scratch as it can take
593     # anywhere from 30 minutes to 4 hours depending on platform to build.
594     "name": "nacltools",
595     "pattern": ".",
596     "action": [
597         "python", "src/build/download_nacl_toolchains.py",
598         "--exclude", "arm_trusted",
599     ],
600   },
601   {
602     # Downloads an ARM sysroot image to src/arm-sysroot. This image updates
603     # at about the same rate that the chrome build deps change.
604     # This script is a no-op except for linux users who have
605     # target_arch=arm in their GYP_DEFINES.
606     "name": "sysroot",
607     "pattern": ".",
608     "action": ["python", "src/build/linux/install-arm-sysroot.py",
609                "--linux-only"],
610   },
611   {
612     # Downloads the Debian Wheezy sysroot to chrome/installer/linux if needed.
613     # This sysroot updates at about the same rate that the chrome build deps
614     # change. This script is a no-op except for linux users who are doing
615     # official chrome builds.
616     "name": "sysroot",
617     "pattern": ".",
618     "action": [
619         "python",
620         "src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py",
621         "--linux-only",
622         "--arch=amd64"],
623   },
624   {
625     # Same as above, but for 32-bit Linux.
626     "name": "sysroot",
627     "pattern": ".",
628     "action": [
629         "python",
630         "src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py",
631         "--linux-only",
632         "--arch=i386"],
633   },
634   {
635     # Pull clang if on Mac or clang is requested via GYP_DEFINES.
636     "name": "clang",
637     "pattern": ".",
638     "action": ["python", "src/tools/clang/scripts/update.py", "--if-needed"],
639   },
640   {
641     # Update the Windows toolchain if necessary.
642     "name": "win_toolchain",
643     "pattern": ".",
644     "action": ["python", "src/build/vs_toolchain.py", "update"],
645   },
646   {
647     # Update LASTCHANGE. This is also run by export_tarball.py in
648     # src/tools/export_tarball - please keep them in sync.
649     "name": "lastchange",
650     "pattern": ".",
651     "action": ["python", "src/build/util/lastchange.py",
652                "-o", "src/build/util/LASTCHANGE"],
653   },
654   {
655     # Update LASTCHANGE.blink. This is also run by export_tarball.py in
656     # src/tools/export_tarball - please keep them in sync.
657     "name": "lastchange",
658     "pattern": ".",
659     "action": ["python", "src/build/util/lastchange.py",
660                "-s", "src/third_party/WebKit",
661                "-o", "src/build/util/LASTCHANGE.blink"],
662   },
663   # Pull GN binaries. This needs to be before running GYP below.
664   {
665     "name": "gn_win",
666     "pattern": ".",
667     "action": [ "download_from_google_storage",
668                 "--no_resume",
669                 "--platform=win32",
670                 "--no_auth",
671                 "--bucket", "chromium-gn",
672                 "-s", "src/tools/gn/bin/win/gn.exe.sha1",
673     ],
674   },
675   {
676     "name": "gn_mac",
677     "pattern": ".",
678     "action": [ "download_from_google_storage",
679                 "--no_resume",
680                 "--platform=darwin",
681                 "--no_auth",
682                 "--bucket", "chromium-gn",
683                 "-s", "src/tools/gn/bin/mac/gn.sha1",
684     ],
685   },
686   {
687     "name": "gn_linux",
688     "pattern": ".",
689     "action": [ "download_from_google_storage",
690                 "--no_resume",
691                 "--platform=linux*",
692                 "--no_auth",
693                 "--bucket", "chromium-gn",
694                 "-s", "src/tools/gn/bin/linux/gn.sha1",
695     ],
696   },
697   {
698     "name": "gn_linux32",
699     "pattern": ".",
700     "action": [ "download_from_google_storage",
701                 "--no_resume",
702                 "--platform=linux*",
703                 "--no_auth",
704                 "--bucket", "chromium-gn",
705                 "-s", "src/tools/gn/bin/linux/gn32.sha1",
706     ],
707   },
708   # Pull clang-format binaries using checked-in hashes.
709   {
710     "name": "clang_format_win",
711     "pattern": ".",
712     "action": [ "download_from_google_storage",
713                 "--no_resume",
714                 "--platform=win32",
715                 "--no_auth",
716                 "--bucket", "chromium-clang-format",
717                 "-s", "src/third_party/clang_format/bin/win/clang-format.exe.sha1",
718     ],
719   },
720   {
721     "name": "clang_format_mac",
722     "pattern": ".",
723     "action": [ "download_from_google_storage",
724                 "--no_resume",
725                 "--platform=darwin",
726                 "--no_auth",
727                 "--bucket", "chromium-clang-format",
728                 "-s", "src/third_party/clang_format/bin/mac/clang-format.sha1",
729     ],
730   },
731   {
732     "name": "clang_format_linux",
733     "pattern": ".",
734     "action": [ "download_from_google_storage",
735                 "--no_resume",
736                 "--platform=linux*",
737                 "--no_auth",
738                 "--bucket", "chromium-clang-format",
739                 "-s", "src/third_party/clang_format/bin/linux/clang-format.sha1",
740     ],
741   },
742   # Pull binutils for linux, enabled debug fission for faster linking /
743   # debugging when used with clang on Ubuntu Precise.
744   # https://code.google.com/p/chromium/issues/detail?id=352046
745   {
746     "name": "binutils",
747     "pattern": "src/third_party/binutils",
748     "action": [
749         "python",
750         "src/third_party/binutils/download.py",
751     ],
752   },
753   # Pull eu-strip binaries using checked-in hashes.
754   {
755     "name": "eu-strip",
756     "pattern": ".",
757     "action": [ "download_from_google_storage",
758                 "--no_resume",
759                 "--platform=linux*",
760                 "--no_auth",
761                 "--bucket", "chromium-eu-strip",
762                 "-s", "src/build/linux/bin/eu-strip.sha1",
763     ],
764   },
765   {
766     # A change to a .gyp, .gypi, or to GYP itself should run the generator.
767     "name": "gyp",
768     "pattern": ".",
769     "action": ["python", "src/build/gyp_chromium"],
770   },