1. Enable large object pointer offset check in release build.
[chromium-blink-merge.git] / DEPS
blob67b5b34e380828f224e2e04f4c801e7670f927b7
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://svn.webkit.org/repository/webkit/trunk",
10   "nacl_trunk": "http://src.chromium.org/native_client/trunk",
11   "webkit_revision": "118325",
12   "chromium_git": "http://git.chromium.org/git",
13   "swig_revision": "69281",
14   "nacl_revision": "8670",
15   # After changing nacl_revision, run 'glient sync' and check native_client/DEPS
16   # to update other nacl_*_revision's.
17   "nacl_tools_revision": "8228",  # native_client/DEPS: tools_rev
19   # These hashes need to be updated when nacl_toolchain_revision is changed.
20   # After changing nacl_toolchain_revision, run 'gclient runhooks' to get the
21   # new values.
22   "nacl_toolchain_linux_x86_hash":
23       "832431536b1245b49dae211851e9e8a23e06d5e8",
24   "nacl_toolchain_linux_x86_newlib_hash":
25       "3dc2a7fa55900a0a4d3258eea6bdabf5ccce6bf8",
26   "nacl_toolchain_mac_x86_hash":
27       "06d431637113afe0ba14f9eaaf8049022251bcf7",
28   "nacl_toolchain_mac_x86_newlib_hash":
29       "baa113d75a181ca88d4c3c33ccda7301ead0ae29",
30   "nacl_toolchain_pnacl_linux_x86_32_hash":
31       "bf3be22a2b473aac3ee58e99a45254f385975467",
32   "nacl_toolchain_pnacl_linux_x86_64_hash":
33       "d75fc5f81c5ed039fde6b3f76a0425024c12e79f",
34   "nacl_toolchain_pnacl_mac_x86_32_hash":
35       "fefe688c8d39e4bd103c98fdda7e66d1988b2809",
36   "nacl_toolchain_pnacl_translator_hash":
37       "fc1984dabfb21700feb2b29f17a14b15ab8f8a5b",
38   "nacl_toolchain_pnacl_win_x86_32_hash":
39       "21efccfdd0c567b46ed568acbb931a686505f4dd",
40   "nacl_toolchain_win_x86_hash":
41       "971ffcb4dd2985c85b3b49ede095d13754145798",
42   "nacl_toolchain_win_x86_newlib_hash":
43       "40165d4b6c1d4c6bfdaafdf74b98adf0de83060d",
44   "nacl_toolchain_revision": "8612",
45   "pnacl_toolchain_revision": "8612",
47   "libjingle_revision": "145",
48   "libphonenumber_revision": "425",
49   "libvpx_revision": "134182",
50   "lss_revision": "9",
52   # These two FFmpeg variables must be updated together.  One is used for SVN
53   # checkouts and the other for Git checkouts.
54   "ffmpeg_revision": "138127",
55   "ffmpeg_hash": "9b8f7bea0a9b919b15a53e1bad56f251e41b558b",
57   "sfntly_revision": "128",
58   "skia_revision": "4036",
59   # Three lines of non-changing comments so that
60   # the commit queue can handle CLs rolling Skia
61   # and V8 without interference from each other.
62   "v8_revision": "11594",
63   "webrtc_revision": "2180",
64   "jsoncpp_revision": "248",
65   "nss_revision": "138140",
66   "rlz_revision": "128",
69 deps = {
70   "src/breakpad/src":
71     (Var("googlecode_url") % "google-breakpad") + "/trunk/src@939",
73   "src/build/util/support":
74     "/trunk/deps/support@20411",
76   "src/googleurl":
77     (Var("googlecode_url") % "google-url") + "/trunk@175",
79   "src/seccompsandbox":
80     (Var("googlecode_url") % "seccompsandbox") + "/trunk@186",
82   "src/sdch/open-vcdiff":
83     (Var("googlecode_url") % "open-vcdiff") + "/trunk@42",
85   "src/testing/gtest":
86     (Var("googlecode_url") % "googletest") + "/trunk@613",
88   "src/testing/gmock":
89     (Var("googlecode_url") % "googlemock") + "/trunk@405",
91   "src/third_party/angle":
92     (Var("googlecode_url") % "angleproject") + "/trunk@1046",
94   # Note that this is *not* where we check out WebKit -- this just
95   # puts some extra files into place for the real WebKit checkout to
96   # happen.  See lines mentioning "webkit_revision" for the real
97   # WebKit checkout.
98   "src/third_party/WebKit":
99     "/trunk/deps/third_party/WebKit@76115",
101   "src/third_party/icu":
102     "/trunk/deps/third_party/icu46@135385",
104   "src/third_party/hunspell":
105    "/trunk/deps/third_party/hunspell@132738",
107   "src/third_party/hunspell_dictionaries":
108     "/trunk/deps/third_party/hunspell_dictionaries@79099",
110   "src/third_party/safe_browsing/testing":
111     (Var("googlecode_url") % "google-safe-browsing") + "/trunk/testing@110",
113   "src/third_party/cacheinvalidation/files/src/google":
114     (Var("googlecode_url") % "google-cache-invalidation-api") +
115     "/trunk/src/google@213",
117   "src/third_party/leveldatabase/src":
118     (Var("googlecode_url") % "leveldb") + "/trunk@64",
120   "src/third_party/snappy/src":
121     (Var("googlecode_url") % "snappy") + "/trunk@37",
123   "src/tools/grit":
124     (Var("googlecode_url") % "grit-i18n") + "/trunk@37",
126   "src/tools/gyp":
127     (Var("googlecode_url") % "gyp") + "/trunk@1391",
129   "src/v8":
130     (Var("googlecode_url") % "v8") + "/trunk@" + Var("v8_revision"),
132   "src/native_client":
133     Var("nacl_trunk") + "/src/native_client@" + Var("nacl_revision"),
135   "src/native_client_sdk/src/site_scons":
136     Var("nacl_trunk") + "/src/native_client/site_scons@" + Var("nacl_revision"),
138   "src/third_party/pymox/src":
139     (Var("googlecode_url") % "pymox") + "/trunk@70",
141   "src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin":
142     Var("nacl_trunk") + "/src/native_client/tests/prebuilt@" +
143     Var("nacl_revision"),
145   "src/third_party/sfntly/cpp/src":
146     (Var("googlecode_url") % "sfntly") + "/trunk/cpp/src@" +
147     Var("sfntly_revision"),
149   "src/third_party/skia/src":
150     (Var("googlecode_url") % "skia") + "/trunk/src@" + Var("skia_revision"),
152   "src/third_party/skia/include":
153     (Var("googlecode_url") % "skia") + "/trunk/include@" + 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@90",
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@138171",
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@135645",
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@134927",
283   "src/third_party/libjpeg_turbo":
284     "/trunk/deps/third_party/libjpeg_turbo@136524",
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@247",
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",
338   "src/third_party/webpagereplay":
339     (Var("googlecode_url") % "web-page-replay") + "/trunk@468",
343 deps_os = {
344   "win": {
345     "src/chrome/tools/test/reference_build/chrome_win":
346       "/trunk/deps/reference_builds/chrome_win@137747",
348     "src/third_party/cygwin":
349       "/trunk/deps/third_party/cygwin@133786",
351     "src/third_party/python_26":
352       "/trunk/tools/third_party/python_26@89111",
354     "src/third_party/psyco_win32":
355       "/trunk/deps/third_party/psyco_win32@79861",
357     "src/third_party/lighttpd":
358       "/trunk/deps/third_party/lighttpd@33727",
360     # Chrome Frame related deps
361     "src/third_party/xulrunner-sdk":
362       "/trunk/deps/third_party/xulrunner-sdk@119756",
363     "src/chrome_frame/tools/test/reference_build/chrome_win":
364       "/trunk/deps/reference_builds/chrome_win@89574",
366     # Parses Windows PE/COFF executable format.
367     "src/third_party/pefile":
368       (Var("googlecode_url") % "pefile") + "/trunk@63",
370     # NSS, for SSLClientSocketNSS.
371     "src/third_party/nss":
372       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
374     "src/third_party/swig/win":
375       "/trunk/deps/third_party/swig/win@" + Var("swig_revision"),
377     # GNU binutils assembler for x86-32.
378     "src/third_party/gnu_binutils":
379       (Var("nacl_trunk") + "/deps/third_party/gnu_binutils@" +
380        Var("nacl_tools_revision")),
381     # GNU binutils assembler for x86-64.
382     "src/third_party/mingw-w64/mingw/bin":
383       (Var("nacl_trunk") + "/deps/third_party/mingw-w64/mingw/bin@" +
384        Var("nacl_tools_revision")),
386     "src/rlz":
387       (Var("googlecode_url") % "rlz") + "/trunk@" + Var("rlz_revision"),
389     # Dependencies used by libjpeg-turbo
390     "src/third_party/yasm/binaries":
391       "/trunk/deps/third_party/yasm/binaries@74228",
393     # Binary level profile guided optimizations. This points to the
394     # latest release binaries for the toolchain.
395     "src/third_party/syzygy/binaries":
396       (Var("googlecode_url") % "sawbuck") + "/trunk/syzygy/binaries@782",
398     # Binaries for nacl sdk.
399     "src/third_party/nacl_sdk_binaries":
400       "/trunk/deps/third_party/nacl_sdk_binaries@111576",
401   },
402   "mac": {
403     "src/chrome/tools/test/reference_build/chrome_mac":
404       "/trunk/deps/reference_builds/chrome_mac@137727",
406     "src/third_party/GTM":
407       (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@516",
408     "src/third_party/pdfsqueeze":
409       (Var("googlecode_url") % "pdfsqueeze") + "/trunk@4",
410     "src/third_party/lighttpd":
411       "/trunk/deps/third_party/lighttpd@33737",
413     "src/third_party/swig/mac":
414       "/trunk/deps/third_party/swig/mac@" + Var("swig_revision"),
416     "src/rlz":
417       (Var("googlecode_url") % "rlz") + "/trunk@" + Var("rlz_revision"),
419     # NSS, for SSLClientSocketNSS.
420     "src/third_party/nss":
421       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
423     "src/chrome/installer/mac/third_party/xz/xz":
424       "/trunk/deps/third_party/xz@87706",
425   },
426   "unix": {
427     # Linux, really.
428     "src/chrome/tools/test/reference_build/chrome_linux":
429       "/trunk/deps/reference_builds/chrome_linux@137712",
431     "src/third_party/xdg-utils":
432       "/trunk/deps/third_party/xdg-utils@93299",
434     "src/third_party/swig/linux":
435       "/trunk/deps/third_party/swig/linux@" + Var("swig_revision"),
437     "src/third_party/lss":
438       ((Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@" +
439        Var("lss_revision")),
441     "src/third_party/openssl":
442       "/trunk/deps/third_party/openssl@130472",
444     "src/third_party/WebKit/Tools/gdb":
445       Var("webkit_trunk") + "/Tools/gdb@" + Var("webkit_revision"),
447     "src/third_party/gold":
448       "/trunk/deps/third_party/gold@124239",
449   },
453 include_rules = [
454   # Everybody can use some things.
455   "+base",
456   "+build",
457   "+googleurl",
458   "+ipc",
460   # For now, we allow ICU to be included by specifying "unicode/...", although
461   # this should probably change.
462   "+unicode",
463   "+testing",
467 # checkdeps.py shouldn't check include paths for files in these dirs:
468 skip_child_includes = [
469   "breakpad",
470   "chrome_frame",
471   "delegate_execute",
472   "metro_driver",
473   "native_client",
474   "native_client_sdk",
475   "o3d",
476   "pdf",
477   "sdch",
478   "skia",
479   "testing",
480   "third_party",
481   "v8",
485 hooks = [
486   {
487     # This downloads binaries for Native Client's newlib toolchain.
488     # Done in lieu of building the toolchain from scratch as it can take
489     # anywhere from 30 minutes to 4 hours depending on platform to build.
490     "pattern": ".",
491     "action": [
492         "python", "src/build/download_nacl_toolchains.py",
493          "--no-arm-trusted",
494          "--optional-pnacl",
495          "--pnacl-version", Var("pnacl_toolchain_revision"),
496          "--file-hash", "pnacl_linux_x86_32",
497              Var("nacl_toolchain_pnacl_linux_x86_32_hash"),
498          "--file-hash", "pnacl_linux_x86_64",
499              Var("nacl_toolchain_pnacl_linux_x86_64_hash"),
500          "--file-hash", "pnacl_translator",
501              Var("nacl_toolchain_pnacl_translator_hash"),
502          "--file-hash", "pnacl_mac_x86_32",
503              Var("nacl_toolchain_pnacl_mac_x86_32_hash"),
504          "--file-hash", "pnacl_win_x86_32",
505              Var("nacl_toolchain_pnacl_win_x86_32_hash"),
506          "--x86-version", Var("nacl_toolchain_revision"),
507          "--file-hash", "mac_x86_newlib",
508              Var("nacl_toolchain_mac_x86_newlib_hash"),
509          "--file-hash", "win_x86_newlib",
510              Var("nacl_toolchain_win_x86_newlib_hash"),
511          "--file-hash", "linux_x86_newlib",
512              Var("nacl_toolchain_linux_x86_newlib_hash"),
513          "--file-hash", "mac_x86",
514              Var("nacl_toolchain_mac_x86_hash"),
515          "--file-hash", "win_x86",
516              Var("nacl_toolchain_win_x86_hash"),
517          "--file-hash", "linux_x86",
518              Var("nacl_toolchain_linux_x86_hash"),
519          "--save-downloads-dir",
520              "src/native_client_sdk/src/build_tools/toolchain_archives",
521          "--keep",
522     ],
523   },
524   {
525     # Pull clang on mac. If nothing changed, or on non-mac platforms, this takes
526     # zero seconds to run. If something changed, it downloads a prebuilt clang,
527     # which takes ~20s, but clang speeds up builds by more than 20s.
528     "pattern": ".",
529     "action": ["python", "src/tools/clang/scripts/update.py", "--mac-only"],
530   },
531   {
532     # Update the cygwin mount on Windows.
533     "pattern": ".",
534     "action": ["python", "src/build/win/setup_cygwin_mount.py", "--win-only"],
535   },
536   {
537     # Update LASTCHANGE.
538     "pattern": ".",
539     "action": ["python", "src/build/util/lastchange.py",
540                "-o", "src/build/util/LASTCHANGE"],
541   },
542   {
543     # A change to a .gyp, .gypi, or to GYP itself should run the generator.
544     "pattern": ".",
545     "action": ["python", "src/build/gyp_chromium"],
546   },