Shard the browser.lib 10 ways in official builds.
[chromium-blink-merge.git] / DEPS
blob9e0d5fc9b6d9eb69f1199323610146b776dbacf2
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": "102988",
9   "chromium_git": "http://git.chromium.org/git",
10   "swig_revision": "69281",
11   "nacl_revision": "7388",
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       "23f1945071467efeff373889b3ca036c10207522",
21   "nacl_toolchain_linux_x86_newlib_hash":
22       "06935bbb3ab4c55d9f6555ae54fa06e096464491",
23   "nacl_toolchain_mac_x86_hash":
24       "98da0b2c45a5ecc0a424b393e5ae6dec780940fa",
25   "nacl_toolchain_mac_x86_newlib_hash":
26       "56d82b794c3523a43068a5b69236277a96de04c5",
27   "nacl_toolchain_win_x86_hash":
28       "c5af5469b2252f3d5bb9ce4a7758b4537e9c5b16",
29   "nacl_toolchain_win_x86_newlib_hash":
30       "40d182ac25fe6623cfbe5772623c15c663a42c93",
31   "nacl_toolchain_revision": "7332",
33   "libjingle_revision": "100",
34   "libphonenumber_revision": "407",
35   "libvpx_revision": "109236",
36   "lss_revision": "9",
37   "ffmpeg_revision": "112050",
38   "sfntly_revision": "118",
39   "skia_revision": "2875",
40   # Three lines of non-changing comments so that
41   # the commit queue can handle CLs rolling Skia
42   # and V8 without interference from each other.
43   "v8_revision": "10163",
44   "webrtc_revision": "1165",
45   "jsoncpp_revision": "246",
48 deps = {
49   "src/breakpad/src":
50     (Var("googlecode_url") % "google-breakpad") + "/trunk/src@891",
52   "src/build/util/support":
53     "/trunk/deps/support@20411",
55   "src/googleurl":
56     (Var("googlecode_url") % "google-url") + "/trunk@162",
58   "src/seccompsandbox":
59     (Var("googlecode_url") % "seccompsandbox") + "/trunk@178",
61   "src/sdch/open-vcdiff":
62     (Var("googlecode_url") % "open-vcdiff") + "/trunk@40",
64   "src/testing/gtest":
65     (Var("googlecode_url") % "googletest") + "/trunk@560",
67   "src/testing/gmock":
68     (Var("googlecode_url") % "googlemock") + "/trunk@374",
70   "src/third_party/angle":
71     (Var("googlecode_url") % "angleproject") + "/trunk@911",
73   # Note that this is *not* where we check out WebKit -- this just
74   # puts some extra files into place for the real WebKit checkout to
75   # happen.  See lines mentioning "webkit_revision" for the real
76   # WebKit checkout.
77   "src/third_party/WebKit":
78     "/trunk/deps/third_party/WebKit@76115",
80   "src/third_party/icu":
81     "/trunk/deps/third_party/icu46@113543",
83   "src/third_party/hunspell":
84    "/trunk/deps/third_party/hunspell@110423",
86   "src/third_party/hunspell_dictionaries":
87     "/trunk/deps/third_party/hunspell_dictionaries@79099",
89   "src/third_party/safe_browsing/testing":
90     (Var("googlecode_url") % "google-safe-browsing") + "/trunk/testing@106",
92   "src/third_party/cacheinvalidation/files/src/google":
93     (Var("googlecode_url") % "google-cache-invalidation-api") +
94     "/trunk/src/google@143",
96   "src/third_party/leveldatabase/src":
97     (Var("googlecode_url") % "leveldb") + "/trunk@55",
99   "src/third_party/snappy/src":
100     (Var("googlecode_url") % "snappy") + "/trunk@37",
102   "src/tools/grit":
103     (Var("googlecode_url") % "grit-i18n") + "/trunk@9",
105   "src/tools/gyp":
106     (Var("googlecode_url") % "gyp") + "/trunk@1107",
108   "src/v8":
109     (Var("googlecode_url") % "v8") + "/branches/3.7@" + Var("v8_revision"),
111   "src/native_client":
112     Var("nacl_trunk") + "/src/native_client@" + Var("nacl_revision"),
114   "src/native_client_sdk/src/site_scons":
115     Var("nacl_trunk") + "/src/native_client/site_scons@" + Var("nacl_revision"),
117   "src/third_party/pymox/src":
118     (Var("googlecode_url") % "pymox") + "/trunk@70",
120   "src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin":
121     Var("nacl_trunk") + "/src/native_client/tests/prebuilt@" +
122     Var("nacl_revision"),
124   "src/third_party/sfntly/cpp/src":
125     (Var("googlecode_url") % "sfntly") + "/trunk/cpp/src@" +
126     Var("sfntly_revision"),
128   "src/third_party/skia/src":
129     (Var("googlecode_url") % "skia") + "/trunk/src@" + Var("skia_revision"),
131   "src/third_party/skia/include":
132     (Var("googlecode_url") % "skia") + "/trunk/include@" + Var("skia_revision"),
134   "src/third_party/skia/third_party/glu":
135     (Var("googlecode_url") % "skia") + "/trunk/third_party/glu@" + Var("skia_revision"),
137   "src/third_party/WebKit/LayoutTests":
138     Var("webkit_trunk") + "/LayoutTests@" + Var("webkit_revision"),
140   "src/third_party/WebKit/Source":
141     Var("webkit_trunk") + "/Source@" + Var("webkit_revision"),
143   "src/third_party/WebKit/Tools/DumpRenderTree":
144     Var("webkit_trunk") + "/Tools/DumpRenderTree@" + Var("webkit_revision"),
146   "src/third_party/WebKit/Tools/Scripts":
147     Var("webkit_trunk") + "/Tools/Scripts@" + Var("webkit_revision"),
149   "src/third_party/WebKit/Tools/TestWebKitAPI":
150     Var("webkit_trunk") + "/Tools/TestWebKitAPI@" + Var("webkit_revision"),
152   "src/third_party/ots":
153     (Var("googlecode_url") % "ots") + "/trunk@76",
155   "src/tools/page_cycler/acid3":
156     "/trunk/deps/page_cycler/acid3@102714",
158   "src/chrome/test/data/perf/frame_rate/content":
159     "/trunk/deps/frame_rate/content@93671",
161   "src/third_party/bidichecker":
162     (Var("googlecode_url") % "bidichecker") + "/trunk/lib@4",
164   "src/third_party/v8-i18n":
165     (Var("googlecode_url") % "v8-i18n") + "/trunk@7",
167   # When roll to another webgl conformance tests revision, please goto
168   # chrome/test/gpu and run generate_webgl_conformance_test_list.py.
169   "src/third_party/webgl_conformance":
170     "/trunk/deps/third_party/webgl/sdk/tests@106432",
172   # We should use the same software_rendering_list.json for all branches.
173   "src/chrome/browser/resources/software_rendering_list":
174     "/trunk/deps/gpu/software_rendering_list@110790",
176   # We run these layout tests as UI tests. Since many of the buildbots that
177   # run layout tests do NOT have access to the LayoutTest directory, we need
178   # to map them here. In practice, these do not take up much space.
179   "src/chrome/test/data/layout_tests/LayoutTests/fast/events":
180     Var("webkit_trunk") + "/LayoutTests/fast/events@" +
181     Var("webkit_revision"),
182   "src/chrome/test/data/layout_tests/LayoutTests/fast/js/resources":
183     Var("webkit_trunk") + "/LayoutTests/fast/js/resources@" +
184     Var("webkit_revision"),
185   "src/chrome/test/data/layout_tests/LayoutTests/fast/workers":
186     Var("webkit_trunk") + "/LayoutTests/fast/workers@" +
187     Var("webkit_revision"),
188   "src/chrome/test/data/layout_tests/LayoutTests/http/tests/resources":
189     Var("webkit_trunk") + "/LayoutTests/http/tests/resources@" +
190     Var("webkit_revision"),
191   "src/chrome/test/data/layout_tests/LayoutTests/http/tests/workers":
192     Var("webkit_trunk") + "/LayoutTests/http/tests/workers@" +
193     Var("webkit_revision"),
194   "src/chrome/test/data/layout_tests/LayoutTests/http/tests/xmlhttprequest":
195     Var("webkit_trunk") + "/LayoutTests/http/tests/xmlhttprequest@" +
196     Var("webkit_revision"),
197   "src/chrome/test/data/layout_tests/LayoutTests/http/tests/websocket/tests":
198     Var("webkit_trunk") + "/LayoutTests/http/tests/websocket/tests@" +
199     Var("webkit_revision"),
200   "src/chrome/test/data/layout_tests/LayoutTests/platform/chromium/fast/workers":
201     Var("webkit_trunk") + "/LayoutTests/platform/chromium/fast/workers@" +
202     Var("webkit_revision"),
203   "src/chrome/test/data/layout_tests/LayoutTests/platform/chromium-cg-mac/fast/events":
204     Var("webkit_trunk") + "/LayoutTests/platform/chromium-cg-mac/fast/events@" +
205     Var("webkit_revision"),
206   "src/chrome/test/data/layout_tests/LayoutTests/platform/chromium-cg-mac/http/tests/workers":
207     Var("webkit_trunk") + "/LayoutTests/platform/chromium-cg-mac/http/tests/workers@" +
208     Var("webkit_revision"),
209   "src/chrome/test/data/layout_tests/LayoutTests/platform/chromium-cg-mac/storage/domstorage":
210     Var("webkit_trunk") + "/LayoutTests/platform/chromium-cg-mac/storage/domstorage@" +
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/media":
231     Var("webkit_trunk") + "/LayoutTests/media@" +
232     Var("webkit_revision"),
233   "src/chrome/test/data/layout_tests/LayoutTests/fast/filesystem/workers":
234     Var("webkit_trunk") + "/LayoutTests/fast/filesystem/workers@" +
235     Var("webkit_revision"),
236   "src/chrome/test/data/layout_tests/LayoutTests/fast/filesystem/resources":
237     Var("webkit_trunk") + "/LayoutTests/fast/filesystem/resources@" +
238     Var("webkit_revision"),
239   "src/chrome/test/data/layout_tests/LayoutTests/http/tests/filesystem":
240     Var("webkit_trunk") + "/LayoutTests/http/tests/filesystem@" +
241     Var("webkit_revision"),
243   "src/third_party/swig/Lib":
244     "/trunk/deps/third_party/swig/Lib@" + Var("swig_revision"),
246   # Make sure you update the two functional.DEPS and webdriver.DEPS too.
247   "src/third_party/webdriver/pylib":
248     "http://selenium.googlecode.com/svn/trunk/py@13487",
250   "src/third_party/libvpx":
251     "/trunk/deps/third_party/libvpx@" +
252     Var("libvpx_revision"),
254   "src/third_party/ffmpeg":
255     "/trunk/deps/third_party/ffmpeg/source@" +
256     Var("ffmpeg_revision"),
258   "src/third_party/libjingle/source":
259     (Var("googlecode_url") % "libjingle") + "/trunk@" +
260     Var("libjingle_revision"),
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@111873",
271   "src/third_party/flac":
272     "/trunk/deps/third_party/flac@96404",
274   "src/third_party/pyftpdlib/src":
275     (Var("googlecode_url") % "pyftpdlib") + "/trunk@888",
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@102",
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"),
319 deps_os = {
320   "win": {
321     "src/chrome/tools/test/reference_build/chrome_win":
322       "/trunk/deps/reference_builds/chrome_win@89574",
324     "src/third_party/cygwin":
325       "/trunk/deps/third_party/cygwin@66844",
327     "src/third_party/python_26":
328       "/trunk/tools/third_party/python_26@89111",
330     "src/third_party/psyco_win32":
331       "/trunk/deps/third_party/psyco_win32@79861",
333     "src/third_party/lighttpd":
334       "/trunk/deps/third_party/lighttpd@33727",
336     "src/third_party/ffmpeg/binaries/chromium/win/ia32":
337       "/trunk/deps/third_party/ffmpeg/binaries/win@" + Var("ffmpeg_revision"),
339     # Chrome Frame related deps
340     "src/third_party/xulrunner-sdk":
341       "/trunk/deps/third_party/xulrunner-sdk@71609",
342     "src/chrome_frame/tools/test/reference_build/chrome_win":
343       "/trunk/deps/reference_builds/chrome_win@89574",
345     # Parses Windows PE/COFF executable format.
346     "src/third_party/pefile":
347       (Var("googlecode_url") % "pefile") + "/trunk@63",
349     # NSS, for SSLClientSocketNSS.
350     "src/third_party/nss":
351       "/trunk/deps/third_party/nss@114554",
353     "src/third_party/swig/win":
354       "/trunk/deps/third_party/swig/win@" + Var("swig_revision"),
356     "src/third_party/mingw-w64/mingw/bin":
357       (Var("nacl_trunk") + "/deps/third_party/mingw-w64/mingw/bin@" +
358        Var("nacl_tools_revision")),
360     "src/rlz":
361       (Var("googlecode_url") % "rlz") + "/trunk@49",
363     # Dependencies used by libjpeg-turbo
364     "src/third_party/yasm/binaries":
365       "/trunk/deps/third_party/yasm/binaries@74228",
367     # Binary level profile guided optimizations. This points to the
368     # latest release binaries for the toolchain.
369     "src/third_party/syzygy/binaries":
370       (Var("googlecode_url") % "sawbuck") + "/trunk/syzygy/binaries@543",
372     # Binaries for nacl sdk.
373     "src/third_party/nacl_sdk_binaries":
374       "/trunk/deps/third_party/nacl_sdk_binaries@111576",
375   },
376   "mac": {
377     "src/chrome/tools/test/reference_build/chrome_mac":
378       "/trunk/deps/reference_builds/chrome_mac@89574",
380     "src/third_party/GTM":
381       (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@459",
382     "src/third_party/pdfsqueeze":
383       (Var("googlecode_url") % "pdfsqueeze") + "/trunk@4",
384     "src/third_party/lighttpd":
385       "/trunk/deps/third_party/lighttpd@33737",
387     "src/third_party/swig/mac":
388       "/trunk/deps/third_party/swig/mac@" + Var("swig_revision"),
390     # NSS, for SSLClientSocketNSS.
391     "src/third_party/nss":
392       "/trunk/deps/third_party/nss@114554",
394     "src/chrome/installer/mac/third_party/xz/xz":
395       "/trunk/deps/third_party/xz@87706",
396   },
397   "unix": {
398     # Linux, really.
399     "src/chrome/tools/test/reference_build/chrome_linux":
400       "/trunk/deps/reference_builds/chrome_linux@89574",
402     "src/third_party/xdg-utils":
403       "/trunk/deps/third_party/xdg-utils@93299",
405     "src/third_party/swig/linux":
406       "/trunk/deps/third_party/swig/linux@" + Var("swig_revision"),
408     "src/third_party/lss":
409       ((Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@" +
410        Var("lss_revision")),
412     "src/third_party/openssl":
413       "/trunk/deps/third_party/openssl@105093",
415     "src/third_party/WebKit/Tools/gdb":
416       Var("webkit_trunk") + "/Tools/gdb@" + Var("webkit_revision"),
417   },
421 include_rules = [
422   # Everybody can use some things.
423   "+base",
424   "+build",
425   "+ipc",
427   # For now, we allow ICU to be included by specifying "unicode/...", although
428   # this should probably change.
429   "+unicode",
430   "+testing",
434 # checkdeps.py shouldn't check include paths for files in these dirs:
435 skip_child_includes = [
436   "breakpad",
437   "chrome_frame",
438   "native_client",
439   "native_client_sdk",
440   "o3d",
441   "pdf",
442   "sdch",
443   "skia",
444   "testing",
445   "third_party",
446   "v8",
450 hooks = [
451   {
452     # This downloads binaries for Native Client's newlib toolchain.
453     # Done in lieu of building the toolchain from scratch as it can take
454     # anywhere from 30 minutes to 4 hours depending on platform to build.
455     "pattern": ".",
456     "action": [
457         "python", "src/build/download_nacl_toolchains.py",
458          "--no-pnacl",
459          "--no-arm-trusted",
460          "--x86-version", Var("nacl_toolchain_revision"),
461          "--file-hash", "mac_x86_newlib",
462              Var("nacl_toolchain_mac_x86_newlib_hash"),
463          "--file-hash", "win_x86_newlib",
464              Var("nacl_toolchain_win_x86_newlib_hash"),
465          "--file-hash", "linux_x86_newlib",
466              Var("nacl_toolchain_linux_x86_newlib_hash"),
467          "--file-hash", "mac_x86",
468              Var("nacl_toolchain_mac_x86_hash"),
469          "--file-hash", "win_x86",
470              Var("nacl_toolchain_win_x86_hash"),
471          "--file-hash", "linux_x86",
472              Var("nacl_toolchain_linux_x86_hash"),
473          "--save-downloads-dir",
474              "src/native_client_sdk/src/build_tools/toolchain_archives",
475     ],
476   },
477   {
478     # Pull clang on mac. If nothing changed, or on non-mac platforms, this takes
479     # zero seconds to run. If something changed, it downloads a prebuilt clang,
480     # which takes ~20s, but clang speeds up builds by more than 20s.
481     "pattern": ".",
482     "action": ["python", "src/tools/clang/scripts/update.py", "--mac-only"],
483   },
484   {
485     # A change to a .gyp, .gypi, or to GYP itself should run the generator.
486     "pattern": ".",
487     "action": ["python", "src/build/gyp_chromium"],
488   },