Fixed compile warnings.
[chromium-blink-merge.git] / DEPS
blobebcbdbb5116d1f0ecaa1e474ec327415d34d52c6
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": "114606",
9   "chromium_git": "http://git.chromium.org/git",
10   "swig_revision": "69281",
11   "nacl_revision": "8290",
12   # After changing nacl_revision, run 'glient sync' and check native_client/DEPS
13   # to update other nacl_*_revision's.
14   "nacl_tools_revision": "8151",  # 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       "73456ff5cce78ed15d41d269cbcdaabe3579e9ff",
21   "nacl_toolchain_linux_x86_newlib_hash":
22       "84e66d5bd28119156e46dbd5eacbee7a912bdef5",
23   "nacl_toolchain_mac_x86_hash":
24       "6e08949e301f65dd77cf0458cc331da4d03424e6",
25   "nacl_toolchain_mac_x86_newlib_hash":
26       "a2b91a00ef0b2155bb71ca1f55bf74e5fd107610",
27   "nacl_toolchain_pnacl_linux_x86_32_hash":
28       "d4ebfd187cd883fbdadf8d74a4042168d7cd34f7",
29   "nacl_toolchain_pnacl_linux_x86_64_hash":
30       "848b857d9bc33da7fe7e225574fd8229895cf133",
31   "nacl_toolchain_pnacl_mac_x86_32_hash":
32       "4c08cdc1af1a10c35628c214153e544c4855e7cb",
33   "nacl_toolchain_pnacl_translator_hash":
34       "43aba86194193f96223b45a1f76c6a931ff26fbf",
35   "nacl_toolchain_pnacl_win_x86_32_hash":
36       "d9a1040fca439ec437caae95ae9258ca0a68545b",
37   "nacl_toolchain_win_x86_hash":
38       "65be3541acfd41c6a9a46478b0f1df90dec253fb",
39   "nacl_toolchain_win_x86_newlib_hash":
40       "ecb7c0f4b923c00e8a23b98abd8f21b22ced74a0",
41   "nacl_toolchain_revision": "8169",
42   "pnacl_toolchain_revision": "8169",
44   "libjingle_revision": "132",
45   "libphonenumber_revision": "425",
46   "libvpx_revision": "125647",
47   "lss_revision": "9",
49   # These two FFmpeg variables must be updated together.  One is used for SVN
50   # checkouts and the other for Git checkouts.
51   "ffmpeg_revision": "132717",
52   "ffmpeg_hash": "69a5a2e6784b5e46326acecf6d5697b63d639ca9",
54   "sfntly_revision": "128",
55   "skia_revision": "3709",
56   # Three lines of non-changing comments so that
57   # the commit queue can handle CLs rolling Skia
58   # and V8 without interference from each other.
59   "v8_revision": "11316",
60   "webrtc_revision": "2047",
61   "jsoncpp_revision": "248",
62   "nss_revision": "126189",
63   "rlz_revision": "125",
66 deps = {
67   "src/breakpad/src":
68     (Var("googlecode_url") % "google-breakpad") + "/trunk/src@939",
70   "src/build/util/support":
71     "/trunk/deps/support@20411",
73   "src/googleurl":
74     (Var("googlecode_url") % "google-url") + "/trunk@172",
76   "src/seccompsandbox":
77     (Var("googlecode_url") % "seccompsandbox") + "/trunk@178",
79   "src/sdch/open-vcdiff":
80     (Var("googlecode_url") % "open-vcdiff") + "/trunk@42",
82   "src/testing/gtest":
83     (Var("googlecode_url") % "googletest") + "/trunk@613",
85   "src/testing/gmock":
86     (Var("googlecode_url") % "googlemock") + "/trunk@405",
88   "src/third_party/angle":
89     (Var("googlecode_url") % "angleproject") + "/trunk@1046",
91   # Note that this is *not* where we check out WebKit -- this just
92   # puts some extra files into place for the real WebKit checkout to
93   # happen.  See lines mentioning "webkit_revision" for the real
94   # WebKit checkout.
95   "src/third_party/WebKit":
96     "/trunk/deps/third_party/WebKit@76115",
98   "src/third_party/icu":
99     "/trunk/deps/third_party/icu46@122842",
101   "src/third_party/hunspell":
102    "/trunk/deps/third_party/hunspell@129758",
104   "src/third_party/hunspell_dictionaries":
105     "/trunk/deps/third_party/hunspell_dictionaries@79099",
107   "src/third_party/safe_browsing/testing":
108     (Var("googlecode_url") % "google-safe-browsing") + "/trunk/testing@110",
110   "src/third_party/cacheinvalidation/files/src/google":
111     (Var("googlecode_url") % "google-cache-invalidation-api") +
112     "/trunk/src/google@203",
114   "src/third_party/leveldatabase/src":
115     (Var("googlecode_url") % "leveldb") + "/trunk@64",
117   "src/third_party/snappy/src":
118     (Var("googlecode_url") % "snappy") + "/trunk@37",
120   "src/tools/grit":
121     (Var("googlecode_url") % "grit-i18n") + "/trunk@35",
123   "src/tools/gyp":
124     (Var("googlecode_url") % "gyp") + "/trunk@1330",
126   "src/v8":
127     (Var("googlecode_url") % "v8") + "/trunk@" + Var("v8_revision"),
129   "src/native_client":
130     Var("nacl_trunk") + "/src/native_client@" + Var("nacl_revision"),
132   "src/native_client_sdk/src/site_scons":
133     Var("nacl_trunk") + "/src/native_client/site_scons@" + Var("nacl_revision"),
135   "src/third_party/pymox/src":
136     (Var("googlecode_url") % "pymox") + "/trunk@70",
138   "src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin":
139     Var("nacl_trunk") + "/src/native_client/tests/prebuilt@" +
140     Var("nacl_revision"),
142   "src/third_party/sfntly/cpp/src":
143     (Var("googlecode_url") % "sfntly") + "/trunk/cpp/src@" +
144     Var("sfntly_revision"),
146   "src/third_party/skia/src":
147     (Var("googlecode_url") % "skia") + "/trunk/src@" + Var("skia_revision"),
149   "src/third_party/skia/include":
150     (Var("googlecode_url") % "skia") + "/trunk/include@" + Var("skia_revision"),
152   "src/third_party/skia/third_party/glu":
153     (Var("googlecode_url") % "skia") + "/trunk/third_party/glu@" + Var("skia_revision"),
155   "src/third_party/WebKit/LayoutTests":
156     Var("webkit_trunk") + "/LayoutTests@" + Var("webkit_revision"),
158   "src/third_party/WebKit/Source":
159     Var("webkit_trunk") + "/Source@" + Var("webkit_revision"),
161   "src/third_party/WebKit/Tools/DumpRenderTree":
162     Var("webkit_trunk") + "/Tools/DumpRenderTree@" + Var("webkit_revision"),
164   "src/third_party/WebKit/Tools/Scripts":
165     Var("webkit_trunk") + "/Tools/Scripts@" + Var("webkit_revision"),
167   "src/third_party/WebKit/Tools/TestWebKitAPI":
168     Var("webkit_trunk") + "/Tools/TestWebKitAPI@" + Var("webkit_revision"),
170   "src/third_party/ots":
171     (Var("googlecode_url") % "ots") + "/trunk@87",
173   "src/tools/page_cycler/acid3":
174     "/trunk/deps/page_cycler/acid3@102714",
176   "src/chrome/test/data/perf/canvas_bench":
177     "/trunk/deps/canvas_bench@122605",
179   "src/chrome/test/data/perf/frame_rate/content":
180     "/trunk/deps/frame_rate/content@93671",
182   "src/third_party/bidichecker":
183     (Var("googlecode_url") % "bidichecker") + "/trunk/lib@4",
185   "src/third_party/v8-i18n":
186     (Var("googlecode_url") % "v8-i18n") + "/trunk@32",
188   # When roll to another webgl conformance tests revision, please goto
189   # chrome/test/gpu and run generate_webgl_conformance_test_list.py.
190   "src/third_party/webgl_conformance":
191     "/trunk/deps/third_party/webgl/sdk/tests@129652",
193   # We should use the same software_rendering_list.json for all branches.
194   "src/chrome/browser/resources/software_rendering_list":
195     "/trunk/deps/gpu/software_rendering_list@132008",
197   # We run these layout tests as UI tests. Since many of the buildbots that
198   # run layout tests do NOT have access to the LayoutTest directory, we need
199   # to map them here. In practice, these do not take up much space.
200   "src/content/test/data/layout_tests/LayoutTests/fast/events":
201     Var("webkit_trunk") + "/LayoutTests/fast/events@" +
202     Var("webkit_revision"),
203   "src/content/test/data/layout_tests/LayoutTests/fast/js/resources":
204     Var("webkit_trunk") + "/LayoutTests/fast/js/resources@" +
205     Var("webkit_revision"),
206   "src/content/test/data/layout_tests/LayoutTests/fast/workers":
207     Var("webkit_trunk") + "/LayoutTests/fast/workers@" +
208     Var("webkit_revision"),
209   "src/content/test/data/layout_tests/LayoutTests/http/tests/resources":
210     Var("webkit_trunk") + "/LayoutTests/http/tests/resources@" +
211     Var("webkit_revision"),
212   "src/content/test/data/layout_tests/LayoutTests/http/tests/workers":
213     Var("webkit_trunk") + "/LayoutTests/http/tests/workers@" +
214     Var("webkit_revision"),
215   "src/content/test/data/layout_tests/LayoutTests/http/tests/xmlhttprequest":
216     Var("webkit_trunk") + "/LayoutTests/http/tests/xmlhttprequest@" +
217     Var("webkit_revision"),
218   "src/content/test/data/layout_tests/LayoutTests/http/tests/websocket/tests":
219     Var("webkit_trunk") + "/LayoutTests/http/tests/websocket/tests@" +
220     Var("webkit_revision"),
221   "src/content/test/data/layout_tests/LayoutTests/platform/chromium/fast/workers":
222     Var("webkit_trunk") + "/LayoutTests/platform/chromium/fast/workers@" +
223     Var("webkit_revision"),
224   "src/content/test/data/layout_tests/LayoutTests/platform/chromium/fast/events":
225     Var("webkit_trunk") + "/LayoutTests/platform/chromium/fast/events@" +
226     Var("webkit_revision"),
227   "src/content/test/data/layout_tests/LayoutTests/platform/chromium-win/fast/events":
228     Var("webkit_trunk") + "/LayoutTests/platform/chromium-win/fast/events@" +
229     Var("webkit_revision"),
230   "src/content/test/data/layout_tests/LayoutTests/platform/chromium-win/fast/workers":
231     Var("webkit_trunk") + "/LayoutTests/platform/chromium-win/fast/workers@" +
232     Var("webkit_revision"),
233   "src/content/test/data/layout_tests/LayoutTests/http/tests/appcache":
234     Var("webkit_trunk") + "/LayoutTests/http/tests/appcache@" +
235     Var("webkit_revision"),
236   "src/content/test/data/layout_tests/LayoutTests/platform/chromium-win/http/tests/workers":
237     Var("webkit_trunk") + "/LayoutTests/platform/chromium-win/http/tests/workers@" +
238     Var("webkit_revision"),
239   "src/content/test/data/layout_tests/LayoutTests/platform/chromium-win/storage/domstorage":
240     Var("webkit_trunk") + "/LayoutTests/platform/chromium-win/storage/domstorage@" +
241     Var("webkit_revision"),
242   "src/content/test/data/layout_tests/LayoutTests/storage/domstorage":
243     Var("webkit_trunk") + "/LayoutTests/storage/domstorage@" +
244     Var("webkit_revision"),
245   "src/content/test/data/layout_tests/LayoutTests/storage/indexeddb":
246     Var("webkit_trunk") + "/LayoutTests/storage/indexeddb@" +
247     Var("webkit_revision"),
248   "src/content/test/data/layout_tests/LayoutTests/fast/filesystem/resources":
249     Var("webkit_trunk") + "/LayoutTests/fast/filesystem/resources@" +
250     Var("webkit_revision"),
251   "src/content/test/data/layout_tests/LayoutTests/media":
252     Var("webkit_trunk") + "/LayoutTests/media@" +
253     Var("webkit_revision"),
255   "src/third_party/swig/Lib":
256     "/trunk/deps/third_party/swig/Lib@" + Var("swig_revision"),
258   # Make sure you update the two functional.DEPS and webdriver.DEPS too.
259   "src/third_party/webdriver/pylib":
260     "http://selenium.googlecode.com/svn/trunk/py@13487",
262   "src/third_party/libvpx":
263     "/trunk/deps/third_party/libvpx@" +
264     Var("libvpx_revision"),
266   "src/third_party/ffmpeg":
267     "/trunk/deps/third_party/ffmpeg@" +
268     Var("ffmpeg_revision"),
270   "src/third_party/libjingle/source":
271     (Var("googlecode_url") % "libjingle") + "/trunk@" +
272     Var("libjingle_revision"),
274   "src/third_party/libsrtp":
275     "/trunk/deps/third_party/libsrtp@123853",
277   "src/third_party/speex":
278     "/trunk/deps/third_party/speex@111570",
280   "src/third_party/yasm/source/patched-yasm":
281     "/trunk/deps/third_party/yasm/patched-yasm@126079",
283   "src/third_party/libjpeg_turbo":
284     "/trunk/deps/third_party/libjpeg_turbo@126090",
286   "src/third_party/flac":
287     "/trunk/deps/third_party/flac@120197",
289   "src/third_party/pyftpdlib/src":
290     (Var("googlecode_url") % "pyftpdlib") + "/trunk@977",
292   # Needed to support nacl browser test jig.
293   "src/third_party/pylib":
294     Var("nacl_trunk") + "/src/third_party/pylib@" + Var("nacl_tools_revision"),
295   "src/third_party/scons-2.0.1":
296     Var("nacl_trunk") + "/src/third_party/scons-2.0.1@" +
297         Var("nacl_tools_revision"),
299   "src/third_party/webrtc":
300     (Var("googlecode_url") % "webrtc") + "/stable/src@" + Var("webrtc_revision"),
302   "src/third_party/jsoncpp/source/include":
303     (Var("sourceforge_url") % {"repo": "jsoncpp"}) +
304         "/trunk/jsoncpp/include@" + Var("jsoncpp_revision"),
306   "src/third_party/jsoncpp/source/src/lib_json":
307     (Var("sourceforge_url") % {"repo": "jsoncpp"}) +
308         "/trunk/jsoncpp/src/lib_json@" + Var("jsoncpp_revision"),
310   "src/third_party/libyuv":
311     (Var("googlecode_url") % "libyuv") + "/trunk@214",
313   "src/third_party/mozc/session":
314     (Var("googlecode_url") % "mozc") + "/trunk/src/session@83",
316   "src/third_party/mozc/chrome/chromeos/renderer":
317     (Var("googlecode_url") % "mozc") + "/trunk/src/chrome/chromeos/renderer@83",
319   "src/third_party/smhasher/src":
320     (Var("googlecode_url") % "smhasher") + "/trunk@136",
322   "src/third_party/libphonenumber/src/phonenumbers":
323      (Var("googlecode_url") % "libphonenumber") +
324          "/trunk/cpp/src/phonenumbers@" + Var("libphonenumber_revision"),
325   "src/third_party/libphonenumber/src/test":
326      (Var("googlecode_url") % "libphonenumber") + "/trunk/cpp/test@" +
327          Var("libphonenumber_revision"),
328   "src/third_party/libphonenumber/src/resources":
329      (Var("googlecode_url") % "libphonenumber") + "/trunk/resources@" +
330          Var("libphonenumber_revision"),
332   "src/third_party/undoview":
333     "/trunk/deps/third_party/undoview@119694",
335   "src/tools/deps2git":
336     "/trunk/tools/deps2git@128331",
340 deps_os = {
341   "win": {
342     "src/chrome/tools/test/reference_build/chrome_win":
343       "/trunk/deps/reference_builds/chrome_win@89574",
345     "src/third_party/cygwin":
346       "/trunk/deps/third_party/cygwin@66844",
348     "src/third_party/python_26":
349       "/trunk/tools/third_party/python_26@89111",
351     "src/third_party/psyco_win32":
352       "/trunk/deps/third_party/psyco_win32@79861",
354     "src/third_party/lighttpd":
355       "/trunk/deps/third_party/lighttpd@33727",
357     # Chrome Frame related deps
358     "src/third_party/xulrunner-sdk":
359       "/trunk/deps/third_party/xulrunner-sdk@119756",
360     "src/chrome_frame/tools/test/reference_build/chrome_win":
361       "/trunk/deps/reference_builds/chrome_win@89574",
363     # Parses Windows PE/COFF executable format.
364     "src/third_party/pefile":
365       (Var("googlecode_url") % "pefile") + "/trunk@63",
367     # NSS, for SSLClientSocketNSS.
368     "src/third_party/nss":
369       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
371     "src/third_party/swig/win":
372       "/trunk/deps/third_party/swig/win@" + Var("swig_revision"),
374     # GNU binutils assembler for x86-32.
375     "src/third_party/gnu_binutils":
376       (Var("nacl_trunk") + "/deps/third_party/gnu_binutils@" +
377        Var("nacl_tools_revision")),
378     # GNU binutils assembler for x86-64.
379     "src/third_party/mingw-w64/mingw/bin":
380       (Var("nacl_trunk") + "/deps/third_party/mingw-w64/mingw/bin@" +
381        Var("nacl_tools_revision")),
383     "src/rlz":
384       (Var("googlecode_url") % "rlz") + "/trunk@" + Var("rlz_revision"),
386     # Dependencies used by libjpeg-turbo
387     "src/third_party/yasm/binaries":
388       "/trunk/deps/third_party/yasm/binaries@74228",
390     # Binary level profile guided optimizations. This points to the
391     # latest release binaries for the toolchain.
392     "src/third_party/syzygy/binaries":
393       (Var("googlecode_url") % "sawbuck") + "/trunk/syzygy/binaries@782",
395     # Binaries for nacl sdk.
396     "src/third_party/nacl_sdk_binaries":
397       "/trunk/deps/third_party/nacl_sdk_binaries@111576",
398   },
399   "mac": {
400     "src/chrome/tools/test/reference_build/chrome_mac":
401       "/trunk/deps/reference_builds/chrome_mac@89574",
403     "src/third_party/GTM":
404       (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@516",
405     "src/third_party/pdfsqueeze":
406       (Var("googlecode_url") % "pdfsqueeze") + "/trunk@4",
407     "src/third_party/lighttpd":
408       "/trunk/deps/third_party/lighttpd@33737",
410     "src/third_party/swig/mac":
411       "/trunk/deps/third_party/swig/mac@" + Var("swig_revision"),
413     "src/rlz":
414       (Var("googlecode_url") % "rlz") + "/trunk@" + Var("rlz_revision"),
416     # NSS, for SSLClientSocketNSS.
417     "src/third_party/nss":
418       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
420     "src/chrome/installer/mac/third_party/xz/xz":
421       "/trunk/deps/third_party/xz@87706",
422   },
423   "unix": {
424     # Linux, really.
425     "src/chrome/tools/test/reference_build/chrome_linux":
426       "/trunk/deps/reference_builds/chrome_linux@89574",
428     "src/third_party/xdg-utils":
429       "/trunk/deps/third_party/xdg-utils@93299",
431     "src/third_party/swig/linux":
432       "/trunk/deps/third_party/swig/linux@" + Var("swig_revision"),
434     "src/third_party/lss":
435       ((Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@" +
436        Var("lss_revision")),
438     "src/third_party/openssl":
439       "/trunk/deps/third_party/openssl@130472",
441     "src/third_party/WebKit/Tools/gdb":
442       Var("webkit_trunk") + "/Tools/gdb@" + Var("webkit_revision"),
444     "src/third_party/gold":
445       "/trunk/deps/third_party/gold@124239",
446   },
450 include_rules = [
451   # Everybody can use some things.
452   "+base",
453   "+build",
454   "+ipc",
456   # For now, we allow ICU to be included by specifying "unicode/...", although
457   # this should probably change.
458   "+unicode",
459   "+testing",
463 # checkdeps.py shouldn't check include paths for files in these dirs:
464 skip_child_includes = [
465   "breakpad",
466   "chrome_frame",
467   "native_client",
468   "native_client_sdk",
469   "o3d",
470   "pdf",
471   "sdch",
472   "skia",
473   "testing",
474   "third_party",
475   "v8",
479 hooks = [
480   {
481     # This downloads binaries for Native Client's newlib toolchain.
482     # Done in lieu of building the toolchain from scratch as it can take
483     # anywhere from 30 minutes to 4 hours depending on platform to build.
484     "pattern": ".",
485     "action": [
486         "python", "src/build/download_nacl_toolchains.py",
487          "--no-arm-trusted",
488          "--optional-pnacl",
489          "--pnacl-version", Var("pnacl_toolchain_revision"),
490          "--file-hash", "pnacl_linux_x86_32",
491              Var("nacl_toolchain_pnacl_linux_x86_32_hash"),
492          "--file-hash", "pnacl_linux_x86_64",
493              Var("nacl_toolchain_pnacl_linux_x86_64_hash"),
494          "--file-hash", "pnacl_translator",
495              Var("nacl_toolchain_pnacl_translator_hash"),
496          "--file-hash", "pnacl_mac_x86_32",
497              Var("nacl_toolchain_pnacl_mac_x86_32_hash"),
498          "--file-hash", "pnacl_win_x86_32",
499              Var("nacl_toolchain_pnacl_win_x86_32_hash"),
500          "--x86-version", Var("nacl_toolchain_revision"),
501          "--file-hash", "mac_x86_newlib",
502              Var("nacl_toolchain_mac_x86_newlib_hash"),
503          "--file-hash", "win_x86_newlib",
504              Var("nacl_toolchain_win_x86_newlib_hash"),
505          "--file-hash", "linux_x86_newlib",
506              Var("nacl_toolchain_linux_x86_newlib_hash"),
507          "--file-hash", "mac_x86",
508              Var("nacl_toolchain_mac_x86_hash"),
509          "--file-hash", "win_x86",
510              Var("nacl_toolchain_win_x86_hash"),
511          "--file-hash", "linux_x86",
512              Var("nacl_toolchain_linux_x86_hash"),
513          "--save-downloads-dir",
514              "src/native_client_sdk/src/build_tools/toolchain_archives",
515          "--keep",
516     ],
517   },
518   {
519     # Pull clang on mac. If nothing changed, or on non-mac platforms, this takes
520     # zero seconds to run. If something changed, it downloads a prebuilt clang,
521     # which takes ~20s, but clang speeds up builds by more than 20s.
522     "pattern": ".",
523     "action": ["python", "src/tools/clang/scripts/update.py", "--mac-only"],
524   },
525   {
526     # Update the cygwin mount on Windows.
527     "pattern": ".",
528     "action": ["python", "src/build/win/setup_cygwin_mount.py", "--win-only"],
529   },
530   {
531     # Update LASTCHANGE.
532     "pattern": ".",
533     "action": ["python", "src/build/util/lastchange.py",
534                "-o", "src/build/util/LASTCHANGE"],
535   },
536   {
537     # A change to a .gyp, .gypi, or to GYP itself should run the generator.
538     "pattern": ".",
539     "action": ["python", "src/build/gyp_chromium"],
540   },