Revert 251397 "[WebsiteSettings] Fix bug in permission bubble ma..."
[chromium-blink-merge.git] / DEPS
blob1f97c8db4734cc1c7f4c5731ded02152b480d1e0
1 # This file is automatically processed to create .DEPS.git which is the file
2 # that gclient uses under git.
4 # See http://code.google.com/p/chromium/wiki/UsingGit
6 # To test manually, run:
7 #   python tools/deps2git/deps2git.py -o .DEPS.git
8 #   gclient runhooks
9 # DO NOT CHECK IN CHANGES TO .DEPS.git. It will be automatically updated by
10 # a bot when you modify this one.
12 # When adding a new dependency, please update the top-level .gitignore file
13 # to list the dependency's destination directory.
15 vars = {
16   # Use this googlecode_url variable only if there is an internal mirror for it.
17   # If you do not know, use the full path while defining your new deps entry.
18   "googlecode_url": "http://%s.googlecode.com/svn",
19   "sourceforge_url": "http://svn.code.sf.net/p/%(repo)s/code",
20   "llvm_url": "http://src.chromium.org/llvm-project",
21   "llvm_git": "https://llvm.googlesource.com",
22   "libcxx_revision": "8f48c23568a122de6088455700e9d197b79bd8f8",
23   "libcxxabi_revision": "753a30dd68ae008948d48f16bc942d5963fe65a1",
24   "webkit_trunk": "http://src.chromium.org/blink/trunk",
25   "nacl_trunk": "http://src.chromium.org/native_client/trunk",
26   "webkit_revision": "167110",
27   "chromium_git": "https://chromium.googlesource.com",
28   "chromiumos_git": "https://chromium.googlesource.com/chromiumos",
29   "skia_git": "https://skia.googlesource.com",
30   "swig_revision": "230490",
31   "nacl_revision": "12757",
32   # After changing nacl_revision, run 'glient sync' and check native_client/DEPS
33   # to update other nacl_*_revision's.
34   "nacl_tools_revision": "12655",  # native_client/DEPS: tools_rev
35   "google_toolbox_for_mac_revision": "616",
36   "libaddressinput_revision": "176",
37   "libphonenumber_revision": "621",
38   "libvpx_revision": "248011",
39   "lss_revision": "24",
41   # These two FFmpeg variables must be updated together.  One is used for SVN
42   # checkouts and the other for Git checkouts.
43   "ffmpeg_revision": "249179",
44   "ffmpeg_hash": "4ae5e54f30f949e5485d70fa0eae85a0e75cb46c",
46   "sfntly_revision": "228",
47   "lighttpd_revision": "33737",
48   "skia_revision": "13441",
49   "skia_hash": "a7692a9ac6cb8a0bbe6bbdfc83f86014a7dc265e",
50   # Three lines of non-changing comments so that
51   # the commit queue can handle CLs rolling Skia
52   # and V8 without interference from each other.
53   "v8_revision": "19372",
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": "5523",
58   #"webrtc_revision": "5521",
59   "jsoncpp_revision": "248",
60   "nss_revision": "246067",
61   # Three lines of non-changing comments so that
62   # the commit queue can handle CLs rolling swarming_client
63   # and whatever else without interference from each other.
64   "swarming_revision": "de4e7cfa2b4417021f34c2d2e573c2a5d6e1d317",
65   # Three lines of non-changing comments so that
66   # the commit queue can handle CLs rolling openssl
67   # and whatever else without interference from each other.
68   "openssl_revision": "250522",
71 deps = {
72   "src/breakpad/src":
73     (Var("googlecode_url") % "google-breakpad") + "/trunk/src@1271",
75   "src/sdch/open-vcdiff":
76     (Var("googlecode_url") % "open-vcdiff") + "/trunk@42",
78   "src/testing/gtest":
79     (Var("googlecode_url") % "googletest") + "/trunk@643",
81   "src/testing/gmock":
82     (Var("googlecode_url") % "googlemock") + "/trunk@410",
84   "src/third_party/angle":
85     Var("chromium_git") +
86     "/angle/angle.git@a25382b9b37ddc50d19427b88ee2ad770d7f9f1d",
88   "src/third_party/trace-viewer":
89     (Var("googlecode_url") % "trace-viewer") + "/trunk@1133",
91   "src/third_party/WebKit":
92     Var("webkit_trunk") + "@" + Var("webkit_revision"),
94   "src/third_party/WebKit/LayoutTests/w3c/web-platform-tests":
95     Var("chromium_git") +
96     "/external/w3c/web-platform-tests.git@ac4322a338be82b3d8b722917d6d3d057c0a3f6a",
98   "src/third_party/WebKit/LayoutTests/w3c/csswg-test":
99     Var("chromium_git") +
100     "/external/w3c/csswg-test.git@8c415e3215a203fa3a22dbdd1799279fdf44c81e",
102   "src/third_party/icu":
103     "/trunk/deps/third_party/icu46@246118",
105   "src/third_party/libexif/sources":
106     "/trunk/deps/third_party/libexif/sources@146817",
108   "src/third_party/hunspell":
109    "/trunk/deps/third_party/hunspell@206172",
111   "src/third_party/hunspell_dictionaries":
112     "/trunk/deps/third_party/hunspell_dictionaries@193701",
114   "src/third_party/safe_browsing/testing":
115     (Var("googlecode_url") % "google-safe-browsing") + "/trunk/testing@112",
117   "src/third_party/cacheinvalidation/src":
118     (Var("googlecode_url") % "google-cache-invalidation-api") +
119     "/trunk/src@321",
121   "src/third_party/leveldatabase/src":
122     (Var("googlecode_url") % "leveldb") + "/trunk@79",
124   # TODO(thakis): Pull from svn instead, http://crbug.com/333071
125   "src/third_party/libc++/trunk":
126     Var("llvm_git") + "/libcxx.git@" + Var("libcxx_revision"),
128   # TODO(thakis): Pull from svn instead, http://crbug.com/333071
129   "src/third_party/libc++abi/trunk":
130     Var("llvm_git") + "/libcxxabi.git@" + Var("libcxxabi_revision"),
132   "src/third_party/snappy/src":
133     (Var("googlecode_url") % "snappy") + "/trunk@80",
135   "src/tools/grit":
136     (Var("googlecode_url") % "grit-i18n") + "/trunk@151",
138   "src/tools/gyp":
139     (Var("googlecode_url") % "gyp") + "/trunk@1852",
141   "src/tools/swarming_client":
142     Var("chromium_git") + "/external/swarming.client.git@" +
143         Var("swarming_revision"),
145   "src/v8":
146     (Var("googlecode_url") % "v8") + "/trunk@" + Var("v8_revision"),
148   "src/native_client":
149     Var("nacl_trunk") + "/src/native_client@" + Var("nacl_revision"),
151   "src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin":
152     Var("nacl_trunk") + "/src/native_client/tests/prebuilt@" +
153     Var("nacl_revision"),
155   "src/third_party/sfntly/cpp/src":
156     (Var("googlecode_url") % "sfntly") + "/trunk/cpp/src@" +
157     Var("sfntly_revision"),
159   "src/third_party/skia/src":
160     (Var("googlecode_url") % "skia") + "/trunk/src@" + Var("skia_revision"),
162   "src/third_party/skia/gyp":
163     (Var("googlecode_url") % "skia") + "/trunk/gyp@" + Var("skia_revision"),
165   "src/third_party/skia/include":
166     (Var("googlecode_url") % "skia") + "/trunk/include@" + Var("skia_revision"),
168   "src/third_party/ots":
169     (Var("googlecode_url") % "ots") + "/trunk@110",
171   "src/third_party/brotli/src":
172     Var("chromium_git") +
173     "/external/font-compression-reference.git@dfc5a9f2151a7c88914c236c7db8fa119fee249c",
175   "src/tools/page_cycler/acid3":
176     "/trunk/deps/page_cycler/acid3@171600",
178   "src/chrome/test/data/perf/canvas_bench":
179     "/trunk/deps/canvas_bench@122605",
181   "src/chrome/test/data/perf/frame_rate/content":
182     "/trunk/deps/frame_rate/content@93671",
184   "src/chrome/test/data/perf/third_party/octane":
185     (Var("googlecode_url") % "octane-benchmark") + "/trunk@19",
187   "src/third_party/bidichecker":
188     (Var("googlecode_url") % "bidichecker") + "/trunk/lib@4",
190   "src/third_party/webgl/src":
191     Var("chromium_git") +
192     "/external/khronosgroup/webgl.git@159f31dd34842c871032d97d360a9dce5153f585",
194   "src/third_party/swig/Lib":
195     "/trunk/deps/third_party/swig/Lib@" + Var("swig_revision"),
197   # Make sure you update the two functional.DEPS and webdriver.DEPS too.
198   "src/third_party/webdriver/pylib":
199     (Var("googlecode_url") % "selenium") + "/trunk/py@18337",
201   "src/third_party/libvpx":
202     "/trunk/deps/third_party/libvpx@" +
203     Var("libvpx_revision"),
205   "src/third_party/ffmpeg":
206     "/trunk/deps/third_party/ffmpeg@" +
207     Var("ffmpeg_revision"),
209   "src/third_party/libjingle/source/talk":
210     (Var("googlecode_url") % "webrtc") + "/trunk/talk@" +
211     Var("webrtc_revision"),
213   "src/third_party/usrsctp/usrsctplib":
214     (Var("googlecode_url") % "sctp-refimpl") +
215     "/trunk/KERN/usrsctp/usrsctplib@8723",
217   "src/third_party/libsrtp":
218     "/trunk/deps/third_party/libsrtp@250757",
220   "src/third_party/speex":
221     "/trunk/deps/third_party/speex@198168",
223   "src/third_party/yasm/source/patched-yasm":
224     "/trunk/deps/third_party/yasm/patched-yasm@167605",
226   "src/third_party/libjpeg_turbo":
227     "/trunk/deps/third_party/libjpeg_turbo@239595",
229   "src/third_party/flac":
230     "/trunk/deps/third_party/flac@222897",
232   "src/third_party/pyftpdlib/src":
233     (Var("googlecode_url") % "pyftpdlib") + "/trunk@977",
235   "src/third_party/scons-2.0.1":
236     Var("nacl_trunk") + "/src/third_party/scons-2.0.1@" +
237         Var("nacl_tools_revision"),
239   "src/third_party/webrtc":
240     (Var("googlecode_url") % "webrtc") + "/trunk/webrtc@" + Var("webrtc_revision"),
242   "src/third_party/openmax_dl":
243     (Var("googlecode_url") % "webrtc") + "/deps/third_party/openmax@5205",
245   "src/third_party/jsoncpp/source/include":
246     (Var("sourceforge_url") % {"repo": "jsoncpp"}) +
247         "/trunk/jsoncpp/include@" + Var("jsoncpp_revision"),
249   "src/third_party/jsoncpp/source/src/lib_json":
250     (Var("sourceforge_url") % {"repo": "jsoncpp"}) +
251         "/trunk/jsoncpp/src/lib_json@" + Var("jsoncpp_revision"),
253   "src/third_party/libyuv":
254     (Var("googlecode_url") % "libyuv") + "/trunk@979",
256   "src/third_party/smhasher/src":
257     (Var("googlecode_url") % "smhasher") + "/trunk@151",
259   "src/third_party/libaddressinput/src/cpp":
260     (Var("googlecode_url") % "libaddressinput") + "/trunk/cpp@" +
261         Var("libaddressinput_revision"),
262   "src/third_party/libaddressinput/src/testdata":
263     (Var("googlecode_url") % "libaddressinput") + "/trunk/testdata@" +
264         Var("libaddressinput_revision"),
266   "src/third_party/libphonenumber/src/phonenumbers":
267     (Var("googlecode_url") % "libphonenumber") +
268         "/trunk/cpp/src/phonenumbers@" + Var("libphonenumber_revision"),
269   "src/third_party/libphonenumber/src/test":
270     (Var("googlecode_url") % "libphonenumber") + "/trunk/cpp/test@" +
271         Var("libphonenumber_revision"),
272   "src/third_party/libphonenumber/src/resources":
273     (Var("googlecode_url") % "libphonenumber") + "/trunk/resources@" +
274         Var("libphonenumber_revision"),
276   "src/tools/deps2git":
277     "/trunk/tools/deps2git@248305",
279   "src/third_party/clang_format/script":
280     Var("llvm_url") + "/cfe/trunk/tools/clang-format@198831",
282   "src/third_party/webpagereplay":
283     (Var("googlecode_url") % "web-page-replay") + "/trunk@540",
285   "src/third_party/pywebsocket/src":
286     (Var("googlecode_url") % "pywebsocket") + "/trunk/src@662",
288   "src/third_party/opus/src":
289     "/trunk/deps/third_party/opus@237544",
291   "src/media/cdm/ppapi/api":
292     "/trunk/deps/cdm@249141",
294   "src/third_party/mesa/src":
295     "/trunk/deps/third_party/mesa@240938",
297   "src/third_party/cld_2/src":
298     (Var("googlecode_url") % "cld2") + "/trunk@84",
300   "src/chrome/browser/resources/pdf/html_office":
301      Var("chromium_git") +
302          "/chromium/html-office-public.git@6451249cec79299a52083373c9a370ef25471023",
304   "src/third_party/libwebm/source":
305     Var("chromium_git") +
306       "/webm/libwebm.git@0f7815b036651e242ec8c2fcfb59fe54f69be1a8",
310 deps_os = {
311   "win": {
312     "src/chrome/tools/test/reference_build/chrome_win":
313       "/trunk/deps/reference_builds/chrome_win@237381",
315     "src/third_party/cygwin":
316       "/trunk/deps/third_party/cygwin@231940",
318     "src/third_party/psyco_win32":
319       "/trunk/deps/third_party/psyco_win32@237949",
321     "src/third_party/bison":
322       "/trunk/deps/third_party/bison@147303",
324     "src/third_party/gperf":
325       "/trunk/deps/third_party/gperf@147304",
327     "src/third_party/perl":
328       "/trunk/deps/third_party/perl@147900",
330     "src/third_party/lighttpd":
331       "/trunk/deps/third_party/lighttpd@" + Var("lighttpd_revision"),
333     # Parses Windows PE/COFF executable format.
334     "src/third_party/pefile":
335       (Var("googlecode_url") % "pefile") + "/trunk@63",
337     # NSS, for SSLClientSocketNSS.
338     "src/third_party/nss":
339       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
341     "src/third_party/swig/win":
342       "/trunk/deps/third_party/swig/win@" + Var("swig_revision"),
344     # GNU binutils assembler for x86-32.
345     "src/third_party/gnu_binutils":
346       (Var("nacl_trunk") + "/deps/third_party/gnu_binutils@" +
347        Var("nacl_tools_revision")),
348     # GNU binutils assembler for x86-64.
349     "src/third_party/mingw-w64/mingw/bin":
350       (Var("nacl_trunk") + "/deps/third_party/mingw-w64/mingw/bin@" +
351        Var("nacl_tools_revision")),
353     # Dependencies used by libjpeg-turbo
354     "src/third_party/yasm/binaries":
355       "/trunk/deps/third_party/yasm/binaries@154708",
357     # Binary level profile guided optimizations. This points to the
358     # latest release binaries for the toolchain.
359     "src/third_party/syzygy/binaries":
360       (Var("googlecode_url") % "sawbuck") + "/trunk/syzygy/binaries@2021",
362     # Binaries for nacl sdk.
363     "src/third_party/nacl_sdk_binaries":
364       "/trunk/deps/third_party/nacl_sdk_binaries@111576",
365   },
366   "ios": {
367     "src/third_party/google_toolbox_for_mac/src":
368       (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@" +
369       Var("google_toolbox_for_mac_revision"),
371     "src/third_party/nss":
372       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
374     # class-dump utility to generate header files for undocumented SDKs
375     "src/testing/iossim/third_party/class-dump":
376       "/trunk/deps/third_party/class-dump@199203",
378     # Code that's not needed due to not building everything
379     "src/build/util/support": None,
380     "src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin": None,
381     "src/chrome/test/data/perf/canvas_bench": None,
382     "src/chrome/test/data/perf/frame_rate/content": None,
383     "src/chrome/test/data/perf/third_party/octane": None,
384     "src/media/cdm/ppapi/api": None,
385     "src/native_client": None,
386     "src/native_client/src/third_party/ppapi": None,
387     "src/third_party/angle": None,
388     "src/third_party/bidichecker": None,
389     "src/third_party/cld_2/src": None,
390     "src/third_party/ffmpeg": None,
391     "src/third_party/hunspell_dictionaries": None,
392     "src/third_party/hunspell": None,
393     "src/third_party/libaddressinput/src/cpp": None,
394     "src/third_party/libaddressinput/src/testdata": None,
395     "src/third_party/libexif/sources": None,
396     "src/third_party/libjpeg_turbo": None,
397     "src/third_party/libsrtp": None,
398     "src/third_party/libvpx": None,
399     "src/third_party/libyuv": None,
400     "src/third_party/mesa/src": None,
401     "src/third_party/opus/src": None,
402     "src/third_party/openmax_dl": None,
403     "src/third_party/ots": None,
404     "src/third_party/pymox/src": None,
405     "src/third_party/safe_browsing/testing": None,
406     "src/third_party/scons-2.0.1": None,
407     "src/third_party/sfntly/cpp/src": None,
408     "src/third_party/smhasher/src": None,
409     "src/third_party/swig/Lib": None,
410     "src/third_party/undoview": None,
411     "src/third_party/usrsctp/usrsctplib": None,
412     "src/third_party/v8-i18n": None,
413     "src/third_party/webdriver/pylib": None,
414     "src/third_party/webgl": None,
415     "src/third_party/webpagereplay": None,
416     "src/third_party/webrtc": None,
417     "src/third_party/yasm/source/patched-yasm": None,
418     "src/tools/page_cycler/acid3": None,
419     "src/v8": None,
420   },
421   "mac": {
422     "src/chrome/tools/test/reference_build/chrome_mac":
423       "/trunk/deps/reference_builds/chrome_mac@237381",
425     "src/third_party/google_toolbox_for_mac/src":
426       (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@" +
427       Var("google_toolbox_for_mac_revision"),
429     "src/third_party/pdfsqueeze":
430       (Var("googlecode_url") % "pdfsqueeze") + "/trunk@5",
432     "src/third_party/lighttpd":
433       "/trunk/deps/third_party/lighttpd@" + Var("lighttpd_revision"),
435     "src/third_party/swig/mac":
436       "/trunk/deps/third_party/swig/mac@" + Var("swig_revision"),
438     # NSS, for SSLClientSocketNSS.
439     "src/third_party/nss":
440       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
442     "src/chrome/installer/mac/third_party/xz/xz":
443       "/trunk/deps/third_party/xz@233311",
444   },
445   "unix": {
446     # Linux, really.
447     "src/chrome/tools/test/reference_build/chrome_linux":
448       "/trunk/deps/reference_builds/chrome_linux64@237381",
450     "src/third_party/xdg-utils":
451       "/trunk/deps/third_party/xdg-utils@203785",
453     "src/third_party/swig/linux":
454       "/trunk/deps/third_party/swig/linux@" + Var("swig_revision"),
456     "src/third_party/lss":
457       ((Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@" +
458        Var("lss_revision")),
460     "src/third_party/openssl":
461       "/trunk/deps/third_party/openssl@" + Var("openssl_revision"),
463     "src/third_party/gold":
464       "/trunk/deps/third_party/gold@228995",
466     "src/third_party/libmtp":
467       "/trunk/deps/third_party/libmtp@206535",
469     # Used on Linux only. CrOS already has a copy.
470     "src/third_party/mtpd/source":
471       Var("chromiumos_git") + "/platform/mtpd.git" +
472       "@e4e4656e9aa710f0617dab8746ab6116c0506ceb",
474     # Used on Linux only. CrOS already has a copy.
475     "src/third_party/cros_dbus_cplusplus/source":
476       Var("chromiumos_git") + "/third_party/dbus-cplusplus.git" +
477       "@e4120532bbf3ca9f743b0be1f539381a54d16867",
479     # For Linux and Chromium OS.
480     "src/third_party/cros_system_api":
481       Var("chromiumos_git") + "/platform/system_api.git" +
482       "@874a39664f1538b1855391f98bf14026a5dd2c24",
484     # Note that this is different from Android's freetype repo.
485     "src/third_party/freetype2/src":
486       Var("chromium_git") + "/chromium/src/third_party/freetype2.git" +
487       "@d699c2994ecc178c4ed05ac2086061b2034c2178",
489     # Build tools for targeting ChromeOS.
490     "src/third_party/chromite":
491       Var("chromiumos_git") + "/chromite.git" +
492       "@1ee2901d33ae698d1f2a1d95e9f3fd5bbd5f13f9",
494     # Dependency of chromite.git.
495     "src/third_party/pyelftools":
496       Var("chromiumos_git") + "/third_party/pyelftools.git" +
497       "@bdc1d380acd88d4bfaf47265008091483b0d614e",
499     "src/third_party/undoview":
500       "/trunk/deps/third_party/undoview@119694",
502     "src/third_party/liblouis/src":
503       Var("chromium_git") +
504       "/external/liblouis.git@3c2daee56250162e5a75830871601d74328d39f5",
506     # Used for embedded builds. CrOS & Linux use the system version.
507     "src/third_party/fontconfig/src":
508       Var("chromium_git") + "/external/fontconfig.git" +
509       "@f16c3118e25546c1b749f9823c51827a60aeb5c1",
510   },
511   "android": {
512     "src/third_party/android_tools":
513       Var("chromium_git") + "/android_tools.git" +
514       "@0582bdc17b4829beb522975441546a4eb99b11b5",
516     "src/third_party/aosp":
517       "/trunk/deps/third_party/aosp@148330",
519     "src/third_party/apache-mime4j":
520       "/trunk/deps/third_party/apache-mime4j@170888",
522     "src/third_party/findbugs":
523       "/trunk/deps/third_party/findbugs@245039",
525     "src/third_party/freetype":
526       Var("chromium_git") + "/chromium/src/third_party/freetype.git" +
527       "@a2b9955b49034a51dfbc8bf9f4e9d312149cecac",
529     "src/third_party/guava/src":
530       Var("chromium_git") + "/external/guava-libraries.git" +
531       "@c523556ab7d0f05afadebd20e7768d4c16af8771",
533     "src/third_party/httpcomponents-client":
534       "/trunk/deps/third_party/httpcomponents-client@170888",
536     "src/third_party/httpcomponents-core":
537       "/trunk/deps/third_party/httpcomponents-core@170888",
539     "src/third_party/jarjar":
540       "/trunk/deps/third_party/jarjar@170888",
542     "src/third_party/jsr-305/src":
543       (Var("googlecode_url") % "jsr-305") + "/trunk@51",
545     "src/third_party/lss":
546       ((Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@" +
547        Var("lss_revision")),
549     "src/third_party/openssl":
550       "/trunk/deps/third_party/openssl@" + Var("openssl_revision"),
552     "src/third_party/eyesfree/src/android/java/src/com/googlecode/eyesfree/braille":
553       (Var("googlecode_url") % "eyes-free") + "/trunk/braille/client/src/com/googlecode/eyesfree/braille@797",
555     # Android shouldn't use this address validation library.
556     "src/third_party/libaddressinput/src/cpp": None,
557     "src/third_party/libaddressinput/src/testdata": None,
558   },
562 include_rules = [
563   # Everybody can use some things.
564   "+base",
565   "+build",
566   "+ipc",
568   # Everybody can use headers generated by tools/generate_library_loader.
569   "+library_loaders",
571   "+testing",
572   "+third_party/icu/source/common/unicode",
573   "+third_party/icu/source/i18n/unicode",
574   "+url",
578 # checkdeps.py shouldn't check include paths for files in these dirs:
579 skip_child_includes = [
580   "breakpad",
581   "delegate_execute",
582   "metro_driver",
583   "native_client_sdk",
584   "o3d",
585   "pdf",
586   "sdch",
587   "skia",
588   "testing",
589   "third_party",
590   "v8",
591   "win8",
595 hooks = [
596   {
597     # This downloads binaries for Native Client's newlib toolchain.
598     # Done in lieu of building the toolchain from scratch as it can take
599     # anywhere from 30 minutes to 4 hours depending on platform to build.
600     "name": "nacltools",
601     "pattern": ".",
602     "action": [
603         "python", "src/build/download_nacl_toolchains.py",
604          "--no-arm-trusted",
605          "--keep",
606     ],
607   },
608   {
609     # Downloads an ARM sysroot image to src/arm-sysroot. This image updates
610     # at about the same rate that the chrome build deps change.
611     # This script is a no-op except for linux users who have
612     # target_arch=arm in their GYP_DEFINES.
613     "name": "sysroot",
614     "pattern": ".",
615     "action": ["python", "src/build/linux/install-arm-sysroot.py",
616                "--linux-only"],
617   },
618   {
619     # Downloads the Debian Wheezy sysroot to chrome/installer/linux if needed.
620     # This sysroot updates at about the same rate that the chrome build deps
621     # change. This script is a no-op except for linux users who are doing
622     # official chrome builds.
623     "name": "sysroot",
624     "pattern": ".",
625     "action": [
626         "python",
627         "src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py",
628         "--linux-only",
629         "--arch=amd64"],
630   },
631   {
632     # Same as above, but for 32-bit Linux.
633     "name": "sysroot",
634     "pattern": ".",
635     "action": [
636         "python",
637         "src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py",
638         "--linux-only",
639         "--arch=i386"],
640   },
641   {
642     # Pull clang on mac. If nothing changed, or on non-mac platforms, this takes
643     # zero seconds to run. If something changed, it downloads a prebuilt clang,
644     # which takes ~20s, but clang speeds up builds by more than 20s.
645     "name": "clang",
646     "pattern": ".",
647     "action": ["python", "src/tools/clang/scripts/update.py", "--mac-only"],
648   },
649   {
650     # Update LASTCHANGE. This is also run by export_tarball.py in
651     # src/tools/export_tarball - please keep them in sync.
652     "name": "lastchange",
653     "pattern": ".",
654     "action": ["python", "src/build/util/lastchange.py",
655                "-o", "src/build/util/LASTCHANGE"],
656   },
657   {
658     # Update LASTCHANGE.blink. This is also run by export_tarball.py in
659     # src/tools/export_tarball - please keep them in sync.
660     "name": "lastchange",
661     "pattern": ".",
662     "action": ["python", "src/build/util/lastchange.py",
663                "-s", "src/third_party/WebKit",
664                "-o", "src/build/util/LASTCHANGE.blink"],
665   },
666   # Pull GN binaries. This needs to be before running GYP below.
667   {
668     "name": "gn_win",
669     "pattern": "src/tools/gn/bin/win/gn.exe.sha1",
670     "action": [ "download_from_google_storage",
671                 "--no_resume",
672                 "--platform=win32",
673                 "--no_auth",
674                 "--bucket", "chromium-gn",
675                 "-s", "src/tools/gn/bin/win/gn.exe.sha1",
676     ],
677   },
678   {
679     "name": "gn_mac",
680     "pattern": "src/tools/gn/bin/mac/gn.sha1",
681     "action": [ "download_from_google_storage",
682                 "--no_resume",
683                 "--platform=darwin",
684                 "--no_auth",
685                 "--bucket", "chromium-gn",
686                 "-s", "src/tools/gn/bin/mac/gn.sha1",
687     ],
688   },
689   {
690     "name": "gn_linux",
691     "pattern": "src/tools/gn/bin/linux/gn.sha1",
692     "action": [ "download_from_google_storage",
693                 "--no_resume",
694                 "--platform=linux*",
695                 "--no_auth",
696                 "--bucket", "chromium-gn",
697                 "-s", "src/tools/gn/bin/linux/gn.sha1",
698     ],
699   },
700   {
701     "name": "gn_linux32",
702     "pattern": "src/tools/gn/bin/linux/gn32.sha1",
703     "action": [ "download_from_google_storage",
704                 "--no_resume",
705                 "--platform=linux*",
706                 "--no_auth",
707                 "--bucket", "chromium-gn",
708                 "-s", "src/tools/gn/bin/linux/gn32.sha1",
709     ],
710   },
711   # Pull clang-format binaries using checked-in hashes.
712   {
713     "name": "clang_format_win",
714     "pattern": "src/third_party/clang_format/bin/win/clang-format.exe.sha1",
715     "action": [ "download_from_google_storage",
716                 "--no_resume",
717                 "--platform=win32",
718                 "--no_auth",
719                 "--bucket", "chromium-clang-format",
720                 "-s", "src/third_party/clang_format/bin/win/clang-format.exe.sha1",
721     ],
722   },
723   {
724     "name": "clang_format_mac",
725     "pattern": "src/third_party/clang_format/bin/mac/clang-format.sha1",
726     "action": [ "download_from_google_storage",
727                 "--no_resume",
728                 "--platform=darwin",
729                 "--no_auth",
730                 "--bucket", "chromium-clang-format",
731                 "-s", "src/third_party/clang_format/bin/mac/clang-format.sha1",
732     ],
733   },
734   {
735     "name": "clang_format_linux",
736     "pattern": "src/third_party/clang_format/bin/linux/clang-format.sha1",
737     "action": [ "download_from_google_storage",
738                 "--no_resume",
739                 "--platform=linux*",
740                 "--no_auth",
741                 "--bucket", "chromium-clang-format",
742                 "-s", "src/third_party/clang_format/bin/linux/clang-format.sha1",
743     ],
744   },
745   # Pull eu-strip binaries using checked-in hashes.
746   {
747     "name": "eu-strip",
748     "pattern": "src/build/linux/bin/eu-strip.sha1",
749     "action": [ "download_from_google_storage",
750                 "--no_resume",
751                 "--platform=linux*",
752                 "--no_auth",
753                 "--bucket", "chromium-eu-strip",
754                 "-s", "src/build/linux/bin/eu-strip.sha1",
755     ],
756   },
757   {
758     # A change to a .gyp, .gypi, or to GYP itself should run the generator.
759     "name": "gyp",
760     "pattern": ".",
761     "action": ["python", "src/build/gyp_chromium"],
762   },