Fix race in WebRTC logging.
[chromium-blink-merge.git] / DEPS
blobe391971e7228cefb4f54deb43e904f3c0047cedd
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": "206024",
23   "libcxxabi_revision": "206024",
24   "webkit_trunk": "http://src.chromium.org/blink/trunk",
25   "nacl_trunk": "http://src.chromium.org/native_client/trunk",
26   "webkit_revision": "173548",
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": "13150",
32   # After changing nacl_revision, run 'glient sync' and check native_client/DEPS
33   # to update other nacl_*_revision's.
34   "nacl_tools_revision": "13077",  # native_client/DEPS: tools_rev
35   "google_toolbox_for_mac_revision": "662",
36   "libaddressinput_revision": "176",
37   "libphonenumber_revision": "621",
38   "libvpx_revision": "268125",
39   "lss_revision": "26",
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": "264299",
44   "ffmpeg_hash": "ac4a9f31fe2610bd146857bbd55d7a260003a888",
46   "sfntly_revision": "228",
47   "lighttpd_revision": "33737",
48   "skia_revision": "14592",
49   "skia_hash": "24f6e29fc133f1082c73e2a96f30bee92e3123aa",
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_branch": "trunk",
54   "v8_revision": "21181",
55   # Three lines of non-changing comments so that
56   # the commit queue can handle CLs rolling WebRTC
57   # and V8 without interference from each other.
58   "webrtc_revision": "6029",
59   "jsoncpp_revision": "248",
60   "nss_revision": "267366",
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": "ae8085b09e6162b4ec869e430d7d09c16b32b433",
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": "267674",
69   # Three lines of non-changing comments so that
70   # the commit queue can handle CLs rolling ANGLE
71   # and whatever else without interference from each other.
72   "angle_revision": "cc14f104b55a37b55face38116f01ea56c7927b8",
75 deps = {
76   "src/breakpad/src":
77     (Var("googlecode_url") % "google-breakpad") + "/trunk/src@1325",
79   "src/sdch/open-vcdiff":
80     (Var("googlecode_url") % "open-vcdiff") + "/trunk@42",
82   "src/testing/gtest":
83     (Var("googlecode_url") % "googletest") + "/trunk@643",
85   "src/testing/gmock":
86     (Var("googlecode_url") % "googlemock") + "/trunk@410",
88   "src/third_party/angle":
89     Var("chromium_git") + "/angle/angle.git@" + Var("angle_revision"),
91   "src/third_party/trace-viewer":
92     (Var("googlecode_url") % "trace-viewer") + "/trunk@1267",
94   "src/third_party/WebKit":
95     Var("webkit_trunk") + "@" + Var("webkit_revision"),
97   "src/third_party/WebKit/LayoutTests/w3c/web-platform-tests":
98     Var("chromium_git") +
99     "/external/w3c/web-platform-tests.git@6bed4516fe8522d65512c76ef02e4f0ae8234395",
101   "src/third_party/WebKit/LayoutTests/w3c/csswg-test":
102     Var("chromium_git") +
103     "/external/w3c/csswg-test.git@bacbb4a8dca702cd86646761fde96793db13d4f1",
105   "src/third_party/icu":
106     "/trunk/deps/third_party/icu46@262949",
108   "src/third_party/libexif/sources":
109     "/trunk/deps/third_party/libexif/sources@265008",
111   "src/third_party/hunspell":
112    "/trunk/deps/third_party/hunspell@256272",
114   "src/third_party/hunspell_dictionaries":
115     "/trunk/deps/third_party/hunspell_dictionaries@255132",
117   "src/third_party/safe_browsing/testing":
118     (Var("googlecode_url") % "google-safe-browsing") + "/trunk/testing@112",
120   "src/third_party/cacheinvalidation/src":
121     (Var("googlecode_url") % "google-cache-invalidation-api") +
122     "/trunk/src@331",
124   "src/third_party/leveldatabase/src":
125     (Var("googlecode_url") % "leveldb") + "/trunk@80",
127   "src/third_party/libc++/trunk":
128     Var("llvm_url") + "/libcxx/trunk@" + Var("libcxx_revision"),
130   "src/third_party/libc++abi/trunk":
131     Var("llvm_url") + "/libcxxabi/trunk@" + Var("libcxxabi_revision"),
133   "src/third_party/snappy/src":
134     (Var("googlecode_url") % "snappy") + "/trunk@80",
136   "src/tools/grit":
137     (Var("googlecode_url") % "grit-i18n") + "/trunk@167",
139   "src/tools/gyp":
140     (Var("googlecode_url") % "gyp") + "/trunk@1912",
142   "src/tools/swarming_client":
143     Var("chromium_git") + "/external/swarming.client.git@" +
144         Var("swarming_revision"),
146   "src/v8":
147     (Var("googlecode_url") % "v8") + "/" + Var("v8_branch") + "@" +
148     Var("v8_revision"),
150   "src/native_client":
151     Var("nacl_trunk") + "/src/native_client@" + Var("nacl_revision"),
153   "src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin":
154     Var("nacl_trunk") + "/src/native_client/tests/prebuilt@" +
155     Var("nacl_revision"),
157   "src/third_party/sfntly/cpp/src":
158     (Var("googlecode_url") % "sfntly") + "/trunk/cpp/src@" +
159     Var("sfntly_revision"),
161   "src/third_party/skia/src":
162     (Var("googlecode_url") % "skia") + "/trunk/src@" + Var("skia_revision"),
164   "src/third_party/skia/gyp":
165     (Var("googlecode_url") % "skia") + "/trunk/gyp@" + Var("skia_revision"),
167   "src/third_party/skia/include":
168     (Var("googlecode_url") % "skia") + "/trunk/include@" + Var("skia_revision"),
170   "src/third_party/ots":
171     (Var("googlecode_url") % "ots") + "/trunk@113",
173   "src/third_party/brotli/src":
174     Var("chromium_git") +
175     "/external/font-compression-reference.git@0829e37293abc2523a1d2b0f4d68ff7b5fcd8e01",
177   "src/tools/page_cycler/acid3":
178     "/trunk/deps/page_cycler/acid3@171600",
180   "src/chrome/test/data/perf/canvas_bench":
181     "/trunk/deps/canvas_bench@122605",
183   "src/chrome/test/data/perf/frame_rate/content":
184     "/trunk/deps/frame_rate/content@93671",
186   "src/chrome/test/data/perf/third_party/octane":
187     (Var("googlecode_url") % "octane-benchmark") + "/trunk@19",
189   "src/third_party/bidichecker":
190     (Var("googlecode_url") % "bidichecker") + "/trunk/lib@4",
192   "src/third_party/webgl/src":
193     Var("chromium_git") +
194     "/external/khronosgroup/webgl.git@1700aa98cc8bc494b305d4ec1045797bc4030f45",
196   "src/third_party/swig/Lib":
197     "/trunk/deps/third_party/swig/Lib@" + Var("swig_revision"),
199   # Make sure you update the two functional.DEPS and webdriver.DEPS too.
200   "src/third_party/webdriver/pylib":
201     (Var("googlecode_url") % "selenium") + "/trunk/py@18337",
203   "src/third_party/libvpx":
204     "/trunk/deps/third_party/libvpx@" +
205     Var("libvpx_revision"),
207   "src/third_party/ffmpeg":
208     "/trunk/deps/third_party/ffmpeg@" +
209     Var("ffmpeg_revision"),
211   "src/third_party/libjingle/source/talk":
212     (Var("googlecode_url") % "webrtc") + "/trunk/talk@" +
213     Var("webrtc_revision"),
215   "src/third_party/usrsctp/usrsctplib":
216     (Var("googlecode_url") % "sctp-refimpl") +
217     "/trunk/KERN/usrsctp/usrsctplib@8838",
219   "src/third_party/libsrtp":
220     "/trunk/deps/third_party/libsrtp@261337",
222   "src/third_party/speex":
223     "/trunk/deps/third_party/speex@198168",
225   "src/third_party/yasm/source/patched-yasm":
226     "/trunk/deps/third_party/yasm/patched-yasm@167605",
228   "src/third_party/libjpeg_turbo":
229     "/trunk/deps/third_party/libjpeg_turbo@263594",
231   "src/third_party/flac":
232     "/trunk/deps/third_party/flac@222897",
234   "src/third_party/pyftpdlib/src":
235     (Var("googlecode_url") % "pyftpdlib") + "/trunk@977",
237   "src/third_party/scons-2.0.1":
238     Var("nacl_trunk") + "/src/third_party/scons-2.0.1@" +
239         Var("nacl_tools_revision"),
241   "src/third_party/webrtc":
242     (Var("googlecode_url") % "webrtc") + "/trunk/webrtc@" + Var("webrtc_revision"),
244   "src/third_party/openmax_dl":
245     (Var("googlecode_url") % "webrtc") + "/deps/third_party/openmax@6024",
247   "src/third_party/jsoncpp/source/include":
248     (Var("sourceforge_url") % {"repo": "jsoncpp"}) +
249         "/trunk/jsoncpp/include@" + Var("jsoncpp_revision"),
251   "src/third_party/jsoncpp/source/src/lib_json":
252     (Var("sourceforge_url") % {"repo": "jsoncpp"}) +
253         "/trunk/jsoncpp/src/lib_json@" + Var("jsoncpp_revision"),
255   "src/third_party/libyuv":
256     (Var("googlecode_url") % "libyuv") + "/trunk@1000",
258   "src/third_party/smhasher/src":
259     (Var("googlecode_url") % "smhasher") + "/trunk@152",
261   "src/third_party/libaddressinput/src/cpp":
262     (Var("googlecode_url") % "libaddressinput") + "/trunk/cpp@" +
263         Var("libaddressinput_revision"),
264   "src/third_party/libaddressinput/src/testdata":
265     (Var("googlecode_url") % "libaddressinput") + "/trunk/testdata@" +
266         Var("libaddressinput_revision"),
268   "src/third_party/libphonenumber/src/phonenumbers":
269     (Var("googlecode_url") % "libphonenumber") +
270         "/trunk/cpp/src/phonenumbers@" + Var("libphonenumber_revision"),
271   "src/third_party/libphonenumber/src/test":
272     (Var("googlecode_url") % "libphonenumber") + "/trunk/cpp/test@" +
273         Var("libphonenumber_revision"),
274   "src/third_party/libphonenumber/src/resources":
275     (Var("googlecode_url") % "libphonenumber") + "/trunk/resources@" +
276         Var("libphonenumber_revision"),
278   "src/tools/deps2git":
279     "/trunk/tools/deps2git@262731",
281   "src/third_party/clang_format/script":
282     Var("llvm_url") + "/cfe/trunk/tools/clang-format@206068",
284   "src/third_party/webpagereplay":
285     (Var("googlecode_url") % "web-page-replay") + "/trunk@544",
287   "src/third_party/pywebsocket/src":
288     (Var("googlecode_url") % "pywebsocket") + "/trunk/src@790",
290   "src/third_party/opus/src":
291     "/trunk/deps/third_party/opus@256783",
293   "src/media/cdm/ppapi/api":
294     "/trunk/deps/cdm@262570",
296   "src/third_party/mesa/src":
297     "/trunk/deps/third_party/mesa@265279",
299   "src/third_party/cld_2/src":
300     (Var("googlecode_url") % "cld2") + "/trunk@160",
302   "src/chrome/browser/resources/pdf/html_office":
303      Var("chromium_git") +
304          "/chromium/html-office-public.git@eeff97614f65e0578529490d44d412032c3d7359",
306   "src/third_party/libwebm/source":
307     Var("chromium_git") +
308       "/webm/libwebm.git@fb6b6e64444c637f27d103fd113e0c7bf4f107dd",
310   "src/third_party/openssl":
311     "/trunk/deps/third_party/openssl@" + Var("openssl_revision"),
315 deps_os = {
316   "win": {
317     "src/chrome/tools/test/reference_build/chrome_win":
318       "/trunk/deps/reference_builds/chrome_win@254637",
320     "src/third_party/cygwin":
321       "/trunk/deps/third_party/cygwin@231940",
323     "src/third_party/psyco_win32":
324       "/trunk/deps/third_party/psyco_win32@237949",
326     "src/third_party/bison":
327       "/trunk/deps/third_party/bison@147303",
329     "src/third_party/gperf":
330       "/trunk/deps/third_party/gperf@147304",
332     "src/third_party/perl":
333       "/trunk/deps/third_party/perl@147900",
335     "src/third_party/lighttpd":
336       "/trunk/deps/third_party/lighttpd@" + Var("lighttpd_revision"),
338     # Parses Windows PE/COFF executable format.
339     "src/third_party/pefile":
340       (Var("googlecode_url") % "pefile") + "/trunk@63",
342     # NSS, for SSLClientSocketNSS.
343     "src/third_party/nss":
344       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
346     "src/third_party/swig/win":
347       "/trunk/deps/third_party/swig/win@" + Var("swig_revision"),
349     # GNU binutils assembler for x86-32.
350     "src/third_party/gnu_binutils":
351       (Var("nacl_trunk") + "/deps/third_party/gnu_binutils@" +
352        Var("nacl_tools_revision")),
353     # GNU binutils assembler for x86-64.
354     "src/third_party/mingw-w64/mingw/bin":
355       (Var("nacl_trunk") + "/deps/third_party/mingw-w64/mingw/bin@" +
356        Var("nacl_tools_revision")),
358     # Dependencies used by libjpeg-turbo
359     "src/third_party/yasm/binaries":
360       "/trunk/deps/third_party/yasm/binaries@154708",
362     # Binary level profile guided optimizations. This points to the
363     # latest release binaries for the toolchain.
364     "src/third_party/syzygy/binaries":
365       (Var("googlecode_url") % "sawbuck") + "/trunk/syzygy/binaries@2134",
367     # Binaries for nacl sdk.
368     "src/third_party/nacl_sdk_binaries":
369       "/trunk/deps/third_party/nacl_sdk_binaries@111576",
370   },
371   "ios": {
372     "src/third_party/google_toolbox_for_mac/src":
373       (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@" +
374       Var("google_toolbox_for_mac_revision"),
376     "src/third_party/nss":
377       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
379     # class-dump utility to generate header files for undocumented SDKs
380     "src/testing/iossim/third_party/class-dump":
381       "/trunk/deps/third_party/class-dump@199203",
383     # Code that's not needed due to not building everything
384     "src/build/util/support": None,
385     "src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin": None,
386     "src/chrome/test/data/perf/canvas_bench": None,
387     "src/chrome/test/data/perf/frame_rate/content": None,
388     "src/chrome/test/data/perf/third_party/octane": None,
389     "src/media/cdm/ppapi/api": None,
390     "src/native_client": None,
391     "src/native_client/src/third_party/ppapi": None,
392     "src/third_party/angle": None,
393     "src/third_party/bidichecker": None,
394     "src/third_party/brotli/src": None,
395     "src/third_party/cld_2/src": None,
396     "src/third_party/ffmpeg": None,
397     "src/third_party/hunspell_dictionaries": None,
398     "src/third_party/hunspell": None,
399     "src/third_party/libaddressinput/src/cpp": None,
400     "src/third_party/libaddressinput/src/testdata": None,
401     "src/third_party/libc++/trunk": None,
402     "src/third_party/libc++abi/trunk": None,
403     "src/third_party/libexif/sources": None,
404     "src/third_party/libjpeg_turbo": None,
405     "src/third_party/libsrtp": None,
406     "src/third_party/libvpx": None,
407     "src/third_party/libyuv": None,
408     "src/third_party/mesa/src": None,
409     "src/third_party/opus/src": None,
410     "src/third_party/openmax_dl": None,
411     "src/third_party/ots": None,
412     "src/third_party/pymox/src": None,
413     "src/third_party/safe_browsing/testing": None,
414     "src/third_party/scons-2.0.1": None,
415     "src/third_party/sfntly/cpp/src": None,
416     "src/third_party/speex": None,
417     "src/third_party/swig/Lib": None,
418     "src/third_party/usrsctp/usrsctplib": None,
419     "src/third_party/v8-i18n": None,
420     "src/third_party/webdriver/pylib": None,
421     "src/third_party/webgl": None,
422     "src/third_party/webpagereplay": None,
423     "src/third_party/webrtc": None,
424     "src/third_party/WebKit/LayoutTests/w3c/web-platform-tests": None,
425     "src/third_party/WebKit/LayoutTests/w3c/csswg-test": None,
426     "src/third_party/yasm/source/patched-yasm": None,
427     "src/tools/page_cycler/acid3": None,
428     "src/v8": None,
429   },
430   "mac": {
431     "src/chrome/tools/test/reference_build/chrome_mac":
432       "/trunk/deps/reference_builds/chrome_mac@255182",
434     "src/third_party/google_toolbox_for_mac/src":
435       (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@" +
436       Var("google_toolbox_for_mac_revision"),
438     "src/third_party/pdfsqueeze":
439       (Var("googlecode_url") % "pdfsqueeze") + "/trunk@5",
441     "src/third_party/lighttpd":
442       "/trunk/deps/third_party/lighttpd@" + Var("lighttpd_revision"),
444     "src/third_party/swig/mac":
445       "/trunk/deps/third_party/swig/mac@" + Var("swig_revision"),
447     # NSS, for SSLClientSocketNSS.
448     "src/third_party/nss":
449       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
451     "src/chrome/installer/mac/third_party/xz/xz":
452       "/trunk/deps/third_party/xz@233311",
453   },
454   "unix": {
455     # Linux, really.
456     "src/chrome/tools/test/reference_build/chrome_linux":
457       "/trunk/deps/reference_builds/chrome_linux64@254637",
459     "src/third_party/xdg-utils":
460       "/trunk/deps/third_party/xdg-utils@203785",
462     "src/third_party/swig/linux":
463       "/trunk/deps/third_party/swig/linux@" + Var("swig_revision"),
465     "src/third_party/lss":
466       ((Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@" +
467        Var("lss_revision")),
469     # For Linux and Chromium OS.
470     "src/third_party/cros_system_api":
471       Var("chromiumos_git") + "/platform/system_api.git" +
472       "@b35e305e2348af2be22b633cfb25e176601cb821",
474     # Note that this is different from Android's freetype repo.
475     "src/third_party/freetype2/src":
476       Var("chromium_git") + "/chromium/src/third_party/freetype2.git" +
477       "@d699c2994ecc178c4ed05ac2086061b2034c2178",
479     # Build tools for targeting ChromeOS.
480     "src/third_party/chromite":
481       Var("chromiumos_git") + "/chromite.git" +
482       "@63193a4393f6e964bfca992bfb03e40183554f7d",
484     # Dependency of chromite.git.
485     "src/third_party/pyelftools":
486       Var("chromiumos_git") + "/third_party/pyelftools.git" +
487       "@bdc1d380acd88d4bfaf47265008091483b0d614e",
489     "src/third_party/undoview":
490       "/trunk/deps/third_party/undoview@119694",
492     "src/third_party/liblouis/src":
493       Var("chromium_git") +
494       "/external/liblouis.git@3c2daee56250162e5a75830871601d74328d39f5",
496     # Used for embedded builds. CrOS & Linux use the system version.
497     "src/third_party/fontconfig/src":
498       Var("chromium_git") + "/external/fontconfig.git" +
499       "@f16c3118e25546c1b749f9823c51827a60aeb5c1",
500   },
501   "android": {
502     "src/third_party/android_tools":
503       Var("chromium_git") + "/android_tools.git" +
504       "@c9390198d02bf6f52b9a46b519badaf1c565261a",
506     "src/third_party/aosp":
507       "/trunk/deps/third_party/aosp@148330",
509     "src/third_party/apache-mime4j":
510       "/trunk/deps/third_party/apache-mime4j@170888",
512     "src/third_party/findbugs":
513       "/trunk/deps/third_party/findbugs@245039",
515     "src/third_party/freetype":
516       Var("chromium_git") + "/chromium/src/third_party/freetype.git" +
517       "@a2b9955b49034a51dfbc8bf9f4e9d312149cecac",
519     "src/third_party/guava/src":
520       Var("chromium_git") + "/external/guava-libraries.git" +
521       "@c523556ab7d0f05afadebd20e7768d4c16af8771",
523     "src/third_party/httpcomponents-client":
524       "/trunk/deps/third_party/httpcomponents-client@170888",
526     "src/third_party/httpcomponents-core":
527       "/trunk/deps/third_party/httpcomponents-core@170888",
529     "src/third_party/jarjar":
530       "/trunk/deps/third_party/jarjar@170888",
532     "src/third_party/jsr-305/src":
533       (Var("googlecode_url") % "jsr-305") + "/trunk@51",
535     "src/third_party/lss":
536       ((Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@" +
537        Var("lss_revision")),
539     "src/third_party/eyesfree/src/android/java/src/com/googlecode/eyesfree/braille":
540       (Var("googlecode_url") % "eyes-free") + "/trunk/braille/client/src/com/googlecode/eyesfree/braille@797",
542     # Android shouldn't use this address validation library.
543     "src/third_party/libaddressinput/src/cpp": None,
544     "src/third_party/libaddressinput/src/testdata": None,
545   },
549 include_rules = [
550   # Everybody can use some things.
551   "+base",
552   "+build",
553   "+ipc",
555   # Everybody can use headers generated by tools/generate_library_loader.
556   "+library_loaders",
558   "+testing",
559   "+third_party/icu/source/common/unicode",
560   "+third_party/icu/source/i18n/unicode",
561   "+url",
565 # checkdeps.py shouldn't check include paths for files in these dirs:
566 skip_child_includes = [
567   "breakpad",
568   "delegate_execute",
569   "metro_driver",
570   "native_client_sdk",
571   "o3d",
572   "pdf",
573   "sdch",
574   "skia",
575   "testing",
576   "third_party",
577   "v8",
578   "win8",
582 hooks = [
583   {
584     # This downloads binaries for Native Client's newlib toolchain.
585     # Done in lieu of building the toolchain from scratch as it can take
586     # anywhere from 30 minutes to 4 hours depending on platform to build.
587     "name": "nacltools",
588     "pattern": ".",
589     "action": [
590         "python", "src/build/download_nacl_toolchains.py",
591         "--exclude", "arm_trusted",
592     ],
593   },
594   {
595     # Downloads an ARM sysroot image to src/arm-sysroot. This image updates
596     # at about the same rate that the chrome build deps change.
597     # This script is a no-op except for linux users who have
598     # target_arch=arm in their GYP_DEFINES.
599     "name": "sysroot",
600     "pattern": ".",
601     "action": ["python", "src/build/linux/install-arm-sysroot.py",
602                "--linux-only"],
603   },
604   {
605     # Downloads the Debian Wheezy sysroot to chrome/installer/linux if needed.
606     # This sysroot updates at about the same rate that the chrome build deps
607     # change. This script is a no-op except for linux users who are doing
608     # official chrome builds.
609     "name": "sysroot",
610     "pattern": ".",
611     "action": [
612         "python",
613         "src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py",
614         "--linux-only",
615         "--arch=amd64"],
616   },
617   {
618     # Same as above, but for 32-bit Linux.
619     "name": "sysroot",
620     "pattern": ".",
621     "action": [
622         "python",
623         "src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py",
624         "--linux-only",
625         "--arch=i386"],
626   },
627   {
628     # Pull clang if on Mac or clang is requested via GYP_DEFINES.
629     "name": "clang",
630     "pattern": ".",
631     "action": ["python", "src/tools/clang/scripts/update.py", "--if-needed"],
632   },
633   {
634     # Update the Windows toolchain if necessary.
635     "name": "win_toolchain",
636     "pattern": ".",
637     "action": ["python", "src/build/vs_toolchain.py", "update"],
638   },
639   {
640     # Update LASTCHANGE. This is also run by export_tarball.py in
641     # src/tools/export_tarball - please keep them in sync.
642     "name": "lastchange",
643     "pattern": ".",
644     "action": ["python", "src/build/util/lastchange.py",
645                "-o", "src/build/util/LASTCHANGE"],
646   },
647   {
648     # Update LASTCHANGE.blink. This is also run by export_tarball.py in
649     # src/tools/export_tarball - please keep them in sync.
650     "name": "lastchange",
651     "pattern": ".",
652     "action": ["python", "src/build/util/lastchange.py",
653                "-s", "src/third_party/WebKit",
654                "-o", "src/build/util/LASTCHANGE.blink"],
655   },
656   # Pull GN binaries. This needs to be before running GYP below.
657   {
658     "name": "gn_win",
659     "pattern": ".",
660     "action": [ "download_from_google_storage",
661                 "--no_resume",
662                 "--platform=win32",
663                 "--no_auth",
664                 "--bucket", "chromium-gn",
665                 "-s", "src/tools/gn/bin/win/gn.exe.sha1",
666     ],
667   },
668   {
669     "name": "gn_mac",
670     "pattern": ".",
671     "action": [ "download_from_google_storage",
672                 "--no_resume",
673                 "--platform=darwin",
674                 "--no_auth",
675                 "--bucket", "chromium-gn",
676                 "-s", "src/tools/gn/bin/mac/gn.sha1",
677     ],
678   },
679   {
680     "name": "gn_linux",
681     "pattern": ".",
682     "action": [ "download_from_google_storage",
683                 "--no_resume",
684                 "--platform=linux*",
685                 "--no_auth",
686                 "--bucket", "chromium-gn",
687                 "-s", "src/tools/gn/bin/linux/gn.sha1",
688     ],
689   },
690   {
691     "name": "gn_linux32",
692     "pattern": ".",
693     "action": [ "download_from_google_storage",
694                 "--no_resume",
695                 "--platform=linux*",
696                 "--no_auth",
697                 "--bucket", "chromium-gn",
698                 "-s", "src/tools/gn/bin/linux/gn32.sha1",
699     ],
700   },
701   # Pull clang-format binaries using checked-in hashes.
702   {
703     "name": "clang_format_win",
704     "pattern": ".",
705     "action": [ "download_from_google_storage",
706                 "--no_resume",
707                 "--platform=win32",
708                 "--no_auth",
709                 "--bucket", "chromium-clang-format",
710                 "-s", "src/third_party/clang_format/bin/win/clang-format.exe.sha1",
711     ],
712   },
713   {
714     "name": "clang_format_mac",
715     "pattern": ".",
716     "action": [ "download_from_google_storage",
717                 "--no_resume",
718                 "--platform=darwin",
719                 "--no_auth",
720                 "--bucket", "chromium-clang-format",
721                 "-s", "src/third_party/clang_format/bin/mac/clang-format.sha1",
722     ],
723   },
724   {
725     "name": "clang_format_linux",
726     "pattern": ".",
727     "action": [ "download_from_google_storage",
728                 "--no_resume",
729                 "--platform=linux*",
730                 "--no_auth",
731                 "--bucket", "chromium-clang-format",
732                 "-s", "src/third_party/clang_format/bin/linux/clang-format.sha1",
733     ],
734   },
735   # Pull binutils for linux, enabled debug fission for faster linking /
736   # debugging when used with clang on Ubuntu Precise.
737   # https://code.google.com/p/chromium/issues/detail?id=352046
738   {
739     "name": "binutils",
740     "pattern": "src/third_party/binutils",
741     "action": [
742         "python",
743         "src/third_party/binutils/download.py",
744     ],
745   },
746   # Pull eu-strip binaries using checked-in hashes.
747   {
748     "name": "eu-strip",
749     "pattern": ".",
750     "action": [ "download_from_google_storage",
751                 "--no_resume",
752                 "--platform=linux*",
753                 "--no_auth",
754                 "--bucket", "chromium-eu-strip",
755                 "-s", "src/build/linux/bin/eu-strip.sha1",
756     ],
757   },
758   {
759     # A change to a .gyp, .gypi, or to GYP itself should run the generator.
760     "name": "gyp",
761     "pattern": ".",
762     "action": ["python", "src/build/gyp_chromium"],
763   },