Handling failure of creating PeerConnection factory instead of crashing.
[chromium-blink-merge.git] / DEPS
blob1c5c1144059f93c4de4e874f4161a46235538486
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": "108328",
9   "chromium_git": "http://git.chromium.org/git",
10   "swig_revision": "69281",
11   "nacl_revision": "7813",
12   # After changing nacl_revision, run 'glient sync' and check native_client/DEPS
13   # to update other nacl_*_revision's.
14   "nacl_tools_revision": "7139",  # 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       "030324df172abc67f69dca80012c2a37ccd9ebb0",
21   "nacl_toolchain_linux_x86_newlib_hash":
22       "23697d53dce9a506f65a713d6913e99ecb882f18",
23   "nacl_toolchain_mac_x86_hash":
24       "ea06ee0e55d5e4e252fc85c916474a40b6cad023",
25   "nacl_toolchain_mac_x86_newlib_hash":
26       "039a39d2323c8e9380252607bcf9bca1a1cfa7d6",
27   "nacl_toolchain_pnacl_darwin_i386_hash":
28       "fadb4949172a2cc918ddcadca06ec524f19b29b8",
29   "nacl_toolchain_pnacl_linux_i686_hash":
30       "a1be3e4ecea3f3d3becfff6860e8a593ec014d81",
31   "nacl_toolchain_pnacl_linux_x86_64_hash":
32       "f34c8efb57ca0d1f9fb3f71d9e343bfa7026bd03",
33   "nacl_toolchain_win_x86_hash":
34       "6a8fd328bcbdaa88887a39fd9a83a006129b44dd",
35   "nacl_toolchain_win_x86_newlib_hash":
36       "bd8dd553c9998e7bf826f5746c8ef69c3c5e5ac7",
37   "nacl_toolchain_revision": "7799",
38   "pnacl_toolchain_revision": "7799",
40   "libjingle_revision": "115",
41   "libphonenumber_revision": "425",
42   "libvpx_revision": "119942",
43   "lss_revision": "9",
44   "ffmpeg_revision": "122092",
45   "sfntly_revision": "118",
46   "skia_revision": "3216",
47   # Three lines of non-changing comments so that
48   # the commit queue can handle CLs rolling Skia
49   # and V8 without interference from each other.
50   "v8_revision": "10776",
51   "webrtc_revision": "1538",
52   "jsoncpp_revision": "248",
53   "nss_revision": "122528",
54   "rlz_revision": "59",
57 deps = {
58   "src/breakpad/src":
59     (Var("googlecode_url") % "google-breakpad") + "/trunk/src@915",
61   "src/build/util/support":
62     "/trunk/deps/support@20411",
64   "src/googleurl":
65     (Var("googlecode_url") % "google-url") + "/trunk@168",
67   "src/seccompsandbox":
68     (Var("googlecode_url") % "seccompsandbox") + "/trunk@178",
70   "src/sdch/open-vcdiff":
71     (Var("googlecode_url") % "open-vcdiff") + "/trunk@40",
73   "src/testing/gtest":
74     (Var("googlecode_url") % "googletest") + "/trunk@560",
76   "src/testing/gmock":
77     (Var("googlecode_url") % "googlemock") + "/trunk@374",
79   "src/third_party/angle":
80     (Var("googlecode_url") % "angleproject") + "/trunk@985",
82   # Note that this is *not* where we check out WebKit -- this just
83   # puts some extra files into place for the real WebKit checkout to
84   # happen.  See lines mentioning "webkit_revision" for the real
85   # WebKit checkout.
86   "src/third_party/WebKit":
87     "/trunk/deps/third_party/WebKit@76115",
89   "src/third_party/icu":
90     "/trunk/deps/third_party/icu46@122609",
92   "src/third_party/hunspell":
93    "/trunk/deps/third_party/hunspell@110423",
95   "src/third_party/hunspell_dictionaries":
96     "/trunk/deps/third_party/hunspell_dictionaries@79099",
98   "src/third_party/safe_browsing/testing":
99     (Var("googlecode_url") % "google-safe-browsing") + "/trunk/testing@106",
101   "src/third_party/cacheinvalidation/files/src/google":
102     (Var("googlecode_url") % "google-cache-invalidation-api") +
103     "/trunk/src/google@185",
105   "src/third_party/leveldatabase/src":
106     (Var("googlecode_url") % "leveldb") + "/trunk@58",
108   "src/third_party/snappy/src":
109     (Var("googlecode_url") % "snappy") + "/trunk@37",
111   "src/tools/grit":
112     (Var("googlecode_url") % "grit-i18n") + "/trunk@9",
114   "src/tools/gyp":
115     (Var("googlecode_url") % "gyp") + "/trunk@1212",
117   "src/v8":
118     (Var("googlecode_url") % "v8") + "/trunk@" + Var("v8_revision"),
120   "src/native_client":
121     Var("nacl_trunk") + "/src/native_client@" + Var("nacl_revision"),
123   "src/native_client_sdk/src/site_scons":
124     Var("nacl_trunk") + "/src/native_client/site_scons@" + Var("nacl_revision"),
126   "src/third_party/pymox/src":
127     (Var("googlecode_url") % "pymox") + "/trunk@70",
129   "src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin":
130     Var("nacl_trunk") + "/src/native_client/tests/prebuilt@" +
131     Var("nacl_revision"),
133   "src/third_party/sfntly/cpp/src":
134     (Var("googlecode_url") % "sfntly") + "/trunk/cpp/src@" +
135     Var("sfntly_revision"),
137   "src/third_party/skia/src":
138     (Var("googlecode_url") % "skia") + "/trunk/src@" + Var("skia_revision"),
140   "src/third_party/skia/include":
141     (Var("googlecode_url") % "skia") + "/trunk/include@" + Var("skia_revision"),
143   "src/third_party/skia/third_party/glu":
144     (Var("googlecode_url") % "skia") + "/trunk/third_party/glu@" + Var("skia_revision"),
146   "src/third_party/WebKit/LayoutTests":
147     Var("webkit_trunk") + "/LayoutTests@" + Var("webkit_revision"),
149   "src/third_party/WebKit/Source":
150     Var("webkit_trunk") + "/Source@" + Var("webkit_revision"),
152   "src/third_party/WebKit/Tools/DumpRenderTree":
153     Var("webkit_trunk") + "/Tools/DumpRenderTree@" + Var("webkit_revision"),
155   "src/third_party/WebKit/Tools/Scripts":
156     Var("webkit_trunk") + "/Tools/Scripts@" + Var("webkit_revision"),
158   "src/third_party/WebKit/Tools/TestWebKitAPI":
159     Var("webkit_trunk") + "/Tools/TestWebKitAPI@" + Var("webkit_revision"),
161   "src/third_party/ots":
162     (Var("googlecode_url") % "ots") + "/trunk@80",
164   "src/tools/page_cycler/acid3":
165     "/trunk/deps/page_cycler/acid3@102714",
167   "src/chrome/test/data/perf/frame_rate/content":
168     "/trunk/deps/frame_rate/content@93671",
170   "src/third_party/bidichecker":
171     (Var("googlecode_url") % "bidichecker") + "/trunk/lib@4",
173   "src/third_party/v8-i18n":
174     (Var("googlecode_url") % "v8-i18n") + "/trunk@7",
176   # When roll to another webgl conformance tests revision, please goto
177   # chrome/test/gpu and run generate_webgl_conformance_test_list.py.
178   "src/third_party/webgl_conformance":
179     "/trunk/deps/third_party/webgl/sdk/tests@121363",
181   # We should use the same software_rendering_list.json for all branches.
182   "src/chrome/browser/resources/software_rendering_list":
183     "/trunk/deps/gpu/software_rendering_list@115644",
185   # We run these layout tests as UI tests. Since many of the buildbots that
186   # run layout tests do NOT have access to the LayoutTest directory, we need
187   # to map them here. In practice, these do not take up much space.
188   "src/chrome/test/data/layout_tests/LayoutTests/fast/events":
189     Var("webkit_trunk") + "/LayoutTests/fast/events@" +
190     Var("webkit_revision"),
191   "src/chrome/test/data/layout_tests/LayoutTests/fast/js/resources":
192     Var("webkit_trunk") + "/LayoutTests/fast/js/resources@" +
193     Var("webkit_revision"),
194   "src/chrome/test/data/layout_tests/LayoutTests/fast/workers":
195     Var("webkit_trunk") + "/LayoutTests/fast/workers@" +
196     Var("webkit_revision"),
197   "src/chrome/test/data/layout_tests/LayoutTests/http/tests/resources":
198     Var("webkit_trunk") + "/LayoutTests/http/tests/resources@" +
199     Var("webkit_revision"),
200   "src/chrome/test/data/layout_tests/LayoutTests/http/tests/workers":
201     Var("webkit_trunk") + "/LayoutTests/http/tests/workers@" +
202     Var("webkit_revision"),
203   "src/chrome/test/data/layout_tests/LayoutTests/http/tests/xmlhttprequest":
204     Var("webkit_trunk") + "/LayoutTests/http/tests/xmlhttprequest@" +
205     Var("webkit_revision"),
206   "src/chrome/test/data/layout_tests/LayoutTests/http/tests/websocket/tests":
207     Var("webkit_trunk") + "/LayoutTests/http/tests/websocket/tests@" +
208     Var("webkit_revision"),
209   "src/chrome/test/data/layout_tests/LayoutTests/platform/chromium/fast/workers":
210     Var("webkit_trunk") + "/LayoutTests/platform/chromium/fast/workers@" +
211     Var("webkit_revision"),
212   "src/chrome/test/data/layout_tests/LayoutTests/platform/chromium-win/fast/events":
213     Var("webkit_trunk") + "/LayoutTests/platform/chromium-win/fast/events@" +
214     Var("webkit_revision"),
215   "src/chrome/test/data/layout_tests/LayoutTests/platform/chromium-win/fast/workers":
216     Var("webkit_trunk") + "/LayoutTests/platform/chromium-win/fast/workers@" +
217     Var("webkit_revision"),
218   "src/chrome/test/data/layout_tests/LayoutTests/http/tests/appcache":
219     Var("webkit_trunk") + "/LayoutTests/http/tests/appcache@" +
220     Var("webkit_revision"),
221   "src/chrome/test/data/layout_tests/LayoutTests/platform/chromium-win/http/tests/workers":
222     Var("webkit_trunk") + "/LayoutTests/platform/chromium-win/http/tests/workers@" +
223     Var("webkit_revision"),
224   "src/chrome/test/data/layout_tests/LayoutTests/platform/chromium-win/storage/domstorage":
225     Var("webkit_trunk") + "/LayoutTests/platform/chromium-win/storage/domstorage@" +
226     Var("webkit_revision"),
227   "src/chrome/test/data/layout_tests/LayoutTests/storage/domstorage":
228     Var("webkit_trunk") + "/LayoutTests/storage/domstorage@" +
229     Var("webkit_revision"),
230   "src/chrome/test/data/layout_tests/LayoutTests/storage/indexeddb":
231     Var("webkit_trunk") + "/LayoutTests/storage/indexeddb@" +
232     Var("webkit_revision"),
233   "src/chrome/test/data/layout_tests/LayoutTests/fast/filesystem/resources":
234     Var("webkit_trunk") + "/LayoutTests/fast/filesystem/resources@" +
235     Var("webkit_revision"),
236   "src/chrome/test/data/layout_tests/LayoutTests/media":
237     Var("webkit_trunk") + "/LayoutTests/media@" +
238     Var("webkit_revision"),
240   "src/third_party/swig/Lib":
241     "/trunk/deps/third_party/swig/Lib@" + Var("swig_revision"),
243   # Make sure you update the two functional.DEPS and webdriver.DEPS too.
244   "src/third_party/webdriver/pylib":
245     "http://selenium.googlecode.com/svn/trunk/py@13487",
247   "src/third_party/libvpx":
248     "/trunk/deps/third_party/libvpx@" +
249     Var("libvpx_revision"),
251   "src/third_party/ffmpeg":
252     "/trunk/deps/third_party/ffmpeg/source@" +
253     Var("ffmpeg_revision"),
255   "src/third_party/libjingle/source":
256     (Var("googlecode_url") % "libjingle") + "/trunk@" +
257     Var("libjingle_revision"),
259   "src/third_party/libsrtp":
260     "/trunk/deps/third_party/libsrtp@121481",
262   "src/third_party/speex":
263     "/trunk/deps/third_party/speex@111570",
265   "src/third_party/yasm/source/patched-yasm":
266     "/trunk/deps/third_party/yasm/patched-yasm@73761",
268   "src/third_party/libjpeg_turbo":
269     "/trunk/deps/third_party/libjpeg_turbo@119959",
271   "src/third_party/flac":
272     "/trunk/deps/third_party/flac@120197",
274   "src/third_party/pyftpdlib/src":
275     (Var("googlecode_url") % "pyftpdlib") + "/trunk@977",
277   # Needed to support nacl browser test jig.
278   "src/third_party/pylib":
279     Var("nacl_trunk") + "/src/third_party/pylib@" + Var("nacl_tools_revision"),
280   "src/third_party/scons-2.0.1":
281     Var("nacl_trunk") + "/src/third_party/scons-2.0.1@" +
282         Var("nacl_tools_revision"),
284   "src/third_party/webrtc":
285     (Var("googlecode_url") % "webrtc") + "/trunk/src@" + Var("webrtc_revision"),
287   "src/third_party/jsoncpp/source/include":
288     (Var("sourceforge_url") % {"repo": "jsoncpp"}) +
289         "/trunk/jsoncpp/include@" + Var("jsoncpp_revision"),
291   "src/third_party/jsoncpp/source/src/lib_json":
292     (Var("sourceforge_url") % {"repo": "jsoncpp"}) +
293         "/trunk/jsoncpp/src/lib_json@" + Var("jsoncpp_revision"),
295   "src/third_party/libyuv":
296     (Var("googlecode_url") % "libyuv") + "/trunk@164",
298   "src/third_party/mozc/session":
299     (Var("googlecode_url") % "mozc") + "/trunk/src/session@83",
301   "src/third_party/mozc/chrome/chromeos/renderer":
302     (Var("googlecode_url") % "mozc") + "/trunk/src/chrome/chromeos/renderer@83",
304   "src/third_party/smhasher/src":
305     (Var("googlecode_url") % "smhasher") + "/trunk@136",
307   "src/third_party/libphonenumber/src/phonenumbers":
308      (Var("googlecode_url") % "libphonenumber") +
309          "/trunk/cpp/src/phonenumbers@" + Var("libphonenumber_revision"),
310   "src/third_party/libphonenumber/src/test":
311      (Var("googlecode_url") % "libphonenumber") + "/trunk/cpp/test@" +
312          Var("libphonenumber_revision"),
313   "src/third_party/libphonenumber/src/resources":
314      (Var("googlecode_url") % "libphonenumber") + "/trunk/resources@" +
315          Var("libphonenumber_revision"),
317   "src/third_party/undoview":
318     "/trunk/deps/third_party/undoview@119694",
322 deps_os = {
323   "win": {
324     "src/chrome/tools/test/reference_build/chrome_win":
325       "/trunk/deps/reference_builds/chrome_win@89574",
327     "src/third_party/cygwin":
328       "/trunk/deps/third_party/cygwin@66844",
330     "src/third_party/python_26":
331       "/trunk/tools/third_party/python_26@89111",
333     "src/third_party/psyco_win32":
334       "/trunk/deps/third_party/psyco_win32@79861",
336     "src/third_party/lighttpd":
337       "/trunk/deps/third_party/lighttpd@33727",
339     "src/third_party/ffmpeg/binaries/chromium/win/ia32":
340       "/trunk/deps/third_party/ffmpeg/binaries/win@" + Var("ffmpeg_revision"),
342     # Chrome Frame related deps
343     "src/third_party/xulrunner-sdk":
344       "/trunk/deps/third_party/xulrunner-sdk@119756",
345     "src/chrome_frame/tools/test/reference_build/chrome_win":
346       "/trunk/deps/reference_builds/chrome_win@89574",
348     # Parses Windows PE/COFF executable format.
349     "src/third_party/pefile":
350       (Var("googlecode_url") % "pefile") + "/trunk@63",
352     # NSS, for SSLClientSocketNSS.
353     "src/third_party/nss":
354       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
356     "src/third_party/swig/win":
357       "/trunk/deps/third_party/swig/win@" + Var("swig_revision"),
359     "src/third_party/mingw-w64/mingw/bin":
360       (Var("nacl_trunk") + "/deps/third_party/mingw-w64/mingw/bin@" +
361        Var("nacl_tools_revision")),
363     "src/rlz":
364       (Var("googlecode_url") % "rlz") + "/trunk@" + Var("rlz_revision"),
366     # Dependencies used by libjpeg-turbo
367     "src/third_party/yasm/binaries":
368       "/trunk/deps/third_party/yasm/binaries@74228",
370     # Binary level profile guided optimizations. This points to the
371     # latest release binaries for the toolchain.
372     "src/third_party/syzygy/binaries":
373       (Var("googlecode_url") % "sawbuck") + "/trunk/syzygy/binaries@640",
375     # Binaries for nacl sdk.
376     "src/third_party/nacl_sdk_binaries":
377       "/trunk/deps/third_party/nacl_sdk_binaries@111576",
378   },
379   "mac": {
380     "src/chrome/tools/test/reference_build/chrome_mac":
381       "/trunk/deps/reference_builds/chrome_mac@89574",
383     "src/third_party/GTM":
384       (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@459",
385     "src/third_party/pdfsqueeze":
386       (Var("googlecode_url") % "pdfsqueeze") + "/trunk@4",
387     "src/third_party/lighttpd":
388       "/trunk/deps/third_party/lighttpd@33737",
390     "src/third_party/swig/mac":
391       "/trunk/deps/third_party/swig/mac@" + Var("swig_revision"),
393     "src/rlz":
394       (Var("googlecode_url") % "rlz") + "/trunk@" + Var("rlz_revision"),
396     # NSS, for SSLClientSocketNSS.
397     "src/third_party/nss":
398       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
400     "src/chrome/installer/mac/third_party/xz/xz":
401       "/trunk/deps/third_party/xz@87706",
402   },
403   "unix": {
404     # Linux, really.
405     "src/chrome/tools/test/reference_build/chrome_linux":
406       "/trunk/deps/reference_builds/chrome_linux@89574",
408     "src/third_party/xdg-utils":
409       "/trunk/deps/third_party/xdg-utils@93299",
411     "src/third_party/swig/linux":
412       "/trunk/deps/third_party/swig/linux@" + Var("swig_revision"),
414     "src/third_party/lss":
415       ((Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@" +
416        Var("lss_revision")),
418     "src/third_party/openssl":
419       "/trunk/deps/third_party/openssl@118977",
421     "src/third_party/WebKit/Tools/gdb":
422       Var("webkit_trunk") + "/Tools/gdb@" + Var("webkit_revision"),
424     "src/third_party/gold":
425       "/trunk/deps/third_party/gold@120645",
426   },
430 include_rules = [
431   # Everybody can use some things.
432   "+base",
433   "+build",
434   "+ipc",
436   # For now, we allow ICU to be included by specifying "unicode/...", although
437   # this should probably change.
438   "+unicode",
439   "+testing",
443 # checkdeps.py shouldn't check include paths for files in these dirs:
444 skip_child_includes = [
445   "breakpad",
446   "chrome_frame",
447   "native_client",
448   "native_client_sdk",
449   "o3d",
450   "pdf",
451   "sdch",
452   "skia",
453   "testing",
454   "third_party",
455   "v8",
459 hooks = [
460   {
461     # This downloads binaries for Native Client's newlib toolchain.
462     # Done in lieu of building the toolchain from scratch as it can take
463     # anywhere from 30 minutes to 4 hours depending on platform to build.
464     "pattern": ".",
465     "action": [
466         "python", "src/build/download_nacl_toolchains.py",
467          "--no-arm-trusted",
468          "--optional-pnacl",
469          "--pnacl-version", Var("pnacl_toolchain_revision"),
470          "--file-hash", "pnacl_linux_i686",
471              Var("nacl_toolchain_pnacl_linux_i686_hash"),
472          "--file-hash", "pnacl_linux_x86_64",
473              Var("nacl_toolchain_pnacl_linux_x86_64_hash"),
474          "--file-hash", "pnacl_darwin_i386",
475              Var("nacl_toolchain_pnacl_darwin_i386_hash"),
476          "--x86-version", Var("nacl_toolchain_revision"),
477          "--file-hash", "mac_x86_newlib",
478              Var("nacl_toolchain_mac_x86_newlib_hash"),
479          "--file-hash", "win_x86_newlib",
480              Var("nacl_toolchain_win_x86_newlib_hash"),
481          "--file-hash", "linux_x86_newlib",
482              Var("nacl_toolchain_linux_x86_newlib_hash"),
483          "--file-hash", "mac_x86",
484              Var("nacl_toolchain_mac_x86_hash"),
485          "--file-hash", "win_x86",
486              Var("nacl_toolchain_win_x86_hash"),
487          "--file-hash", "linux_x86",
488              Var("nacl_toolchain_linux_x86_hash"),
489          "--save-downloads-dir",
490              "src/native_client_sdk/src/build_tools/toolchain_archives",
491          "--keep",
492     ],
493   },
494   {
495     # Pull clang on mac. If nothing changed, or on non-mac platforms, this takes
496     # zero seconds to run. If something changed, it downloads a prebuilt clang,
497     # which takes ~20s, but clang speeds up builds by more than 20s.
498     "pattern": ".",
499     "action": ["python", "src/tools/clang/scripts/update.py", "--mac-only"],
500   },
501   {
502     # Update the cygwin mount on Windows.
503     "pattern": ".",
504     "action": ["python", "src/build/win/setup_cygwin_mount.py", "--win-only"],
505   },
506   {
507     # Update LASTCHANGE.
508     "pattern": ".",
509     "action": ["python", "src/build/util/lastchange.py",
510                "-o", "src/build/util/LASTCHANGE"],
511   },
512   {
513     # A change to a .gyp, .gypi, or to GYP itself should run the generator.
514     "pattern": ".",
515     "action": ["python", "src/build/gyp_chromium"],
516   },