Sandbox Linux Unittests: fix silly spurious error
[chromium.git] / DEPS
1 # This file is automatically processed to create .DEPS.git which is the file
2 # that gclient uses under git.
3 #
4 # See http://code.google.com/p/chromium/wiki/UsingGit
5 #
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.
11 #
12 # When adding a new dependency, please update the top-level .gitignore file
13 # to list the dependency's destination directory.
14
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": "171894",
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": "13018",
32   # After changing nacl_revision, run 'glient sync' and check native_client/DEPS
33   # to update other nacl_*_revision's.
34   "nacl_tools_revision": "12970",  # native_client/DEPS: tools_rev
35   "google_toolbox_for_mac_revision": "662",
36   "libaddressinput_revision": "176",
37   "libphonenumber_revision": "621",
38   "libvpx_revision": "264320",
39   "lss_revision": "26",
40
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",
45
46   "sfntly_revision": "228",
47   "lighttpd_revision": "33737",
48   "skia_revision": "14202",
49   "skia_hash": "51b0d0bc5c82f257dca244c864702c66d84100a2",
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": "20829",
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": "5831",
59   "jsoncpp_revision": "248",
60   "nss_revision": "259440",
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": "4eeada947e2fa4f48100ebb39b740bccabbc7747",
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": "263283",
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": "74697cf2064c0a2c0d7e1b1b28db439286766a05",
73 }
74
75 deps = {
76   "src/breakpad/src":
77     (Var("googlecode_url") % "google-breakpad") + "/trunk/src@1313",
78
79   "src/sdch/open-vcdiff":
80     (Var("googlecode_url") % "open-vcdiff") + "/trunk@42",
81
82   "src/testing/gtest":
83     (Var("googlecode_url") % "googletest") + "/trunk@643",
84
85   "src/testing/gmock":
86     (Var("googlecode_url") % "googlemock") + "/trunk@410",
87
88   "src/third_party/angle":
89     Var("chromium_git") + "/angle/angle.git@" + Var("angle_revision"),
90
91   "src/third_party/trace-viewer":
92     (Var("googlecode_url") % "trace-viewer") + "/trunk@1240",
93
94   "src/third_party/WebKit":
95     Var("webkit_trunk") + "@" + Var("webkit_revision"),
96
97   "src/third_party/WebKit/LayoutTests/w3c/web-platform-tests":
98     Var("chromium_git") +
99     "/external/w3c/web-platform-tests.git@6bed4516fe8522d65512c76ef02e4f0ae8234395",
100
101   "src/third_party/WebKit/LayoutTests/w3c/csswg-test":
102     Var("chromium_git") +
103     "/external/w3c/csswg-test.git@bacbb4a8dca702cd86646761fde96793db13d4f1",
104
105   "src/third_party/icu":
106     "/trunk/deps/third_party/icu46@262949",
107
108   "src/third_party/libexif/sources":
109     "/trunk/deps/third_party/libexif/sources@263766",
110
111   "src/third_party/hunspell":
112    "/trunk/deps/third_party/hunspell@256272",
113
114   "src/third_party/hunspell_dictionaries":
115     "/trunk/deps/third_party/hunspell_dictionaries@255132",
116
117   "src/third_party/safe_browsing/testing":
118     (Var("googlecode_url") % "google-safe-browsing") + "/trunk/testing@112",
119
120   "src/third_party/cacheinvalidation/src":
121     (Var("googlecode_url") % "google-cache-invalidation-api") +
122     "/trunk/src@330",
123
124   "src/third_party/leveldatabase/src":
125     (Var("googlecode_url") % "leveldb") + "/trunk@79",
126
127   "src/third_party/libc++/trunk":
128     Var("llvm_url") + "/libcxx/trunk@" + Var("libcxx_revision"),
129
130   "src/third_party/libc++abi/trunk":
131     Var("llvm_url") + "/libcxxabi/trunk@" + Var("libcxxabi_revision"),
132
133   "src/third_party/snappy/src":
134     (Var("googlecode_url") % "snappy") + "/trunk@80",
135
136   "src/tools/grit":
137     (Var("googlecode_url") % "grit-i18n") + "/trunk@160",
138
139   "src/tools/gyp":
140     (Var("googlecode_url") % "gyp") + "/trunk@1892",
141
142   "src/tools/swarming_client":
143     Var("chromium_git") + "/external/swarming.client.git@" +
144         Var("swarming_revision"),
145
146   "src/v8":
147     (Var("googlecode_url") % "v8") + "/" + Var("v8_branch") + "@" +
148     Var("v8_revision"),
149
150   "src/native_client":
151     Var("nacl_trunk") + "/src/native_client@" + Var("nacl_revision"),
152
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"),
156
157   "src/third_party/sfntly/cpp/src":
158     (Var("googlecode_url") % "sfntly") + "/trunk/cpp/src@" +
159     Var("sfntly_revision"),
160
161   "src/third_party/skia/src":
162     (Var("googlecode_url") % "skia") + "/trunk/src@" + Var("skia_revision"),
163
164   "src/third_party/skia/gyp":
165     (Var("googlecode_url") % "skia") + "/trunk/gyp@" + Var("skia_revision"),
166
167   "src/third_party/skia/include":
168     (Var("googlecode_url") % "skia") + "/trunk/include@" + Var("skia_revision"),
169
170   "src/third_party/ots":
171     (Var("googlecode_url") % "ots") + "/trunk@112",
172
173   "src/third_party/brotli/src":
174     Var("chromium_git") +
175     "/external/font-compression-reference.git@0829e37293abc2523a1d2b0f4d68ff7b5fcd8e01",
176
177   "src/tools/page_cycler/acid3":
178     "/trunk/deps/page_cycler/acid3@171600",
179
180   "src/chrome/test/data/perf/canvas_bench":
181     "/trunk/deps/canvas_bench@122605",
182
183   "src/chrome/test/data/perf/frame_rate/content":
184     "/trunk/deps/frame_rate/content@93671",
185
186   "src/chrome/test/data/perf/third_party/octane":
187     (Var("googlecode_url") % "octane-benchmark") + "/trunk@19",
188
189   "src/third_party/bidichecker":
190     (Var("googlecode_url") % "bidichecker") + "/trunk/lib@4",
191
192   "src/third_party/webgl/src":
193     Var("chromium_git") +
194     "/external/khronosgroup/webgl.git@8f445334c2f13a6be762fbdc90c4d80397d31788",
195
196   "src/third_party/swig/Lib":
197     "/trunk/deps/third_party/swig/Lib@" + Var("swig_revision"),
198
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",
202
203   "src/third_party/libvpx":
204     "/trunk/deps/third_party/libvpx@" +
205     Var("libvpx_revision"),
206
207   "src/third_party/ffmpeg":
208     "/trunk/deps/third_party/ffmpeg@" +
209     Var("ffmpeg_revision"),
210
211   "src/third_party/libjingle/source/talk":
212     (Var("googlecode_url") % "webrtc") + "/trunk/talk@" +
213     Var("webrtc_revision"),
214
215   "src/third_party/usrsctp/usrsctplib":
216     (Var("googlecode_url") % "sctp-refimpl") +
217     "/trunk/KERN/usrsctp/usrsctplib@8838",
218
219   "src/third_party/libsrtp":
220     "/trunk/deps/third_party/libsrtp@261337",
221
222   "src/third_party/speex":
223     "/trunk/deps/third_party/speex@198168",
224
225   "src/third_party/yasm/source/patched-yasm":
226     "/trunk/deps/third_party/yasm/patched-yasm@167605",
227
228   "src/third_party/libjpeg_turbo":
229     "/trunk/deps/third_party/libjpeg_turbo@263594",
230
231   "src/third_party/flac":
232     "/trunk/deps/third_party/flac@222897",
233
234   "src/third_party/pyftpdlib/src":
235     (Var("googlecode_url") % "pyftpdlib") + "/trunk@977",
236
237   "src/third_party/scons-2.0.1":
238     Var("nacl_trunk") + "/src/third_party/scons-2.0.1@" +
239         Var("nacl_tools_revision"),
240
241   "src/third_party/webrtc":
242     (Var("googlecode_url") % "webrtc") + "/trunk/webrtc@" + Var("webrtc_revision"),
243
244   "src/third_party/openmax_dl":
245     (Var("googlecode_url") % "webrtc") + "/deps/third_party/openmax@5569",
246
247   "src/third_party/jsoncpp/source/include":
248     (Var("sourceforge_url") % {"repo": "jsoncpp"}) +
249         "/trunk/jsoncpp/include@" + Var("jsoncpp_revision"),
250
251   "src/third_party/jsoncpp/source/src/lib_json":
252     (Var("sourceforge_url") % {"repo": "jsoncpp"}) +
253         "/trunk/jsoncpp/src/lib_json@" + Var("jsoncpp_revision"),
254
255   "src/third_party/libyuv":
256     (Var("googlecode_url") % "libyuv") + "/trunk@994",
257
258   "src/third_party/smhasher/src":
259     (Var("googlecode_url") % "smhasher") + "/trunk@151",
260
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"),
267
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"),
277
278   "src/tools/deps2git":
279     "/trunk/tools/deps2git@262731",
280
281   "src/third_party/clang_format/script":
282     Var("llvm_url") + "/cfe/trunk/tools/clang-format@206068",
283
284   "src/third_party/webpagereplay":
285     (Var("googlecode_url") % "web-page-replay") + "/trunk@544",
286
287   "src/third_party/pywebsocket/src":
288     (Var("googlecode_url") % "pywebsocket") + "/trunk/src@790",
289
290   "src/third_party/opus/src":
291     "/trunk/deps/third_party/opus@256783",
292
293   "src/media/cdm/ppapi/api":
294     "/trunk/deps/cdm@262570",
295
296   "src/third_party/mesa/src":
297     "/trunk/deps/third_party/mesa@261106",
298
299   "src/third_party/cld_2/src":
300     (Var("googlecode_url") % "cld2") + "/trunk@160",
301
302   "src/chrome/browser/resources/pdf/html_office":
303      Var("chromium_git") +
304          "/chromium/html-office-public.git@c29b3dcd20a03c5cec041764d178245b7d306dec",
305
306   "src/third_party/libwebm/source":
307     Var("chromium_git") +
308       "/webm/libwebm.git@fb6b6e64444c637f27d103fd113e0c7bf4f107dd",
309
310   "src/third_party/openssl":
311     "/trunk/deps/third_party/openssl@" + Var("openssl_revision"),
312 }
313
314
315 deps_os = {
316   "win": {
317     "src/chrome/tools/test/reference_build/chrome_win":
318       "/trunk/deps/reference_builds/chrome_win@254637",
319
320     "src/third_party/cygwin":
321       "/trunk/deps/third_party/cygwin@231940",
322
323     "src/third_party/psyco_win32":
324       "/trunk/deps/third_party/psyco_win32@237949",
325
326     "src/third_party/bison":
327       "/trunk/deps/third_party/bison@147303",
328
329     "src/third_party/gperf":
330       "/trunk/deps/third_party/gperf@147304",
331
332     "src/third_party/perl":
333       "/trunk/deps/third_party/perl@147900",
334
335     "src/third_party/lighttpd":
336       "/trunk/deps/third_party/lighttpd@" + Var("lighttpd_revision"),
337
338     # Parses Windows PE/COFF executable format.
339     "src/third_party/pefile":
340       (Var("googlecode_url") % "pefile") + "/trunk@63",
341
342     # NSS, for SSLClientSocketNSS.
343     "src/third_party/nss":
344       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
345
346     "src/third_party/swig/win":
347       "/trunk/deps/third_party/swig/win@" + Var("swig_revision"),
348
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")),
357
358     # Dependencies used by libjpeg-turbo
359     "src/third_party/yasm/binaries":
360       "/trunk/deps/third_party/yasm/binaries@154708",
361
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@2058",
366
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"),
375
376     "src/third_party/nss":
377       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
378
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",
382
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",
433
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"),
437
438     "src/third_party/pdfsqueeze":
439       (Var("googlecode_url") % "pdfsqueeze") + "/trunk@5",
440
441     "src/third_party/lighttpd":
442       "/trunk/deps/third_party/lighttpd@" + Var("lighttpd_revision"),
443
444     "src/third_party/swig/mac":
445       "/trunk/deps/third_party/swig/mac@" + Var("swig_revision"),
446
447     # NSS, for SSLClientSocketNSS.
448     "src/third_party/nss":
449       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
450
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",
458
459     "src/third_party/xdg-utils":
460       "/trunk/deps/third_party/xdg-utils@203785",
461
462     "src/third_party/swig/linux":
463       "/trunk/deps/third_party/swig/linux@" + Var("swig_revision"),
464
465     "src/third_party/lss":
466       ((Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@" +
467        Var("lss_revision")),
468
469     # For Linux and Chromium OS.
470     "src/third_party/cros_system_api":
471       Var("chromiumos_git") + "/platform/system_api.git" +
472       "@916c5d850ca4424b1de79e9e1054f34a23ee2e33",
473
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",
478
479     # Build tools for targeting ChromeOS.
480     "src/third_party/chromite":
481       Var("chromiumos_git") + "/chromite.git" +
482       "@aaa614c9521c705071737f840f68d1262036bebe",
483
484     # Dependency of chromite.git.
485     "src/third_party/pyelftools":
486       Var("chromiumos_git") + "/third_party/pyelftools.git" +
487       "@bdc1d380acd88d4bfaf47265008091483b0d614e",
488
489     "src/third_party/undoview":
490       "/trunk/deps/third_party/undoview@119694",
491
492     "src/third_party/liblouis/src":
493       Var("chromium_git") +
494       "/external/liblouis.git@3c2daee56250162e5a75830871601d74328d39f5",
495
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       "@84ff5f258a86d40ae69ccefde2efa45e52a9808c",
505
506     "src/third_party/aosp":
507       "/trunk/deps/third_party/aosp@148330",
508
509     "src/third_party/apache-mime4j":
510       "/trunk/deps/third_party/apache-mime4j@170888",
511
512     "src/third_party/findbugs":
513       "/trunk/deps/third_party/findbugs@245039",
514
515     "src/third_party/freetype":
516       Var("chromium_git") + "/chromium/src/third_party/freetype.git" +
517       "@a2b9955b49034a51dfbc8bf9f4e9d312149cecac",
518
519     "src/third_party/guava/src":
520       Var("chromium_git") + "/external/guava-libraries.git" +
521       "@c523556ab7d0f05afadebd20e7768d4c16af8771",
522
523     "src/third_party/httpcomponents-client":
524       "/trunk/deps/third_party/httpcomponents-client@170888",
525
526     "src/third_party/httpcomponents-core":
527       "/trunk/deps/third_party/httpcomponents-core@170888",
528
529     "src/third_party/jarjar":
530       "/trunk/deps/third_party/jarjar@170888",
531
532     "src/third_party/jsr-305/src":
533       (Var("googlecode_url") % "jsr-305") + "/trunk@51",
534
535     "src/third_party/lss":
536       ((Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@" +
537        Var("lss_revision")),
538
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",
541
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   },
546 }
547
548
549 include_rules = [
550   # Everybody can use some things.
551   "+base",
552   "+build",
553   "+ipc",
554
555   # Everybody can use headers generated by tools/generate_library_loader.
556   "+library_loaders",
557
558   "+testing",
559   "+third_party/icu/source/common/unicode",
560   "+third_party/icu/source/i18n/unicode",
561   "+url",
562 ]
563
564
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",
579 ]
580
581
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          "--no-arm-trusted",
592          "--keep",
593     ],
594   },
595   {
596     # Downloads an ARM sysroot image to src/arm-sysroot. This image updates
597     # at about the same rate that the chrome build deps change.
598     # This script is a no-op except for linux users who have
599     # target_arch=arm in their GYP_DEFINES.
600     "name": "sysroot",
601     "pattern": ".",
602     "action": ["python", "src/build/linux/install-arm-sysroot.py",
603                "--linux-only"],
604   },
605   {
606     # Downloads the Debian Wheezy sysroot to chrome/installer/linux if needed.
607     # This sysroot updates at about the same rate that the chrome build deps
608     # change. This script is a no-op except for linux users who are doing
609     # official chrome builds.
610     "name": "sysroot",
611     "pattern": ".",
612     "action": [
613         "python",
614         "src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py",
615         "--linux-only",
616         "--arch=amd64"],
617   },
618   {
619     # Same as above, but for 32-bit Linux.
620     "name": "sysroot",
621     "pattern": ".",
622     "action": [
623         "python",
624         "src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py",
625         "--linux-only",
626         "--arch=i386"],
627   },
628   {
629     # Pull clang if on Mac or clang is requested via GYP_DEFINES.
630     "name": "clang",
631     "pattern": ".",
632     "action": ["python", "src/tools/clang/scripts/update.py", "--if-needed"],
633   },
634   {
635     # Update the Windows toolchain if necessary.
636     "name": "win_toolchain",
637     "pattern": ".",
638     "action": ["python", "src/build/vs_toolchain.py", "update"],
639   },
640   {
641     # Update LASTCHANGE. This is also run by export_tarball.py in
642     # src/tools/export_tarball - please keep them in sync.
643     "name": "lastchange",
644     "pattern": ".",
645     "action": ["python", "src/build/util/lastchange.py",
646                "-o", "src/build/util/LASTCHANGE"],
647   },
648   {
649     # Update LASTCHANGE.blink. 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                "-s", "src/third_party/WebKit",
655                "-o", "src/build/util/LASTCHANGE.blink"],
656   },
657   # Pull GN binaries. This needs to be before running GYP below.
658   {
659     "name": "gn_win",
660     "pattern": ".",
661     "action": [ "download_from_google_storage",
662                 "--no_resume",
663                 "--platform=win32",
664                 "--no_auth",
665                 "--bucket", "chromium-gn",
666                 "-s", "src/tools/gn/bin/win/gn.exe.sha1",
667     ],
668   },
669   {
670     "name": "gn_mac",
671     "pattern": ".",
672     "action": [ "download_from_google_storage",
673                 "--no_resume",
674                 "--platform=darwin",
675                 "--no_auth",
676                 "--bucket", "chromium-gn",
677                 "-s", "src/tools/gn/bin/mac/gn.sha1",
678     ],
679   },
680   {
681     "name": "gn_linux",
682     "pattern": ".",
683     "action": [ "download_from_google_storage",
684                 "--no_resume",
685                 "--platform=linux*",
686                 "--no_auth",
687                 "--bucket", "chromium-gn",
688                 "-s", "src/tools/gn/bin/linux/gn.sha1",
689     ],
690   },
691   {
692     "name": "gn_linux32",
693     "pattern": ".",
694     "action": [ "download_from_google_storage",
695                 "--no_resume",
696                 "--platform=linux*",
697                 "--no_auth",
698                 "--bucket", "chromium-gn",
699                 "-s", "src/tools/gn/bin/linux/gn32.sha1",
700     ],
701   },
702   # Pull clang-format binaries using checked-in hashes.
703   {
704     "name": "clang_format_win",
705     "pattern": ".",
706     "action": [ "download_from_google_storage",
707                 "--no_resume",
708                 "--platform=win32",
709                 "--no_auth",
710                 "--bucket", "chromium-clang-format",
711                 "-s", "src/third_party/clang_format/bin/win/clang-format.exe.sha1",
712     ],
713   },
714   {
715     "name": "clang_format_mac",
716     "pattern": ".",
717     "action": [ "download_from_google_storage",
718                 "--no_resume",
719                 "--platform=darwin",
720                 "--no_auth",
721                 "--bucket", "chromium-clang-format",
722                 "-s", "src/third_party/clang_format/bin/mac/clang-format.sha1",
723     ],
724   },
725   {
726     "name": "clang_format_linux",
727     "pattern": ".",
728     "action": [ "download_from_google_storage",
729                 "--no_resume",
730                 "--platform=linux*",
731                 "--no_auth",
732                 "--bucket", "chromium-clang-format",
733                 "-s", "src/third_party/clang_format/bin/linux/clang-format.sha1",
734     ],
735   },
736   # Pull binutils for linux, enabled debug fission for faster linking /
737   # debugging when used with clang on Ubuntu Precise.
738   # https://code.google.com/p/chromium/issues/detail?id=352046
739   {
740     "name": "binutils",
741     "pattern": "src/third_party/binutils",
742     "action": [
743         "python",
744         "src/third_party/binutils/download.py",
745     ],
746   },
747   # Pull eu-strip binaries using checked-in hashes.
748   {
749     "name": "eu-strip",
750     "pattern": ".",
751     "action": [ "download_from_google_storage",
752                 "--no_resume",
753                 "--platform=linux*",
754                 "--no_auth",
755                 "--bucket", "chromium-eu-strip",
756                 "-s", "src/build/linux/bin/eu-strip.sha1",
757     ],
758   },
759   {
760     # A change to a .gyp, .gypi, or to GYP itself should run the generator.
761     "name": "gyp",
762     "pattern": ".",
763     "action": ["python", "src/build/gyp_chromium"],
764   },
765 ]