Fix crash when JS alert from background page appears during lock screen
[chromium-blink-merge.git] / DEPS
blob9706479db67023ecf2741d13cb93c72af32caebb
1 # When adding a new dependency, please update the top-level .gitignore file
2 # to list the dependency's destination directory.
4 vars = {
5   # Use this googlecode_url variable only if there is an internal mirror for it.
6   # If you do not know, use the full path while defining your new deps entry.
7   "googlecode_url": "http://%s.googlecode.com/svn",
8   "sourceforge_url": "http://%(repo)s.svn.sourceforge.net/svnroot/%(repo)s",
9   "webkit_trunk": "http://src.chromium.org/blink/trunk",
10   "nacl_trunk": "http://src.chromium.org/native_client/trunk",
11   "webkit_revision": "151349",
12   "chromium_git": "https://chromium.googlesource.com",
13   "chromiumos_git": "https://chromium.googlesource.com/chromiumos",
14   "swig_revision": "69281",
15   "nacl_revision": "11406",
16   # After changing nacl_revision, run 'glient sync' and check native_client/DEPS
17   # to update other nacl_*_revision's.
18   "nacl_tools_revision": "11323",  # native_client/DEPS: tools_rev
19   "gtm_revision": "608",
21   "libjingle_revision": "321",
22   "libphonenumber_revision": "456",
23   "libvpx_revision": "197977",
24   "lss_revision": "20",
26   # These two FFmpeg variables must be updated together.  One is used for SVN
27   # checkouts and the other for Git checkouts.
28   "ffmpeg_revision": "201877",
29   "ffmpeg_hash": "077e57825aec6da2fb11d85484ac3132d164aa34",
31   "sfntly_revision": "134",
32   "skia_revision": "9331",
33   # Three lines of non-changing comments so that
34   # the commit queue can handle CLs rolling Skia
35   # and V8 without interference from each other.
36   "v8_revision": "14861",
37   # Three lines of non-changing comments so that
38   # the commit queue can handle CLs rolling WebRTC
39   # and V8 without interference from each other.
40   "webrtc_revision": "4125",
41   "jsoncpp_revision": "248",
42   "nss_revision": "200337",
43   # Three lines of non-changing comments so that
44   # the commit queue can handle CLs rolling swarm_client
45   # and whatever else without interference from each other.
46   "swarm_revision": "201600",
47   # Three lines of non-changing comments so that
48   # the commit queue can handle CLs rolling openssl
49   # and whatever else without interference from each other.
50   "openssl_revision": "194187",
52   "ios_webkit_trunk": "http://svn.webkit.org/repository/webkit/trunk",
53   # Three lines of non-changing comments so that
54   # the commit queue can handle CLs rolling openssl
55   # and whatever else without interference from each other.
56   "ios_webkit_revision": "147503",
59 deps = {
60   "src/breakpad/src":
61     (Var("googlecode_url") % "google-breakpad") + "/trunk/src@1182",
63   "src/googleurl":
64     (Var("googlecode_url") % "google-url") + "/trunk@183",
66   "src/sdch/open-vcdiff":
67     (Var("googlecode_url") % "open-vcdiff") + "/trunk@42",
69   "src/testing/gtest":
70     (Var("googlecode_url") % "googletest") + "/trunk@629",
72   "src/testing/gmock":
73     (Var("googlecode_url") % "googlemock") + "/trunk@410",
75   "src/third_party/angle":
76     (Var("googlecode_url") % "angleproject") + "/trunk@2245",
78   "src/third_party/trace-viewer":
79     (Var("googlecode_url") % "trace-viewer") + "/trunk@517",
81   "src/third_party/WebKit":
82     Var("webkit_trunk") + "@" + Var("webkit_revision"),
84   "src/third_party/icu":
85     "/trunk/deps/third_party/icu46@199252",
87   "src/third_party/libexif/sources":
88     "/trunk/deps/third_party/libexif/sources@146817",
90   "src/third_party/hunspell":
91    "/trunk/deps/third_party/hunspell@197309",
93   "src/third_party/hunspell_dictionaries":
94     "/trunk/deps/third_party/hunspell_dictionaries@193701",
96   "src/third_party/safe_browsing/testing":
97     (Var("googlecode_url") % "google-safe-browsing") + "/trunk/testing@112",
99   "src/third_party/cacheinvalidation/src":
100     (Var("googlecode_url") % "google-cache-invalidation-api") +
101     "/trunk/src@303",
103   "src/third_party/leveldatabase/src":
104     (Var("googlecode_url") % "leveldb") + "/trunk@73",
106   "src/third_party/snappy/src":
107     (Var("googlecode_url") % "snappy") + "/trunk@74",
109   "src/tools/grit":
110     (Var("googlecode_url") % "grit-i18n") + "/trunk@121",
112   "src/tools/gyp":
113     (Var("googlecode_url") % "gyp") + "/trunk@1636",
115   "src/tools/swarm_client":
116     "/trunk/tools/swarm_client@" + Var("swarm_revision"),
118   "src/v8":
119     (Var("googlecode_url") % "v8") + "/trunk@" + Var("v8_revision"),
121   "src/native_client":
122     Var("nacl_trunk") + "/src/native_client@" + Var("nacl_revision"),
124   "src/third_party/pymox/src":
125     (Var("googlecode_url") % "pymox") + "/trunk@70",
127   "src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin":
128     Var("nacl_trunk") + "/src/native_client/tests/prebuilt@" +
129     Var("nacl_revision"),
131   "src/third_party/sfntly/cpp/src":
132     (Var("googlecode_url") % "sfntly") + "/trunk/cpp/src@" +
133     Var("sfntly_revision"),
135   "src/third_party/skia/src":
136     (Var("googlecode_url") % "skia") + "/trunk/src@" + Var("skia_revision"),
138   "src/third_party/skia/gyp":
139     (Var("googlecode_url") % "skia") + "/trunk/gyp@" + Var("skia_revision"),
141   "src/third_party/skia/include":
142     (Var("googlecode_url") % "skia") + "/trunk/include@" + Var("skia_revision"),
144   "src/third_party/ots":
145     (Var("googlecode_url") % "ots") + "/trunk@97",
147   "src/tools/page_cycler/acid3":
148     "/trunk/deps/page_cycler/acid3@171600",
150   "src/chrome/test/data/perf/canvas_bench":
151     "/trunk/deps/canvas_bench@122605",
153   "src/chrome/test/data/perf/frame_rate/content":
154     "/trunk/deps/frame_rate/content@93671",
156   "src/chrome/test/data/perf/third_party/octane":
157     (Var("googlecode_url") % "octane-benchmark") + "/trunk@19",
159   "src/third_party/bidichecker":
160     (Var("googlecode_url") % "bidichecker") + "/trunk/lib@4",
162   "src/third_party/v8-i18n":
163     (Var("googlecode_url") % "v8-i18n") + "/trunk@180",
165   # When roll to another webgl conformance tests revision, please goto
166   # chrome/test/gpu and run generate_webgl_conformance_test_list.py.
167   "src/third_party/webgl_conformance":
168     "/trunk/deps/third_party/webgl/sdk/tests@202601",
170   # We run these layout tests as UI tests. Since many of the buildbots that
171   # run layout tests do NOT have access to the LayoutTest directory, we need
172   # to map them here. In practice, these do not take up much space.
173   #
174   # TODO: crbug.com/230215. Remove these and update the tests to pull directly
175   # from the Blink repo since the layout tests are now always checked out.
176   "src/content/test/data/layout_tests/LayoutTests/fast/events":
177     Var("webkit_trunk") + "/LayoutTests/fast/events@" +
178     Var("webkit_revision"),
179   "src/content/test/data/layout_tests/LayoutTests/fast/js/resources":
180     Var("webkit_trunk") + "/LayoutTests/fast/js/resources@" +
181     Var("webkit_revision"),
182   "src/content/test/data/layout_tests/LayoutTests/fast/workers":
183     Var("webkit_trunk") + "/LayoutTests/fast/workers@" +
184     Var("webkit_revision"),
185   "src/content/test/data/layout_tests/LayoutTests/http/tests/resources":
186     Var("webkit_trunk") + "/LayoutTests/http/tests/resources@" +
187     Var("webkit_revision"),
188   "src/content/test/data/layout_tests/LayoutTests/http/tests/workers":
189     Var("webkit_trunk") + "/LayoutTests/http/tests/workers@" +
190     Var("webkit_revision"),
191   "src/content/test/data/layout_tests/LayoutTests/http/tests/xmlhttprequest":
192     Var("webkit_trunk") + "/LayoutTests/http/tests/xmlhttprequest@" +
193     Var("webkit_revision"),
194   "src/content/test/data/layout_tests/LayoutTests/http/tests/websocket/tests":
195     Var("webkit_trunk") + "/LayoutTests/http/tests/websocket/tests@" +
196     Var("webkit_revision"),
197   "src/content/test/data/layout_tests/LayoutTests/platform/chromium-win/fast/events":
198     Var("webkit_trunk") + "/LayoutTests/platform/chromium-win/fast/events@" +
199     Var("webkit_revision"),
200   "src/content/test/data/layout_tests/LayoutTests/platform/chromium-win/fast/workers":
201     Var("webkit_trunk") + "/LayoutTests/platform/chromium-win/fast/workers@" +
202     Var("webkit_revision"),
203   "src/content/test/data/layout_tests/LayoutTests/http/tests/appcache":
204     Var("webkit_trunk") + "/LayoutTests/http/tests/appcache@" +
205     Var("webkit_revision"),
206   "src/content/test/data/layout_tests/LayoutTests/platform/chromium-win/http/tests/workers":
207     Var("webkit_trunk") + "/LayoutTests/platform/chromium-win/http/tests/workers@" +
208     Var("webkit_revision"),
209   "src/content/test/data/layout_tests/LayoutTests/platform/chromium-win/storage/domstorage":
210     Var("webkit_trunk") + "/LayoutTests/platform/chromium-win/storage/domstorage@" +
211     Var("webkit_revision"),
212   "src/content/test/data/layout_tests/LayoutTests/storage/domstorage":
213     Var("webkit_trunk") + "/LayoutTests/storage/domstorage@" +
214     Var("webkit_revision"),
215   "src/content/test/data/layout_tests/LayoutTests/storage/indexeddb":
216     Var("webkit_trunk") + "/LayoutTests/storage/indexeddb@" +
217     Var("webkit_revision"),
218   "src/content/test/data/layout_tests/LayoutTests/fast/files":
219     Var("webkit_trunk") + "/LayoutTests/fast/files@" +
220     Var("webkit_revision"),
221   "src/content/test/data/layout_tests/LayoutTests/fast/filesystem":
222     Var("webkit_trunk") + "/LayoutTests/fast/filesystem@" +
223     Var("webkit_revision"),
224   "src/content/test/data/layout_tests/LayoutTests/media":
225     Var("webkit_trunk") + "/LayoutTests/media@" +
226     Var("webkit_revision"),
227   "src/content/test/data/layout_tests/LayoutTests/editing/pasteboard/resources":
228     Var("webkit_trunk") + "/LayoutTests/editing/pasteboard/resources@" +
229     Var("webkit_revision"),
231   "src/third_party/swig/Lib":
232     "/trunk/deps/third_party/swig/Lib@" + Var("swig_revision"),
234   # Make sure you update the two functional.DEPS and webdriver.DEPS too.
235   "src/third_party/webdriver/pylib":
236     (Var("googlecode_url") % "selenium") + "/trunk/py@16922",
238   "src/third_party/libvpx":
239     "/trunk/deps/third_party/libvpx@" +
240     Var("libvpx_revision"),
242   "src/third_party/ffmpeg":
243     "/trunk/deps/third_party/ffmpeg@" +
244     Var("ffmpeg_revision"),
246   "src/third_party/libjingle/source":
247     (Var("googlecode_url") % "libjingle") + "/trunk@" +
248     Var("libjingle_revision"),
250   "src/third_party/usrsctp/usrsctplib":
251     (Var("googlecode_url") % "sctp-refimpl") +
252     "/trunk/KERN/usrsctp/usrsctplib@8463",
254   "src/third_party/libsrtp":
255     "/trunk/deps/third_party/libsrtp@189528",
257   "src/third_party/speex":
258     "/trunk/deps/third_party/speex@198168",
260   "src/third_party/yasm/source/patched-yasm":
261     "/trunk/deps/third_party/yasm/patched-yasm@167605",
263   "src/third_party/libjpeg_turbo":
264     "/trunk/deps/third_party/libjpeg_turbo@177737",
266   "src/third_party/flac":
267     "/trunk/deps/third_party/flac@198139",
269   "src/third_party/pyftpdlib/src":
270     (Var("googlecode_url") % "pyftpdlib") + "/trunk@977",
272   "src/third_party/scons-2.0.1":
273     Var("nacl_trunk") + "/src/third_party/scons-2.0.1@" +
274         Var("nacl_tools_revision"),
276   "src/third_party/webrtc":
277     (Var("googlecode_url") % "webrtc") + "/stable/webrtc@" + Var("webrtc_revision"),
279   "src/third_party/openmax_dl":
280     (Var("googlecode_url") % "webrtc") + "/deps/third_party/openmax@3720",
282   "src/third_party/jsoncpp/source/include":
283     (Var("sourceforge_url") % {"repo": "jsoncpp"}) +
284         "/trunk/jsoncpp/include@" + Var("jsoncpp_revision"),
286   "src/third_party/jsoncpp/source/src/lib_json":
287     (Var("sourceforge_url") % {"repo": "jsoncpp"}) +
288         "/trunk/jsoncpp/src/lib_json@" + Var("jsoncpp_revision"),
290   "src/third_party/libyuv":
291     (Var("googlecode_url") % "libyuv") + "/trunk@698",
293   "src/third_party/smhasher/src":
294     (Var("googlecode_url") % "smhasher") + "/trunk@149",
296   "src/third_party/libphonenumber/src/phonenumbers":
297      (Var("googlecode_url") % "libphonenumber") +
298          "/trunk/cpp/src/phonenumbers@" + Var("libphonenumber_revision"),
299   "src/third_party/libphonenumber/src/test":
300      (Var("googlecode_url") % "libphonenumber") + "/trunk/cpp/test@" +
301          Var("libphonenumber_revision"),
302   "src/third_party/libphonenumber/src/resources":
303      (Var("googlecode_url") % "libphonenumber") + "/trunk/resources@" +
304          Var("libphonenumber_revision"),
306   "src/third_party/undoview":
307     "/trunk/deps/third_party/undoview@119694",
309   "src/tools/deps2git":
310     "/trunk/tools/deps2git@202885",
312   "src/third_party/webpagereplay":
313     (Var("googlecode_url") % "web-page-replay") + "/trunk@511",
315   "src/third_party/pywebsocket/src":
316     (Var("googlecode_url") % "pywebsocket") + "/trunk/src@662",
318   "src/third_party/opus/src":
319     "/trunk/deps/third_party/opus@185324",
321   "src/third_party/accessibility-developer-tools":
322     Var("chromium_git") + "/external/accessibility-developer-tools.git@ad5df9a5341d38778658c90e4aa241c4ebe4e8aa",
324   "src/webkit/media/crypto/ppapi/cdm":
325     "/trunk/deps/cdm@181763",
329 deps_os = {
330   "win": {
331     "src/chrome/tools/test/reference_build/chrome_win":
332       "/trunk/deps/reference_builds/chrome_win@197743",
334     "src/third_party/cygwin":
335       "/trunk/deps/third_party/cygwin@133786",
337     "src/third_party/python_26":
338       "/trunk/tools/third_party/python_26@89111",
340     "src/third_party/psyco_win32":
341       "/trunk/deps/third_party/psyco_win32@79861",
343     "src/third_party/bison":
344       "/trunk/deps/third_party/bison@147303",
346     "src/third_party/gperf":
347       "/trunk/deps/third_party/gperf@147304",
349     "src/third_party/perl":
350       "/trunk/deps/third_party/perl@147900",
352     "src/third_party/lighttpd":
353       "/trunk/deps/third_party/lighttpd@33727",
355     # Chrome Frame related deps
356     "src/third_party/xulrunner-sdk":
357       "/trunk/deps/third_party/xulrunner-sdk@119756",
358     "src/chrome_frame/tools/test/reference_build/chrome_win":
359       "/trunk/deps/reference_builds/chrome_win@89574",
361     # Parses Windows PE/COFF executable format.
362     "src/third_party/pefile":
363       (Var("googlecode_url") % "pefile") + "/trunk@63",
365     # NSS, for SSLClientSocketNSS.
366     "src/third_party/nss":
367       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
369     "src/third_party/swig/win":
370       "/trunk/deps/third_party/swig/win@" + Var("swig_revision"),
372     # GNU binutils assembler for x86-32.
373     "src/third_party/gnu_binutils":
374       (Var("nacl_trunk") + "/deps/third_party/gnu_binutils@" +
375        Var("nacl_tools_revision")),
376     # GNU binutils assembler for x86-64.
377     "src/third_party/mingw-w64/mingw/bin":
378       (Var("nacl_trunk") + "/deps/third_party/mingw-w64/mingw/bin@" +
379        Var("nacl_tools_revision")),
381     # Dependencies used by libjpeg-turbo
382     "src/third_party/yasm/binaries":
383       "/trunk/deps/third_party/yasm/binaries@154708",
385     # Binary level profile guided optimizations. This points to the
386     # latest release binaries for the toolchain.
387     "src/third_party/syzygy/binaries":
388       (Var("googlecode_url") % "sawbuck") + "/trunk/syzygy/binaries@1528",
390     # Binaries for nacl sdk.
391     "src/third_party/nacl_sdk_binaries":
392       "/trunk/deps/third_party/nacl_sdk_binaries@111576",
393   },
394   "ios": {
395     "src/third_party/GTM":
396       (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@" +
397       Var("gtm_revision"),
399     "src/third_party/nss":
400       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
402     # class-dump utility to generate header files for undocumented SDKs
403     "src/testing/iossim/third_party/class-dump":
404       "/trunk/deps/third_party/class-dump@199203",
406     # Pull only the headers from WebKit.
407     "src/third_party/WebKit/Source/WebKit/chromium/public":
408       Var("ios_webkit_trunk") + "/Source/WebKit/chromium/public@" +
409       Var("ios_webkit_revision"),
410     "src/third_party/WebKit/Source/Platform/chromium/public":
411       Var("ios_webkit_trunk") + "/Source/Platform/chromium/public@" +
412       Var("ios_webkit_revision"),
413     # Pull only the headers from Blink.
414     "src/third_party/WebKit/public":
415       Var("webkit_trunk") + "/public@" + Var("webkit_revision"),
417     # Code that's not needed due to not building everything (especially WebKit).
418     "src/build/util/support": None,
419     "src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin": None,
420     "src/content/test/data/layout_tests/LayoutTests/editing/pasteboard/resources": None,
421     "src/content/test/data/layout_tests/LayoutTests/fast/events": None,
422     "src/content/test/data/layout_tests/LayoutTests/fast/filesystem_temp": None,
423     "src/content/test/data/layout_tests/LayoutTests/fast/js/resources": None,
424     "src/content/test/data/layout_tests/LayoutTests/fast/workers": None,
425     "src/content/test/data/layout_tests/LayoutTests/http/tests/appcache": None,
426     "src/content/test/data/layout_tests/LayoutTests/http/tests/resources": None,
427     "src/content/test/data/layout_tests/LayoutTests/http/tests/websocket/tests": None,
428     "src/content/test/data/layout_tests/LayoutTests/http/tests/workers": None,
429     "src/content/test/data/layout_tests/LayoutTests/http/tests/xmlhttprequest": None,
430     "src/content/test/data/layout_tests/LayoutTests/media": None,
431     "src/content/test/data/layout_tests/LayoutTests/platform/chromium-win/fast/events": None,
432     "src/content/test/data/layout_tests/LayoutTests/platform/chromium-win/fast/workers": None,
433     "src/content/test/data/layout_tests/LayoutTests/platform/chromium-win/http/tests/workers": None,
434     "src/content/test/data/layout_tests/LayoutTests/platform/chromium-win/storage/domstorage": None,
435     "src/content/test/data/layout_tests/LayoutTests/storage/indexeddb": None,
436     "src/content/test/data/layout_tests/LayoutTests/storage/domstorage": None,
437     "src/chrome/test/data/perf/canvas_bench": None,
438     "src/chrome/test/data/perf/frame_rate/content": None,
439     "src/native_client": None,
440     "src/native_client/src/third_party/ppapi": None,
441     "src/third_party/angle": None,
442     "src/third_party/bidichecker": None,
443     "src/third_party/webgl_conformance": None,
444     "src/third_party/ffmpeg": None,
445     "src/third_party/hunspell_dictionaries": None,
446     "src/third_party/hunspell": None,
447     "src/third_party/leveldatabase/src": None,
448     "src/third_party/libexif/sources": None,
449     "src/third_party/libjpeg_turbo": None,
450     "src/third_party/libphonenumber/src/phonenumbers": None,
451     "src/third_party/libphonenumber/src/test": None,
452     "src/third_party/libphonenumber/src/resources": None,
453     "src/third_party/libsrtp": None,
454     "src/third_party/usrsctp": None,
455     "src/third_party/libvpx": None,
456     "src/third_party/libyuv": None,
457     "src/third_party/ots": None,
458     "src/third_party/pylib": None,
459     "src/third_party/pymox/src": None,
460     "src/third_party/safe_browsing/testing": None,
461     "src/third_party/scons-2.0.1": None,
462     "src/third_party/sfntly/cpp/src": None,
463     "src/third_party/smhasher/src": None,
464     "src/third_party/snappy/src": None,
465     "src/third_party/swig/Lib": None,
466     "src/third_party/undoview": None,
467     "src/third_party/v8-i18n": None,
468     "src/third_party/webdriver/pylib": None,
469     "src/third_party/webpagereplay": None,
470     "src/third_party/webrtc": None,
471     "src/third_party/WebKit": None,
472     "src/third_party/yasm/source/patched-yasm": None,
473     "src/tools/page_cycler/acid3": None,
474     "src/v8": None,
475   },
476   "mac": {
477     "src/chrome/tools/test/reference_build/chrome_mac":
478       "/trunk/deps/reference_builds/chrome_mac@197743",
480     "src/third_party/GTM":
481       (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@" +
482       Var("gtm_revision"),
483     "src/third_party/pdfsqueeze":
484       (Var("googlecode_url") % "pdfsqueeze") + "/trunk@5",
485     "src/third_party/lighttpd":
486       "/trunk/deps/third_party/lighttpd@33737",
488     "src/third_party/swig/mac":
489       "/trunk/deps/third_party/swig/mac@" + Var("swig_revision"),
491     # NSS, for SSLClientSocketNSS.
492     "src/third_party/nss":
493       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
495     "src/chrome/installer/mac/third_party/xz/xz":
496       "/trunk/deps/third_party/xz@189101",
497   },
498   "unix": {
499     # Linux, really.
500     "src/chrome/tools/test/reference_build/chrome_linux":
501       "/trunk/deps/reference_builds/chrome_linux@197743",
503     "src/third_party/xdg-utils":
504       "/trunk/deps/third_party/xdg-utils@149334",
506     "src/third_party/swig/linux":
507       "/trunk/deps/third_party/swig/linux@" + Var("swig_revision"),
509     "src/third_party/lss":
510       ((Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@" +
511        Var("lss_revision")),
513     "src/third_party/openssl":
514       "/trunk/deps/third_party/openssl@" + Var("openssl_revision"),
516     "src/third_party/gold":
517       "/trunk/deps/third_party/gold@168091",
519     "src/third_party/libmtp":
520       "/trunk/deps/third_party/libmtp@178673",
522     # Used on Linux only. CrOS already has a copy.
523     "src/third_party/mtpd/source":
524       Var("chromiumos_git") + "/platform/mtpd.git" +
525       "@132604f107368f617a3073ba2d515b78641ceeed",
527     # Used on Linux only. CrOS already has a copy.
528     "src/third_party/cros_dbus_cplusplus/source":
529       Var("chromiumos_git") + "/third_party/dbus-cplusplus.git" +
530       "@5e8f6d9db5c2abfb91d91f751184f25bb5cd0900",
532     # For Linux and Chromium OS.
533     "src/third_party/cros_system_api":
534       Var("chromiumos_git") + "/platform/system_api.git" +
535       "@1a1724c66ebed6cca383d8fd0d23ca9b29ef80a3",
537     # Note that this is different from Android's freetype repo.
538     "src/third_party/freetype2/src":
539       Var("chromium_git") + "/chromium/src/third_party/freetype2.git" +
540       "@d699c2994ecc178c4ed05ac2086061b2034c2178",
542     # Build tools for targeting ChromeOS.
543     "src/third_party/chromite":
544       Var("chromiumos_git") + "/chromite.git" +
545       "@785fedc51fc430445d8f397440012ea3b489bac9",
547     # Dependency of chromite.git.
548     "src/third_party/pyelftools":
549       Var("chromiumos_git") + "/third_party/pyelftools.git" +
550       "@bdc1d380acd88d4bfaf47265008091483b0d614e",
551   },
552   "android": {
553     "src/third_party/android_tools":
554       Var("chromium_git") + "/android_tools.git" +
555       "@e9da75d5e88d3e122ac60ee1d642cdcc1acb2bd8",
557     "src/third_party/aosp":
558       "/trunk/deps/third_party/aosp@148330",
560     "src/third_party/apache-mime4j":
561       "/trunk/deps/third_party/apache-mime4j@170888",
563     "src/third_party/findbugs":
564       "/trunk/deps/third_party/findbugs@163586",
566     "src/third_party/freetype":
567       Var("chromium_git") + "/chromium/src/third_party/freetype.git" +
568       "@96551feab72aac26836e9aaf4fae0962d39d5ab0",
570     "src/third_party/guava/src":
571       Var("chromium_git") + "/external/guava-libraries.git" +
572       "@c523556ab7d0f05afadebd20e7768d4c16af8771",
574     "src/third_party/httpcomponents-client":
575       "/trunk/deps/third_party/httpcomponents-client@170888",
577     "src/third_party/httpcomponents-core":
578       "/trunk/deps/third_party/httpcomponents-core@170888",
580     "src/third_party/jarjar":
581       "/trunk/deps/third_party/jarjar@170888",
583     "src/third_party/jsr-305/src":
584       (Var("googlecode_url") % "jsr-305") + "/trunk@51",
586     "src/third_party/lss":
587       ((Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@" +
588        Var("lss_revision")),
590     "src/third_party/openssl":
591       "/trunk/deps/third_party/openssl@" + Var("openssl_revision"),
593     "src/third_party/eyesfree/src/android/java/src/com/googlecode/eyesfree/braille":
594       (Var("googlecode_url") % "eyes-free") + "/trunk/braille/client/src/com/googlecode/eyesfree/braille@797",
595   },
599 include_rules = [
600   # Everybody can use some things.
601   "+base",
602   "+build",
603   "+googleurl",
604   "+ipc",
606   # Everybody can use headers generated by tools/generate_library_loader.
607   "+library_loaders",
609   "+testing",
610   "+third_party/icu/public",
614 # checkdeps.py shouldn't check include paths for files in these dirs:
615 skip_child_includes = [
616   "breakpad",
617   "chrome_frame",
618   "delegate_execute",
619   "googleurl",
620   "metro_driver",
621   "native_client_sdk",
622   "o3d",
623   "pdf",
624   "sdch",
625   "skia",
626   "testing",
627   "third_party",
628   "v8",
629   "win8",
633 hooks = [
634   {
635     # This downloads binaries for Native Client's newlib toolchain.
636     # Done in lieu of building the toolchain from scratch as it can take
637     # anywhere from 30 minutes to 4 hours depending on platform to build.
638     "pattern": ".",
639     "action": [
640         "python", "src/build/download_nacl_toolchains.py",
641          "--no-arm-trusted",
642          "--keep",
643     ],
644   },
645   {
646     # Downloads an ARM sysroot image to src/arm-sysroot. This image updates
647     # at about the same rate that the chrome build deps change.
648     # This script is a no-op except for linux users who have
649     # target_arch=arm in their GYP_DEFINES.
650     "pattern": ".",
651     "action": ["python", "src/build/linux/install-arm-sysroot.py",
652                "--linux-only"],
653   },
654   {
655     # Downloads the Debian Wheezy sysroot to chrome/installer/linux/internal
656     # if needed. This sysroot updates at about the same rate that the chrome
657     # build deps change. This script is a no-op except for linux users who have
658     # src-internal access and are doing official chrome builds.
659     "pattern": ".",
660     "action": ["python",
661                "src/build/linux/install-debian.wheezy.sysroot.wrapper.py"],
662   },
663   {
664     # Pull clang on mac. If nothing changed, or on non-mac platforms, this takes
665     # zero seconds to run. If something changed, it downloads a prebuilt clang,
666     # which takes ~20s, but clang speeds up builds by more than 20s.
667     "pattern": ".",
668     "action": ["python", "src/tools/clang/scripts/update.py", "--mac-only"],
669   },
670   {
671     # Update the cygwin mount on Windows.
672     "pattern": ".",
673     "action": ["python", "src/build/win/setup_cygwin_mount.py", "--win-only"],
674   },
675   {
676     # Update LASTCHANGE. This is also run by export_tarball.py in
677     # src/tools/export_tarball - please keep them in sync.
678     "pattern": ".",
679     "action": ["python", "src/build/util/lastchange.py",
680                "-o", "src/build/util/LASTCHANGE"],
681   },
682   {
683     # A change to a .gyp, .gypi, or to GYP itself should run the generator.
684     "pattern": ".",
685     "action": ["python", "src/build/gyp_chromium"],
686   },
687   {
688     # Check for landmines (reasons to clobber the build).
689     "pattern": ".",
690     "action": ["python", "src/build/landmines.py"],
691   },