Update .DEPS.git
[chromium-blink-merge.git] / DEPS
blobdf274c6651fca695522a916f451fd9de7cbc78c7
1 vars = {
2   # Use this googlecode_url variable only if there is an internal mirror for it.
3   # If you do not know, use the full path while defining your new deps entry.
4   "googlecode_url": "http://%s.googlecode.com/svn",
5   "sourceforge_url": "http://%(repo)s.svn.sourceforge.net/svnroot/%(repo)s",
6   "webkit_trunk": "http://svn.webkit.org/repository/webkit/trunk",
7   "nacl_trunk": "http://src.chromium.org/native_client/trunk",
8   "webkit_revision": "113217",
9   "chromium_git": "http://git.chromium.org/git",
10   "swig_revision": "69281",
11   "nacl_revision": "8134",
12   # After changing nacl_revision, run 'glient sync' and check native_client/DEPS
13   # to update other nacl_*_revision's.
14   "nacl_tools_revision": "7955",  # native_client/DEPS: tools_rev
16   # These hashes need to be updated when nacl_toolchain_revision is changed.
17   # After changing nacl_toolchain_revision, run 'gclient runhooks' to get the
18   # new values.
19   "nacl_toolchain_linux_x86_hash":
20       "ad59800b550fa1c5d0bac15774a82ed78a510827",
21   "nacl_toolchain_linux_x86_newlib_hash":
22       "569cfaa5820f18cfe179e5dcb9ef9e03b7d5cff9",
23   "nacl_toolchain_mac_x86_hash":
24       "a8afcd5a55d4499d1df27cba910102ec0413d9a6",
25   "nacl_toolchain_mac_x86_newlib_hash":
26       "d0a34734e0356d2fd611ab781c05ee994dec9b5e",
27   "nacl_toolchain_pnacl_mac_x86_32_hash":
28       "4b7e08c62431459244a9e32fc1551918ee96cf34",
29   "nacl_toolchain_pnacl_linux_x86_64_hash":
30       "8d76fec06ff9975ace6bbbfd01f3ba729c4b9a75",
31   "nacl_toolchain_pnacl_linux_x86_32_hash":
32       "e368da00aa7fd5f1958f8e817c8928df7da70bee",
33   "nacl_toolchain_pnacl_translator_hash":
34       "f9e28462709580ad7333d65c65dc56e40ed8752b",
35   "nacl_toolchain_win_x86_hash":
36       "253e3ed5fc292205d1953f78c52a72e1d42b9a18",
37   "nacl_toolchain_win_x86_newlib_hash":
38       "6ed8ac51f53cb15328165ff1143d9611c40fc5d8",
39   "nacl_toolchain_revision": "8097",
40   "pnacl_toolchain_revision": "8097",
42   "libjingle_revision": "128",
43   "libphonenumber_revision": "425",
44   "libvpx_revision": "125647",
45   "lss_revision": "9",
47   # These two FFmpeg variables must be updated together.  One is used for SVN
48   # checkouts and the other for Git checkouts.
49   "ffmpeg_revision": "127595",
50   "ffmpeg_hash": "c4db435602131b218d0c39e85ccf18a4be195e60",
52   "sfntly_revision": "128",
53   "skia_revision": "3591",
54   # Three lines of non-changing comments so that
55   # the commit queue can handle CLs rolling Skia
56   # and V8 without interference from each other.
57   "v8_revision": "11227",
58   "webrtc_revision": "1935",
59   "jsoncpp_revision": "248",
60   "nss_revision": "126189",
61   "rlz_revision": "125",
64 deps = {
65   "src/breakpad/src":
66     (Var("googlecode_url") % "google-breakpad") + "/trunk/src@939",
68   "src/build/util/support":
69     "/trunk/deps/support@20411",
71   "src/googleurl":
72     (Var("googlecode_url") % "google-url") + "/trunk@170",
74   "src/seccompsandbox":
75     (Var("googlecode_url") % "seccompsandbox") + "/trunk@178",
77   "src/sdch/open-vcdiff":
78     (Var("googlecode_url") % "open-vcdiff") + "/trunk@42",
80   "src/testing/gtest":
81     (Var("googlecode_url") % "googletest") + "/trunk@560",
83   "src/testing/gmock":
84     (Var("googlecode_url") % "googlemock") + "/trunk@374",
86   "src/third_party/angle":
87     (Var("googlecode_url") % "angleproject") + "/trunk@1008",
89   # Note that this is *not* where we check out WebKit -- this just
90   # puts some extra files into place for the real WebKit checkout to
91   # happen.  See lines mentioning "webkit_revision" for the real
92   # WebKit checkout.
93   "src/third_party/WebKit":
94     "/trunk/deps/third_party/WebKit@76115",
96   "src/third_party/icu":
97     "/trunk/deps/third_party/icu46@122842",
99   "src/third_party/hunspell":
100    "/trunk/deps/third_party/hunspell@129758",
102   "src/third_party/hunspell_dictionaries":
103     "/trunk/deps/third_party/hunspell_dictionaries@79099",
105   "src/third_party/safe_browsing/testing":
106     (Var("googlecode_url") % "google-safe-browsing") + "/trunk/testing@106",
108   "src/third_party/cacheinvalidation/files/src/google":
109     (Var("googlecode_url") % "google-cache-invalidation-api") +
110     "/trunk/src/google@203",
112   "src/third_party/leveldatabase/src":
113     (Var("googlecode_url") % "leveldb") + "/trunk@64",
115   "src/third_party/snappy/src":
116     (Var("googlecode_url") % "snappy") + "/trunk@37",
118   "src/tools/grit":
119     (Var("googlecode_url") % "grit-i18n") + "/trunk@23",
121   "src/tools/gyp":
122     (Var("googlecode_url") % "gyp") + "/trunk@1293",
124   "src/v8":
125     (Var("googlecode_url") % "v8") + "/trunk@" + Var("v8_revision"),
127   "src/native_client":
128     Var("nacl_trunk") + "/src/native_client@" + Var("nacl_revision"),
130   "src/native_client_sdk/src/site_scons":
131     Var("nacl_trunk") + "/src/native_client/site_scons@" + Var("nacl_revision"),
133   "src/third_party/pymox/src":
134     (Var("googlecode_url") % "pymox") + "/trunk@70",
136   "src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin":
137     Var("nacl_trunk") + "/src/native_client/tests/prebuilt@" +
138     Var("nacl_revision"),
140   "src/third_party/sfntly/cpp/src":
141     (Var("googlecode_url") % "sfntly") + "/trunk/cpp/src@" +
142     Var("sfntly_revision"),
144   "src/third_party/skia/src":
145     (Var("googlecode_url") % "skia") + "/trunk/src@" + Var("skia_revision"),
147   "src/third_party/skia/include":
148     (Var("googlecode_url") % "skia") + "/trunk/include@" + Var("skia_revision"),
150   "src/third_party/skia/third_party/glu":
151     (Var("googlecode_url") % "skia") + "/trunk/third_party/glu@" + Var("skia_revision"),
153   "src/third_party/WebKit/LayoutTests":
154     Var("webkit_trunk") + "/LayoutTests@" + Var("webkit_revision"),
156   "src/third_party/WebKit/Source":
157     Var("webkit_trunk") + "/Source@" + Var("webkit_revision"),
159   "src/third_party/WebKit/Tools/DumpRenderTree":
160     Var("webkit_trunk") + "/Tools/DumpRenderTree@" + Var("webkit_revision"),
162   "src/third_party/WebKit/Tools/Scripts":
163     Var("webkit_trunk") + "/Tools/Scripts@" + Var("webkit_revision"),
165   "src/third_party/WebKit/Tools/TestWebKitAPI":
166     Var("webkit_trunk") + "/Tools/TestWebKitAPI@" + Var("webkit_revision"),
168   "src/third_party/ots":
169     (Var("googlecode_url") % "ots") + "/trunk@87",
171   "src/tools/page_cycler/acid3":
172     "/trunk/deps/page_cycler/acid3@102714",
174   "src/chrome/test/data/perf/canvas_bench":
175     "/trunk/deps/canvas_bench@122605",
177   "src/chrome/test/data/perf/frame_rate/content":
178     "/trunk/deps/frame_rate/content@93671",
180   "src/third_party/bidichecker":
181     (Var("googlecode_url") % "bidichecker") + "/trunk/lib@4",
183   "src/third_party/v8-i18n":
184     (Var("googlecode_url") % "v8-i18n") + "/trunk@32",
186   # When roll to another webgl conformance tests revision, please goto
187   # chrome/test/gpu and run generate_webgl_conformance_test_list.py.
188   "src/third_party/webgl_conformance":
189     "/trunk/deps/third_party/webgl/sdk/tests@129652",
191   # We should use the same software_rendering_list.json for all branches.
192   "src/chrome/browser/resources/software_rendering_list":
193     "/trunk/deps/gpu/software_rendering_list@130226",
195   # We run these layout tests as UI tests. Since many of the buildbots that
196   # run layout tests do NOT have access to the LayoutTest directory, we need
197   # to map them here. In practice, these do not take up much space.
198   "src/content/test/data/layout_tests/LayoutTests/fast/events":
199     Var("webkit_trunk") + "/LayoutTests/fast/events@" +
200     Var("webkit_revision"),
201   "src/content/test/data/layout_tests/LayoutTests/fast/js/resources":
202     Var("webkit_trunk") + "/LayoutTests/fast/js/resources@" +
203     Var("webkit_revision"),
204   "src/content/test/data/layout_tests/LayoutTests/fast/workers":
205     Var("webkit_trunk") + "/LayoutTests/fast/workers@" +
206     Var("webkit_revision"),
207   "src/content/test/data/layout_tests/LayoutTests/http/tests/resources":
208     Var("webkit_trunk") + "/LayoutTests/http/tests/resources@" +
209     Var("webkit_revision"),
210   "src/content/test/data/layout_tests/LayoutTests/http/tests/workers":
211     Var("webkit_trunk") + "/LayoutTests/http/tests/workers@" +
212     Var("webkit_revision"),
213   "src/content/test/data/layout_tests/LayoutTests/http/tests/xmlhttprequest":
214     Var("webkit_trunk") + "/LayoutTests/http/tests/xmlhttprequest@" +
215     Var("webkit_revision"),
216   "src/content/test/data/layout_tests/LayoutTests/http/tests/websocket/tests":
217     Var("webkit_trunk") + "/LayoutTests/http/tests/websocket/tests@" +
218     Var("webkit_revision"),
219   "src/content/test/data/layout_tests/LayoutTests/platform/chromium/fast/workers":
220     Var("webkit_trunk") + "/LayoutTests/platform/chromium/fast/workers@" +
221     Var("webkit_revision"),
222   "src/content/test/data/layout_tests/LayoutTests/platform/chromium/fast/events":
223     Var("webkit_trunk") + "/LayoutTests/platform/chromium/fast/events@" +
224     Var("webkit_revision"),
225   "src/content/test/data/layout_tests/LayoutTests/platform/chromium-win/fast/events":
226     Var("webkit_trunk") + "/LayoutTests/platform/chromium-win/fast/events@" +
227     Var("webkit_revision"),
228   "src/content/test/data/layout_tests/LayoutTests/platform/chromium-win/fast/workers":
229     Var("webkit_trunk") + "/LayoutTests/platform/chromium-win/fast/workers@" +
230     Var("webkit_revision"),
231   "src/content/test/data/layout_tests/LayoutTests/http/tests/appcache":
232     Var("webkit_trunk") + "/LayoutTests/http/tests/appcache@" +
233     Var("webkit_revision"),
234   "src/content/test/data/layout_tests/LayoutTests/platform/chromium-win/http/tests/workers":
235     Var("webkit_trunk") + "/LayoutTests/platform/chromium-win/http/tests/workers@" +
236     Var("webkit_revision"),
237   "src/content/test/data/layout_tests/LayoutTests/platform/chromium-win/storage/domstorage":
238     Var("webkit_trunk") + "/LayoutTests/platform/chromium-win/storage/domstorage@" +
239     Var("webkit_revision"),
240   "src/content/test/data/layout_tests/LayoutTests/storage/domstorage":
241     Var("webkit_trunk") + "/LayoutTests/storage/domstorage@" +
242     Var("webkit_revision"),
243   "src/content/test/data/layout_tests/LayoutTests/storage/indexeddb":
244     Var("webkit_trunk") + "/LayoutTests/storage/indexeddb@" +
245     Var("webkit_revision"),
246   "src/content/test/data/layout_tests/LayoutTests/fast/filesystem/resources":
247     Var("webkit_trunk") + "/LayoutTests/fast/filesystem/resources@" +
248     Var("webkit_revision"),
249   "src/content/test/data/layout_tests/LayoutTests/media":
250     Var("webkit_trunk") + "/LayoutTests/media@" +
251     Var("webkit_revision"),
253   "src/third_party/swig/Lib":
254     "/trunk/deps/third_party/swig/Lib@" + Var("swig_revision"),
256   # Make sure you update the two functional.DEPS and webdriver.DEPS too.
257   "src/third_party/webdriver/pylib":
258     "http://selenium.googlecode.com/svn/trunk/py@13487",
260   "src/third_party/libvpx":
261     "/trunk/deps/third_party/libvpx@" +
262     Var("libvpx_revision"),
264   "src/third_party/ffmpeg":
265     "/trunk/deps/third_party/ffmpeg@" +
266     Var("ffmpeg_revision"),
268   "src/third_party/libjingle/source":
269     (Var("googlecode_url") % "libjingle") + "/trunk@" +
270     Var("libjingle_revision"),
272   "src/third_party/libsrtp":
273     "/trunk/deps/third_party/libsrtp@123853",
275   "src/third_party/speex":
276     "/trunk/deps/third_party/speex@111570",
278   "src/third_party/yasm/source/patched-yasm":
279     "/trunk/deps/third_party/yasm/patched-yasm@126079",
281   "src/third_party/libjpeg_turbo":
282     "/trunk/deps/third_party/libjpeg_turbo@126090",
284   "src/third_party/flac":
285     "/trunk/deps/third_party/flac@120197",
287   "src/third_party/pyftpdlib/src":
288     (Var("googlecode_url") % "pyftpdlib") + "/trunk@977",
290   # Needed to support nacl browser test jig.
291   "src/third_party/pylib":
292     Var("nacl_trunk") + "/src/third_party/pylib@" + Var("nacl_tools_revision"),
293   "src/third_party/scons-2.0.1":
294     Var("nacl_trunk") + "/src/third_party/scons-2.0.1@" +
295         Var("nacl_tools_revision"),
297   "src/third_party/webrtc":
298     (Var("googlecode_url") % "webrtc") + "/stable/src@" + Var("webrtc_revision"),
300   "src/third_party/jsoncpp/source/include":
301     (Var("sourceforge_url") % {"repo": "jsoncpp"}) +
302         "/trunk/jsoncpp/include@" + Var("jsoncpp_revision"),
304   "src/third_party/jsoncpp/source/src/lib_json":
305     (Var("sourceforge_url") % {"repo": "jsoncpp"}) +
306         "/trunk/jsoncpp/src/lib_json@" + Var("jsoncpp_revision"),
308   "src/third_party/libyuv":
309     (Var("googlecode_url") % "libyuv") + "/trunk@214",
311   "src/third_party/mozc/session":
312     (Var("googlecode_url") % "mozc") + "/trunk/src/session@83",
314   "src/third_party/mozc/chrome/chromeos/renderer":
315     (Var("googlecode_url") % "mozc") + "/trunk/src/chrome/chromeos/renderer@83",
317   "src/third_party/smhasher/src":
318     (Var("googlecode_url") % "smhasher") + "/trunk@136",
320   "src/third_party/libphonenumber/src/phonenumbers":
321      (Var("googlecode_url") % "libphonenumber") +
322          "/trunk/cpp/src/phonenumbers@" + Var("libphonenumber_revision"),
323   "src/third_party/libphonenumber/src/test":
324      (Var("googlecode_url") % "libphonenumber") + "/trunk/cpp/test@" +
325          Var("libphonenumber_revision"),
326   "src/third_party/libphonenumber/src/resources":
327      (Var("googlecode_url") % "libphonenumber") + "/trunk/resources@" +
328          Var("libphonenumber_revision"),
330   "src/third_party/undoview":
331     "/trunk/deps/third_party/undoview@119694",
333   "src/tools/deps2git":
334     "/trunk/tools/deps2git@128331",
338 deps_os = {
339   "win": {
340     "src/chrome/tools/test/reference_build/chrome_win":
341       "/trunk/deps/reference_builds/chrome_win@89574",
343     "src/third_party/cygwin":
344       "/trunk/deps/third_party/cygwin@66844",
346     "src/third_party/python_26":
347       "/trunk/tools/third_party/python_26@89111",
349     "src/third_party/psyco_win32":
350       "/trunk/deps/third_party/psyco_win32@79861",
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     "src/third_party/mingw-w64/mingw/bin":
373       (Var("nacl_trunk") + "/deps/third_party/mingw-w64/mingw/bin@" +
374        Var("nacl_tools_revision")),
376     "src/rlz":
377       (Var("googlecode_url") % "rlz") + "/trunk@" + Var("rlz_revision"),
379     # Dependencies used by libjpeg-turbo
380     "src/third_party/yasm/binaries":
381       "/trunk/deps/third_party/yasm/binaries@74228",
383     # Binary level profile guided optimizations. This points to the
384     # latest release binaries for the toolchain.
385     "src/third_party/syzygy/binaries":
386       (Var("googlecode_url") % "sawbuck") + "/trunk/syzygy/binaries@674",
388     # Binaries for nacl sdk.
389     "src/third_party/nacl_sdk_binaries":
390       "/trunk/deps/third_party/nacl_sdk_binaries@111576",
391   },
392   "mac": {
393     "src/chrome/tools/test/reference_build/chrome_mac":
394       "/trunk/deps/reference_builds/chrome_mac@89574",
396     "src/third_party/GTM":
397       (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@516",
398     "src/third_party/pdfsqueeze":
399       (Var("googlecode_url") % "pdfsqueeze") + "/trunk@4",
400     "src/third_party/lighttpd":
401       "/trunk/deps/third_party/lighttpd@33737",
403     "src/third_party/swig/mac":
404       "/trunk/deps/third_party/swig/mac@" + Var("swig_revision"),
406     "src/rlz":
407       (Var("googlecode_url") % "rlz") + "/trunk@" + Var("rlz_revision"),
409     # NSS, for SSLClientSocketNSS.
410     "src/third_party/nss":
411       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
413     "src/chrome/installer/mac/third_party/xz/xz":
414       "/trunk/deps/third_party/xz@87706",
415   },
416   "unix": {
417     # Linux, really.
418     "src/chrome/tools/test/reference_build/chrome_linux":
419       "/trunk/deps/reference_builds/chrome_linux@89574",
421     "src/third_party/xdg-utils":
422       "/trunk/deps/third_party/xdg-utils@93299",
424     "src/third_party/swig/linux":
425       "/trunk/deps/third_party/swig/linux@" + Var("swig_revision"),
427     "src/third_party/lss":
428       ((Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@" +
429        Var("lss_revision")),
431     "src/third_party/openssl":
432       "/trunk/deps/third_party/openssl@130472",
434     "src/third_party/WebKit/Tools/gdb":
435       Var("webkit_trunk") + "/Tools/gdb@" + Var("webkit_revision"),
437     "src/third_party/gold":
438       "/trunk/deps/third_party/gold@124239",
439   },
443 include_rules = [
444   # Everybody can use some things.
445   "+base",
446   "+build",
447   "+ipc",
449   # For now, we allow ICU to be included by specifying "unicode/...", although
450   # this should probably change.
451   "+unicode",
452   "+testing",
456 # checkdeps.py shouldn't check include paths for files in these dirs:
457 skip_child_includes = [
458   "breakpad",
459   "chrome_frame",
460   "native_client",
461   "native_client_sdk",
462   "o3d",
463   "pdf",
464   "sdch",
465   "skia",
466   "testing",
467   "third_party",
468   "v8",
472 hooks = [
473   {
474     # This downloads binaries for Native Client's newlib toolchain.
475     # Done in lieu of building the toolchain from scratch as it can take
476     # anywhere from 30 minutes to 4 hours depending on platform to build.
477     "pattern": ".",
478     "action": [
479         "python", "src/build/download_nacl_toolchains.py",
480          "--no-arm-trusted",
481          "--optional-pnacl",
482          "--pnacl-version", Var("pnacl_toolchain_revision"),
483          "--file-hash", "pnacl_linux_x86_32",
484              Var("nacl_toolchain_pnacl_linux_x86_32_hash"),
485          "--file-hash", "pnacl_linux_x86_64",
486              Var("nacl_toolchain_pnacl_linux_x86_64_hash"),
487          "--file-hash", "pnacl_translator",
488              Var("nacl_toolchain_pnacl_translator_hash"),
489          "--file-hash", "pnacl_mac_x86_32",
490              Var("nacl_toolchain_pnacl_mac_x86_32_hash"),
491          "--x86-version", Var("nacl_toolchain_revision"),
492          "--file-hash", "mac_x86_newlib",
493              Var("nacl_toolchain_mac_x86_newlib_hash"),
494          "--file-hash", "win_x86_newlib",
495              Var("nacl_toolchain_win_x86_newlib_hash"),
496          "--file-hash", "linux_x86_newlib",
497              Var("nacl_toolchain_linux_x86_newlib_hash"),
498          "--file-hash", "mac_x86",
499              Var("nacl_toolchain_mac_x86_hash"),
500          "--file-hash", "win_x86",
501              Var("nacl_toolchain_win_x86_hash"),
502          "--file-hash", "linux_x86",
503              Var("nacl_toolchain_linux_x86_hash"),
504          "--save-downloads-dir",
505              "src/native_client_sdk/src/build_tools/toolchain_archives",
506          "--keep",
507     ],
508   },
509   {
510     # Pull clang on mac. If nothing changed, or on non-mac platforms, this takes
511     # zero seconds to run. If something changed, it downloads a prebuilt clang,
512     # which takes ~20s, but clang speeds up builds by more than 20s.
513     "pattern": ".",
514     "action": ["python", "src/tools/clang/scripts/update.py", "--mac-only"],
515   },
516   {
517     # Update the cygwin mount on Windows.
518     "pattern": ".",
519     "action": ["python", "src/build/win/setup_cygwin_mount.py", "--win-only"],
520   },
521   {
522     # Update LASTCHANGE.
523     "pattern": ".",
524     "action": ["python", "src/build/util/lastchange.py",
525                "-o", "src/build/util/LASTCHANGE"],
526   },
527   {
528     # A change to a .gyp, .gypi, or to GYP itself should run the generator.
529     "pattern": ".",
530     "action": ["python", "src/build/gyp_chromium"],
531   },