Remove unreachable code in VisitDatabase::GetMostRecentVisitsForURL
[chromium-blink-merge.git] / DEPS
blob03898235d15fcb8b66e661f265d3e146e60bbc67
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": "197314",
23   "libcxxabi_revision": "197063",
24   "webkit_trunk": "http://src.chromium.org/blink/trunk",
25   "nacl_trunk": "http://src.chromium.org/native_client/trunk",
26   "webkit_revision": "168834",
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": "12835",
32   # After changing nacl_revision, run 'glient sync' and check native_client/DEPS
33   # to update other nacl_*_revision's.
34   "nacl_tools_revision": "12760",  # native_client/DEPS: tools_rev
35   "google_toolbox_for_mac_revision": "662",
36   "libaddressinput_revision": "176",
37   "libphonenumber_revision": "621",
38   "libvpx_revision": "255831",
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": "255431",
44   "ffmpeg_hash": "681ca6bfed239ad2e1a6a3c8a586839c6dbd3e87",
46   "sfntly_revision": "228",
47   "lighttpd_revision": "33737",
48   "skia_revision": "13732",
49   "skia_hash": "b5f3b35645ce5335021ecb8c34b486a3db9554eb",
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": "19777",
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": "5645",
59   "jsoncpp_revision": "248",
60   "nss_revision": "254867",
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": "dd806d645e711260c24bf7a2f061d6db091c3715",
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": "253925",
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": "fa63e947cb3eccf463648d21a05d5002c9b8adfa",
75 deps = {
76   "src/breakpad/src":
77     (Var("googlecode_url") % "google-breakpad") + "/trunk/src@1271",
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@1203",
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@ac4322a338be82b3d8b722917d6d3d057c0a3f6a",
101   "src/third_party/WebKit/LayoutTests/w3c/csswg-test":
102     Var("chromium_git") +
103     "/external/w3c/csswg-test.git@8c415e3215a203fa3a22dbdd1799279fdf44c81e",
105   "src/third_party/icu":
106     "/trunk/deps/third_party/icu46@249466",
108   "src/third_party/libexif/sources":
109     "/trunk/deps/third_party/libexif/sources@146817",
111   "src/third_party/hunspell":
112    "/trunk/deps/third_party/hunspell@206172",
114   "src/third_party/hunspell_dictionaries":
115     "/trunk/deps/third_party/hunspell_dictionaries@193701",
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@330",
124   "src/third_party/leveldatabase/src":
125     (Var("googlecode_url") % "leveldb") + "/trunk@79",
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@155",
139   "src/tools/gyp":
140     (Var("googlecode_url") % "gyp") + "/trunk@1860",
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@110",
173   "src/third_party/brotli/src":
174     Var("chromium_git") +
175     "/external/font-compression-reference.git@7f848593bd2ec83f4537b6d494a5bf55b9bd4456",
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@159f31dd34842c871032d97d360a9dce5153f585",
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@8723",
219   "src/third_party/libsrtp":
220     "/trunk/deps/third_party/libsrtp@250757",
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@251747",
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@5569",
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@979",
258   "src/third_party/smhasher/src":
259     (Var("googlecode_url") % "smhasher") + "/trunk@151",
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@248305",
281   "src/third_party/clang_format/script":
282     Var("llvm_url") + "/cfe/trunk/tools/clang-format@202065",
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@662",
290   "src/third_party/opus/src":
291     "/trunk/deps/third_party/opus@237544",
293   "src/media/cdm/ppapi/api":
294     "/trunk/deps/cdm@249141",
296   "src/third_party/mesa/src":
297     "/trunk/deps/third_party/mesa@254411",
299   "src/third_party/cld_2/src":
300     (Var("googlecode_url") % "cld2") + "/trunk@84",
302   "src/chrome/browser/resources/pdf/html_office":
303      Var("chromium_git") +
304          "/chromium/html-office-public.git@9f76cc282c471ae4ff77415384db039fcab2faa8",
306   "src/third_party/libwebm/source":
307     Var("chromium_git") +
308       "/webm/libwebm.git@0f7815b036651e242ec8c2fcfb59fe54f69be1a8",
312 deps_os = {
313   "win": {
314     "src/chrome/tools/test/reference_build/chrome_win":
315       "/trunk/deps/reference_builds/chrome_win@254637",
317     "src/third_party/cygwin":
318       "/trunk/deps/third_party/cygwin@231940",
320     "src/third_party/psyco_win32":
321       "/trunk/deps/third_party/psyco_win32@237949",
323     "src/third_party/bison":
324       "/trunk/deps/third_party/bison@147303",
326     "src/third_party/gperf":
327       "/trunk/deps/third_party/gperf@147304",
329     "src/third_party/perl":
330       "/trunk/deps/third_party/perl@147900",
332     "src/third_party/lighttpd":
333       "/trunk/deps/third_party/lighttpd@" + Var("lighttpd_revision"),
335     # Parses Windows PE/COFF executable format.
336     "src/third_party/pefile":
337       (Var("googlecode_url") % "pefile") + "/trunk@63",
339     # NSS, for SSLClientSocketNSS.
340     "src/third_party/nss":
341       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
343     "src/third_party/swig/win":
344       "/trunk/deps/third_party/swig/win@" + Var("swig_revision"),
346     # GNU binutils assembler for x86-32.
347     "src/third_party/gnu_binutils":
348       (Var("nacl_trunk") + "/deps/third_party/gnu_binutils@" +
349        Var("nacl_tools_revision")),
350     # GNU binutils assembler for x86-64.
351     "src/third_party/mingw-w64/mingw/bin":
352       (Var("nacl_trunk") + "/deps/third_party/mingw-w64/mingw/bin@" +
353        Var("nacl_tools_revision")),
355     # Dependencies used by libjpeg-turbo
356     "src/third_party/yasm/binaries":
357       "/trunk/deps/third_party/yasm/binaries@154708",
359     # Binary level profile guided optimizations. This points to the
360     # latest release binaries for the toolchain.
361     "src/third_party/syzygy/binaries":
362       (Var("googlecode_url") % "sawbuck") + "/trunk/syzygy/binaries@2058",
364     # Binaries for nacl sdk.
365     "src/third_party/nacl_sdk_binaries":
366       "/trunk/deps/third_party/nacl_sdk_binaries@111576",
367   },
368   "ios": {
369     "src/third_party/google_toolbox_for_mac/src":
370       (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@" +
371       Var("google_toolbox_for_mac_revision"),
373     "src/third_party/nss":
374       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
376     # class-dump utility to generate header files for undocumented SDKs
377     "src/testing/iossim/third_party/class-dump":
378       "/trunk/deps/third_party/class-dump@199203",
380     # Code that's not needed due to not building everything
381     "src/build/util/support": None,
382     "src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin": None,
383     "src/chrome/test/data/perf/canvas_bench": None,
384     "src/chrome/test/data/perf/frame_rate/content": None,
385     "src/chrome/test/data/perf/third_party/octane": None,
386     "src/media/cdm/ppapi/api": None,
387     "src/native_client": None,
388     "src/native_client/src/third_party/ppapi": None,
389     "src/third_party/angle": None,
390     "src/third_party/bidichecker": None,
391     "src/third_party/brotli/src": None,
392     "src/third_party/cld_2/src": None,
393     "src/third_party/ffmpeg": None,
394     "src/third_party/hunspell_dictionaries": None,
395     "src/third_party/hunspell": None,
396     "src/third_party/libaddressinput/src/cpp": None,
397     "src/third_party/libaddressinput/src/testdata": None,
398     "src/third_party/libc++/trunk": None,
399     "src/third_party/libc++abi/trunk": None,
400     "src/third_party/libexif/sources": None,
401     "src/third_party/libjpeg_turbo": None,
402     "src/third_party/libsrtp": None,
403     "src/third_party/libvpx": None,
404     "src/third_party/libyuv": None,
405     "src/third_party/mesa/src": None,
406     "src/third_party/opus/src": None,
407     "src/third_party/openmax_dl": None,
408     "src/third_party/ots": None,
409     "src/third_party/pymox/src": None,
410     "src/third_party/safe_browsing/testing": None,
411     "src/third_party/scons-2.0.1": None,
412     "src/third_party/sfntly/cpp/src": None,
413     "src/third_party/speex": None,
414     "src/third_party/swig/Lib": None,
415     "src/third_party/usrsctp/usrsctplib": None,
416     "src/third_party/v8-i18n": None,
417     "src/third_party/webdriver/pylib": None,
418     "src/third_party/webgl": None,
419     "src/third_party/webpagereplay": None,
420     "src/third_party/webrtc": None,
421     "src/third_party/WebKit/LayoutTests/w3c/web-platform-tests": None,
422     "src/third_party/WebKit/LayoutTests/w3c/csswg-test": None,
423     "src/third_party/yasm/source/patched-yasm": None,
424     "src/tools/page_cycler/acid3": None,
425     "src/v8": None,
426   },
427   "mac": {
428     "src/chrome/tools/test/reference_build/chrome_mac":
429       "/trunk/deps/reference_builds/chrome_mac@255182",
431     "src/third_party/google_toolbox_for_mac/src":
432       (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@" +
433       Var("google_toolbox_for_mac_revision"),
435     "src/third_party/pdfsqueeze":
436       (Var("googlecode_url") % "pdfsqueeze") + "/trunk@5",
438     "src/third_party/lighttpd":
439       "/trunk/deps/third_party/lighttpd@" + Var("lighttpd_revision"),
441     "src/third_party/swig/mac":
442       "/trunk/deps/third_party/swig/mac@" + Var("swig_revision"),
444     # NSS, for SSLClientSocketNSS.
445     "src/third_party/nss":
446       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
448     "src/chrome/installer/mac/third_party/xz/xz":
449       "/trunk/deps/third_party/xz@233311",
450   },
451   "unix": {
452     # Linux, really.
453     "src/chrome/tools/test/reference_build/chrome_linux":
454       "/trunk/deps/reference_builds/chrome_linux64@254637",
456     "src/third_party/xdg-utils":
457       "/trunk/deps/third_party/xdg-utils@203785",
459     "src/third_party/swig/linux":
460       "/trunk/deps/third_party/swig/linux@" + Var("swig_revision"),
462     "src/third_party/lss":
463       ((Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@" +
464        Var("lss_revision")),
466     "src/third_party/openssl":
467       "/trunk/deps/third_party/openssl@" + Var("openssl_revision"),
469     "src/third_party/gold":
470       "/trunk/deps/third_party/gold@228995",
472     "src/third_party/libmtp":
473       "/trunk/deps/third_party/libmtp@206535",
475     # Used on Linux only. CrOS already has a copy.
476     "src/third_party/mtpd/source":
477       Var("chromiumos_git") + "/platform/mtpd.git" +
478       "@e4e4656e9aa710f0617dab8746ab6116c0506ceb",
480     # Used on Linux only. CrOS already has a copy.
481     "src/third_party/cros_dbus_cplusplus/source":
482       Var("chromiumos_git") + "/third_party/dbus-cplusplus.git" +
483       "@e4120532bbf3ca9f743b0be1f539381a54d16867",
485     # For Linux and Chromium OS.
486     "src/third_party/cros_system_api":
487       Var("chromiumos_git") + "/platform/system_api.git" +
488       "@cca4793e883a03da9d472dbe0712104d49119b00",
490     # Note that this is different from Android's freetype repo.
491     "src/third_party/freetype2/src":
492       Var("chromium_git") + "/chromium/src/third_party/freetype2.git" +
493       "@d699c2994ecc178c4ed05ac2086061b2034c2178",
495     # Build tools for targeting ChromeOS.
496     "src/third_party/chromite":
497       Var("chromiumos_git") + "/chromite.git" +
498       "@1ee2901d33ae698d1f2a1d95e9f3fd5bbd5f13f9",
500     # Dependency of chromite.git.
501     "src/third_party/pyelftools":
502       Var("chromiumos_git") + "/third_party/pyelftools.git" +
503       "@bdc1d380acd88d4bfaf47265008091483b0d614e",
505     "src/third_party/undoview":
506       "/trunk/deps/third_party/undoview@119694",
508     "src/third_party/liblouis/src":
509       Var("chromium_git") +
510       "/external/liblouis.git@3c2daee56250162e5a75830871601d74328d39f5",
512     # Used for embedded builds. CrOS & Linux use the system version.
513     "src/third_party/fontconfig/src":
514       Var("chromium_git") + "/external/fontconfig.git" +
515       "@f16c3118e25546c1b749f9823c51827a60aeb5c1",
516   },
517   "android": {
518     "src/third_party/android_tools":
519       Var("chromium_git") + "/android_tools.git" +
520       "@0582bdc17b4829beb522975441546a4eb99b11b5",
522     "src/third_party/aosp":
523       "/trunk/deps/third_party/aosp@148330",
525     "src/third_party/apache-mime4j":
526       "/trunk/deps/third_party/apache-mime4j@170888",
528     "src/third_party/findbugs":
529       "/trunk/deps/third_party/findbugs@245039",
531     "src/third_party/freetype":
532       Var("chromium_git") + "/chromium/src/third_party/freetype.git" +
533       "@a2b9955b49034a51dfbc8bf9f4e9d312149cecac",
535     "src/third_party/guava/src":
536       Var("chromium_git") + "/external/guava-libraries.git" +
537       "@c523556ab7d0f05afadebd20e7768d4c16af8771",
539     "src/third_party/httpcomponents-client":
540       "/trunk/deps/third_party/httpcomponents-client@170888",
542     "src/third_party/httpcomponents-core":
543       "/trunk/deps/third_party/httpcomponents-core@170888",
545     "src/third_party/jarjar":
546       "/trunk/deps/third_party/jarjar@170888",
548     "src/third_party/jsr-305/src":
549       (Var("googlecode_url") % "jsr-305") + "/trunk@51",
551     "src/third_party/lss":
552       ((Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@" +
553        Var("lss_revision")),
555     "src/third_party/openssl":
556       "/trunk/deps/third_party/openssl@" + Var("openssl_revision"),
558     "src/third_party/eyesfree/src/android/java/src/com/googlecode/eyesfree/braille":
559       (Var("googlecode_url") % "eyes-free") + "/trunk/braille/client/src/com/googlecode/eyesfree/braille@797",
561     # Android shouldn't use this address validation library.
562     "src/third_party/libaddressinput/src/cpp": None,
563     "src/third_party/libaddressinput/src/testdata": None,
564   },
568 include_rules = [
569   # Everybody can use some things.
570   "+base",
571   "+build",
572   "+ipc",
574   # Everybody can use headers generated by tools/generate_library_loader.
575   "+library_loaders",
577   "+testing",
578   "+third_party/icu/source/common/unicode",
579   "+third_party/icu/source/i18n/unicode",
580   "+url",
584 # checkdeps.py shouldn't check include paths for files in these dirs:
585 skip_child_includes = [
586   "breakpad",
587   "delegate_execute",
588   "metro_driver",
589   "native_client_sdk",
590   "o3d",
591   "pdf",
592   "sdch",
593   "skia",
594   "testing",
595   "third_party",
596   "v8",
597   "win8",
601 hooks = [
602   {
603     # This downloads binaries for Native Client's newlib toolchain.
604     # Done in lieu of building the toolchain from scratch as it can take
605     # anywhere from 30 minutes to 4 hours depending on platform to build.
606     "name": "nacltools",
607     "pattern": ".",
608     "action": [
609         "python", "src/build/download_nacl_toolchains.py",
610          "--no-arm-trusted",
611          "--keep",
612     ],
613   },
614   {
615     # Downloads an ARM sysroot image to src/arm-sysroot. This image updates
616     # at about the same rate that the chrome build deps change.
617     # This script is a no-op except for linux users who have
618     # target_arch=arm in their GYP_DEFINES.
619     "name": "sysroot",
620     "pattern": ".",
621     "action": ["python", "src/build/linux/install-arm-sysroot.py",
622                "--linux-only"],
623   },
624   {
625     # Downloads the Debian Wheezy sysroot to chrome/installer/linux if needed.
626     # This sysroot updates at about the same rate that the chrome build deps
627     # change. This script is a no-op except for linux users who are doing
628     # official chrome builds.
629     "name": "sysroot",
630     "pattern": ".",
631     "action": [
632         "python",
633         "src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py",
634         "--linux-only",
635         "--arch=amd64"],
636   },
637   {
638     # Same as above, but for 32-bit Linux.
639     "name": "sysroot",
640     "pattern": ".",
641     "action": [
642         "python",
643         "src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py",
644         "--linux-only",
645         "--arch=i386"],
646   },
647   {
648     # Pull clang on mac. If nothing changed, or on non-mac platforms, this takes
649     # zero seconds to run. If something changed, it downloads a prebuilt clang,
650     # which takes ~20s, but clang speeds up builds by more than 20s.
651     "name": "clang",
652     "pattern": ".",
653     "action": ["python", "src/tools/clang/scripts/update.py", "--mac-only"],
654   },
655   {
656     # Update LASTCHANGE. This is also run by export_tarball.py in
657     # src/tools/export_tarball - please keep them in sync.
658     "name": "lastchange",
659     "pattern": ".",
660     "action": ["python", "src/build/util/lastchange.py",
661                "-o", "src/build/util/LASTCHANGE"],
662   },
663   {
664     # Update LASTCHANGE.blink. This is also run by export_tarball.py in
665     # src/tools/export_tarball - please keep them in sync.
666     "name": "lastchange",
667     "pattern": ".",
668     "action": ["python", "src/build/util/lastchange.py",
669                "-s", "src/third_party/WebKit",
670                "-o", "src/build/util/LASTCHANGE.blink"],
671   },
672   # Pull clang-format binaries using checked-in hashes.
673   {
674     "name": "clang_format_win",
675     "pattern": "src/third_party/clang_format/bin/win/clang-format.exe.sha1",
676     "action": [ "download_from_google_storage",
677                 "--no_resume",
678                 "--platform=win32",
679                 "--no_auth",
680                 "--bucket", "chromium-clang-format",
681                 "-s", "src/third_party/clang_format/bin/win/clang-format.exe.sha1",
682     ],
683   },
684   {
685     "name": "clang_format_mac",
686     "pattern": "src/third_party/clang_format/bin/mac/clang-format.sha1",
687     "action": [ "download_from_google_storage",
688                 "--no_resume",
689                 "--platform=darwin",
690                 "--no_auth",
691                 "--bucket", "chromium-clang-format",
692                 "-s", "src/third_party/clang_format/bin/mac/clang-format.sha1",
693     ],
694   },
695   {
696     "name": "clang_format_linux",
697     "pattern": "src/third_party/clang_format/bin/linux/clang-format.sha1",
698     "action": [ "download_from_google_storage",
699                 "--no_resume",
700                 "--platform=linux*",
701                 "--no_auth",
702                 "--bucket", "chromium-clang-format",
703                 "-s", "src/third_party/clang_format/bin/linux/clang-format.sha1",
704     ],
705   },
706   # Pull eu-strip binaries using checked-in hashes.
707   {
708     "name": "eu-strip",
709     "pattern": "src/build/linux/bin/eu-strip.sha1",
710     "action": [ "download_from_google_storage",
711                 "--no_resume",
712                 "--platform=linux*",
713                 "--no_auth",
714                 "--bucket", "chromium-eu-strip",
715                 "-s", "src/build/linux/bin/eu-strip.sha1",
716     ],
717   },
718   {
719     # A change to a .gyp, .gypi, or to GYP itself should run the generator.
720     "name": "gyp",
721     "pattern": ".",
722     "action": ["python", "src/build/gyp_chromium"],
723   },