WebKit merge 94949:94974
[chromium-blink-merge.git] / DEPS
blob0e6b82cf92867e41e9457140d935cc5bc45be224
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   "webkit_trunk": "http://svn.webkit.org/repository/webkit/trunk",
6   "nacl_trunk": "http://src.chromium.org/native_client/trunk",
7   "webkit_revision": "94974",
8   "chromium_git": "http://git.chromium.org/git",
9   "swig_revision": "69281",
10   "nacl_revision": "6677",
11   # After changing nacl_revision, run 'glient sync' and check native_client/DEPS
12   # to update other nacl_*_revision's.
13   # TODO(brettw) We should use the "From" syntax to avoid hardcoding the
14   # revisions here, but it makes checkdeps confused. We should fix checkdeps.
15   "nacl_tools_revision": "6504",  # native_client/DEPS: tools_rev
17   # These hashes need to be updated when nacl_toolchain_revision is changed.
18   # After changing nacl_toolchain_revision, run 'gclient runhooks' to get the
19   # new values.
20   "nacl_toolchain_mac_x86_newlib_hash":
21       "1b0855435c03c435a011c6105a509624b2a4edaa",
22   "nacl_toolchain_win_x86_newlib_hash":
23       "5038a47b5a9a49acdc36cbe311aec7bce575c164",
24   "nacl_toolchain_linux_x86_newlib_hash":
25       "01e245dc6dca16bea5cf840dbc77e3aa138f234f",
26   "nacl_toolchain_revision": "6494",
28   "libjingle_revision": "83",
29   "libvpx_revision": "97420",
30   "ffmpeg_revision": "99115",
31   "sfntly_revision": "54",
32   "skia_revision": "2245",
33   "v8_revision": "9201",
34   "webrtc_revision": "565",
36   # Note: On most bots, clang is not checked out via DEPS but by
37   # tools/clang/scripts/update.sh. The script reads this line here.
38   # Do NOT CHANGE this if you don't know what you're doing -- see
39   # http://code.google.com/p/chromium/wiki/UpdatingClang
40   "clang_revision": "139473",
43 deps = {
44   "src/breakpad/src":
45     (Var("googlecode_url") % "google-breakpad") + "/trunk/src@828",
47   "src/build/util/support":
48     "/trunk/deps/support@20411",
50   "src/googleurl":
51     (Var("googlecode_url") % "google-url") + "/trunk@159",
53   "src/seccompsandbox":
54     (Var("googlecode_url") % "seccompsandbox") + "/trunk@168",
56   "src/sdch/open-vcdiff":
57     (Var("googlecode_url") % "open-vcdiff") + "/trunk@28",
59   "src/testing/gtest":
60     (Var("googlecode_url") % "googletest") + "/trunk@560",
62   "src/testing/gmock":
63     (Var("googlecode_url") % "googlemock") + "/trunk@374",
65   "src/third_party/angle":
66     (Var("googlecode_url") % "angleproject") + "/trunk@745",
68   # Note that this is *not* where we check out WebKit -- this just
69   # puts some extra files into place for the real WebKit checkout to
70   # happen.  See lines mentioning "webkit_revision" for the real
71   # WebKit checkout.
72   "src/third_party/WebKit":
73     "/trunk/deps/third_party/WebKit@76115",
75   "src/third_party/icu":
76     "/trunk/deps/third_party/icu46@98343",
78   "src/third_party/hunspell":
79    "/trunk/deps/third_party/hunspell@96723",
81   "src/third_party/hunspell_dictionaries":
82     "/trunk/deps/third_party/hunspell_dictionaries@79099",
84   "src/third_party/safe_browsing/testing":
85     (Var("googlecode_url") % "google-safe-browsing") + "/trunk/testing@106",
87   "src/third_party/cacheinvalidation/files/src/google":
88     (Var("googlecode_url") % "google-cache-invalidation-api") +
89     "/trunk/src/google@135",
91   "src/third_party/leveldatabase/src":
92     (Var("googlecode_url") % "leveldb") + "/trunk@47",
94   "src/third_party/snappy/src":
95     (Var("googlecode_url") % "snappy") + "/trunk@37",
97   "src/tools/gyp":
98     (Var("googlecode_url") % "gyp") + "/trunk@1037",
100   "src/v8":
101     (Var("googlecode_url") % "v8") + "/trunk@" + Var("v8_revision"),
103   "src/native_client":
104     Var("nacl_trunk") + "/src/native_client@" + Var("nacl_revision"),
106   "src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin":
107     Var("nacl_trunk") + "/src/native_client/tests/prebuilt@" +
108     Var("nacl_revision"),
110   "src/third_party/sfntly/src/sfntly":
111     (Var("googlecode_url") % "sfntly") + "/trunk/cpp/src/sfntly@" +
112     Var("sfntly_revision"),
114   "src/third_party/skia/gpu":
115     (Var("googlecode_url") % "skia") + "/trunk/gpu@" + Var("skia_revision"),
117   "src/third_party/skia/src":
118     (Var("googlecode_url") % "skia") + "/trunk/src@" + Var("skia_revision"),
120   "src/third_party/skia/include":
121     (Var("googlecode_url") % "skia") + "/trunk/include@" + Var("skia_revision"),
123   "src/third_party/skia/third_party/glu":
124     (Var("googlecode_url") % "skia") + "/trunk/third_party/glu@" + Var("skia_revision"),
126   "src/third_party/WebKit/LayoutTests":
127     Var("webkit_trunk") + "/LayoutTests@" + Var("webkit_revision"),
129   "src/third_party/WebKit/Source":
130     Var("webkit_trunk") + "/Source@" + Var("webkit_revision"),
132   "src/third_party/WebKit/Tools/DumpRenderTree":
133     Var("webkit_trunk") + "/Tools/DumpRenderTree@" + Var("webkit_revision"),
135   "src/third_party/WebKit/Tools/Scripts":
136     Var("webkit_trunk") + "/Tools/Scripts@" + Var("webkit_revision"),
138   "src/third_party/ots":
139     (Var("googlecode_url") % "ots") + "/trunk@69",
141   "src/tools/page_cycler/acid3":
142     "/trunk/deps/page_cycler/acid3@19546",
144   "src/chrome/test/data/perf/frame_rate/content":
145     "/trunk/deps/frame_rate/content@93671",
147   "src/third_party/bidichecker":
148     (Var("googlecode_url") % "bidichecker") + "/trunk/lib@4",
150   "src/third_party/v8-i18n":
151     (Var("googlecode_url") % "v8-i18n") + "/trunk@4",
153   "src/third_party/webgl_conformance":
154     "/trunk/deps/third_party/webgl/sdk/tests@93490",
156   # We run these layout tests as UI tests. Since many of the buildbots that
157   # run layout tests do NOT have access to the LayoutTest directory, we need
158   # to map them here. In practice, these do not take up much space.
159   "src/chrome/test/data/layout_tests/LayoutTests/fast/events":
160     Var("webkit_trunk") + "/LayoutTests/fast/events@" +
161     Var("webkit_revision"),
162   "src/chrome/test/data/layout_tests/LayoutTests/fast/js/resources":
163     Var("webkit_trunk") + "/LayoutTests/fast/js/resources@" +
164     Var("webkit_revision"),
165   "src/chrome/test/data/layout_tests/LayoutTests/fast/workers":
166     Var("webkit_trunk") + "/LayoutTests/fast/workers@" +
167     Var("webkit_revision"),
168   "src/chrome/test/data/layout_tests/LayoutTests/http/tests/resources":
169     Var("webkit_trunk") + "/LayoutTests/http/tests/resources@" +
170     Var("webkit_revision"),
171   "src/chrome/test/data/layout_tests/LayoutTests/http/tests/workers":
172     Var("webkit_trunk") + "/LayoutTests/http/tests/workers@" +
173     Var("webkit_revision"),
174   "src/chrome/test/data/layout_tests/LayoutTests/http/tests/xmlhttprequest":
175     Var("webkit_trunk") + "/LayoutTests/http/tests/xmlhttprequest@" +
176     Var("webkit_revision"),
177   "src/chrome/test/data/layout_tests/LayoutTests/http/tests/websocket/tests":
178     Var("webkit_trunk") + "/LayoutTests/http/tests/websocket/tests@" +
179     Var("webkit_revision"),
180   "src/chrome/test/data/layout_tests/LayoutTests/platform/chromium/fast/workers":
181     Var("webkit_trunk") + "/LayoutTests/platform/chromium/fast/workers@" +
182     Var("webkit_revision"),
183   "src/chrome/test/data/layout_tests/LayoutTests/platform/chromium-cg-mac/fast/events":
184     Var("webkit_trunk") + "/LayoutTests/platform/chromium-cg-mac/fast/events@" +
185     Var("webkit_revision"),
186   "src/chrome/test/data/layout_tests/LayoutTests/platform/chromium-cg-mac/http/tests/workers":
187     Var("webkit_trunk") + "/LayoutTests/platform/chromium-cg-mac/http/tests/workers@" +
188     Var("webkit_revision"),
189   "src/chrome/test/data/layout_tests/LayoutTests/platform/chromium-cg-mac/storage/domstorage":
190     Var("webkit_trunk") + "/LayoutTests/platform/chromium-cg-mac/storage/domstorage@" +
191     Var("webkit_revision"),
192   "src/chrome/test/data/layout_tests/LayoutTests/platform/chromium-win/fast/events":
193     Var("webkit_trunk") + "/LayoutTests/platform/chromium-win/fast/events@" +
194     Var("webkit_revision"),
195   "src/chrome/test/data/layout_tests/LayoutTests/platform/chromium-win/fast/workers":
196     Var("webkit_trunk") + "/LayoutTests/platform/chromium-win/fast/workers@" +
197     Var("webkit_revision"),
198   "src/chrome/test/data/layout_tests/LayoutTests/http/tests/appcache":
199     Var("webkit_trunk") + "/LayoutTests/http/tests/appcache@" +
200     Var("webkit_revision"),
201   "src/chrome/test/data/layout_tests/LayoutTests/platform/chromium-win/http/tests/workers":
202     Var("webkit_trunk") + "/LayoutTests/platform/chromium-win/http/tests/workers@" +
203     Var("webkit_revision"),
204   "src/chrome/test/data/layout_tests/LayoutTests/platform/chromium-win/storage/domstorage":
205     Var("webkit_trunk") + "/LayoutTests/platform/chromium-win/storage/domstorage@" +
206     Var("webkit_revision"),
207   "src/chrome/test/data/layout_tests/LayoutTests/storage/domstorage":
208     Var("webkit_trunk") + "/LayoutTests/storage/domstorage@" +
209     Var("webkit_revision"),
210   "src/chrome/test/data/layout_tests/LayoutTests/media":
211     Var("webkit_trunk") + "/LayoutTests/media@" +
212     Var("webkit_revision"),
213   "src/chrome/test/data/layout_tests/LayoutTests/fast/filesystem/workers":
214     Var("webkit_trunk") + "/LayoutTests/fast/filesystem/workers@" +
215     Var("webkit_revision"),
216   "src/chrome/test/data/layout_tests/LayoutTests/fast/filesystem/resources":
217     Var("webkit_trunk") + "/LayoutTests/fast/filesystem/resources@" +
218     Var("webkit_revision"),
219   "src/chrome/test/data/layout_tests/LayoutTests/http/tests/filesystem":
220     Var("webkit_trunk") + "/LayoutTests/http/tests/filesystem@" +
221     Var("webkit_revision"),
223   "src/third_party/swig/Lib":
224     "/trunk/deps/third_party/swig/Lib@" + Var("swig_revision"),
226   # WebDriver keeps client and test code separate, and merges when the
227   # python egg is installed. We run tests directly from src, so import
228   # the code into the structure expected by the tests.
229   # Make sure you update chrome/test/functional.DEPS/DEPS too.
230   "src/third_party/webdriver/python/selenium":
231     "http://selenium.googlecode.com/svn/trunk/py/selenium@13487",
232   "src/third_party/webdriver/python/selenium/test":
233     "http://selenium.googlecode.com/svn/trunk/py/test@13487",
235   "src/third_party/libvpx":
236     "/trunk/deps/third_party/libvpx@" +
237     Var("libvpx_revision"),
239   "src/third_party/ffmpeg":
240     "/trunk/deps/third_party/ffmpeg/source@" +
241     Var("ffmpeg_revision"),
243   "src/third_party/libjingle/source":
244     (Var("googlecode_url") % "libjingle") + "/trunk@" +
245     Var("libjingle_revision"),
247   "src/third_party/speex":
248     "/trunk/deps/third_party/speex@83190",
250   "src/third_party/yasm/source/patched-yasm":
251     "/trunk/deps/third_party/yasm/patched-yasm@73761",
253   "src/third_party/libjpeg_turbo":
254     "/trunk/deps/third_party/libjpeg_turbo@95800",
256   "src/third_party/flac":
257     "/trunk/deps/third_party/flac@96404",
259   "src/third_party/pyftpdlib/src":
260     (Var("googlecode_url") % "pyftpdlib") + "/trunk@888",
262   # Needed to support nacl browser test jig.
263   "src/third_party/pylib":
264     # TODO(brettw) enable the From() line instead when checkdeps is fixed.
265     #From("src/native_client", "native_client/src/third_party/pylib"),
266     Var("nacl_trunk") + "/src/third_party/pylib@" + Var("nacl_tools_revision"),
267   "src/third_party/scons-2.0.1":
268     Var("nacl_trunk") + "/src/third_party/scons-2.0.1@" +
269         Var("nacl_tools_revision"),
271   "src/third_party/webrtc":
272     (Var("googlecode_url") % "webrtc") + "/trunk/src@" + Var("webrtc_revision"),
274   "src/third_party/mozc/session":
275     (Var("googlecode_url") % "mozc") + "/trunk/src/session@58",
277   "src/third_party/smhasher/src":
278     "http://smhasher.googlecode.com/svn/trunk@136",
282 deps_os = {
283   "win": {
284     "src/chrome/tools/test/reference_build/chrome_win":
285       "/trunk/deps/reference_builds/chrome_win@89574",
287     "src/third_party/cygwin":
288       "/trunk/deps/third_party/cygwin@66844",
290     "src/third_party/python_26":
291       "/trunk/tools/third_party/python_26@89111",
293     "src/third_party/psyco_win32":
294       "/trunk/deps/third_party/psyco_win32@79861",
296     "src/third_party/lighttpd":
297       "/trunk/deps/third_party/lighttpd@33727",
299     "src/third_party/ffmpeg/binaries/chromium/win/ia32":
300       "/trunk/deps/third_party/ffmpeg/binaries/win@" + Var("ffmpeg_revision"),
302     # Chrome Frame related deps
303     "src/third_party/xulrunner-sdk":
304       "/trunk/deps/third_party/xulrunner-sdk@71609",
305     "src/chrome_frame/tools/test/reference_build/chrome_win":
306       "/trunk/deps/reference_builds/chrome_win@89574",
308     # Parses Windows PE/COFF executable format.
309     "src/third_party/pefile":
310       (Var("googlecode_url") % "pefile") + "/trunk@63",
312     # NSS, for SSLClientSocketNSS.
313     "src/third_party/nss":
314       "/trunk/deps/third_party/nss@94921",
316     "src/third_party/swig/win":
317       "/trunk/deps/third_party/swig/win@" + Var("swig_revision"),
319     "src/third_party/mingw-w64/mingw/bin":
320       (Var("nacl_trunk") + "/src/third_party/mingw-w64/mingw/bin@" +
321        Var("nacl_tools_revision")),
323     "src/rlz":
324       (Var("googlecode_url") % "rlz") + "/trunk@47",
326     # Dependencies used by libjpeg-turbo
327     "src/third_party/yasm/binaries":
328       "/trunk/deps/third_party/yasm/binaries@74228",
330     # Binary level profile guided optimizations.  This points to the
331     # latest release binaries for the toolchain.
332     "src/third_party/syzygy/binaries":
333       (Var("googlecode_url") % "sawbuck") + "/trunk/syzygy/binaries@417",
334   },
335   "mac": {
336     "src/chrome/tools/test/reference_build/chrome_mac":
337       "/trunk/deps/reference_builds/chrome_mac@89574",
339     "src/third_party/GTM":
340       (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@459",
341     "src/third_party/pdfsqueeze":
342       (Var("googlecode_url") % "pdfsqueeze") + "/trunk@4",
343     "src/third_party/lighttpd":
344       "/trunk/deps/third_party/lighttpd@33737",
346     "src/third_party/WebKit/WebKitLibraries":
347       Var("webkit_trunk") + "/WebKitLibraries@" + Var("webkit_revision"),
349     "src/third_party/swig/mac":
350       "/trunk/deps/third_party/swig/mac@" + Var("swig_revision"),
352     # NSS, for SSLClientSocketNSS.
353     "src/third_party/nss":
354       "/trunk/deps/third_party/nss@94921",
356     "src/chrome/installer/mac/third_party/xz/xz":
357       "/trunk/deps/third_party/xz@87706",
358   },
359   "unix": {
360     # Linux, really.
361     "src/chrome/tools/test/reference_build/chrome_linux":
362       "/trunk/deps/reference_builds/chrome_linux@89574",
364     "src/third_party/xdg-utils":
365       "/trunk/deps/third_party/xdg-utils@93299",
367     "src/third_party/swig/linux":
368       "/trunk/deps/third_party/swig/linux@" + Var("swig_revision"),
370     "src/third_party/lss":
371       (Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@3",
373     "src/third_party/openssl":
374       "/trunk/deps/third_party/openssl@94299",
376     "src/third_party/WebKit/Tools/gdb":
377       Var("webkit_trunk") + "/Tools/gdb@" + Var("webkit_revision"),
378   },
382 include_rules = [
383   # Everybody can use some things.
384   "+base",
385   "+build",
386   "+ipc",
388   # For now, we allow ICU to be included by specifying "unicode/...", although
389   # this should probably change.
390   "+unicode",
391   "+testing",
395 # checkdeps.py shouldn't check include paths for files in these dirs:
396 skip_child_includes = [
397   "breakpad",
398   "chrome_frame",
399   "native_client",
400   "o3d",
401   "pdf",
402   "sdch",
403   "skia",
404   "testing",
405   "third_party",
406   "v8",
410 hooks = [
411   {
412     # This downloads binaries for Native Client's newlib toolchain.
413     # Done in lieu of building the toolchain from scratch as it can take
414     # anywhere from 30 minutes to 4 hours depending on platform to build.
415     "pattern": ".",
416     "action": [
417         "python", "src/build/download_nacl_toolchains.py",
418          "--x86-version", Var("nacl_toolchain_revision"),
419          "--nacl-newlib-only",
420          "--file-hash", "mac_x86_newlib",
421              Var("nacl_toolchain_mac_x86_newlib_hash"),
422          "--file-hash", "win_x86_newlib",
423              Var("nacl_toolchain_win_x86_newlib_hash"),
424          "--file-hash", "linux_x86_newlib",
425              Var("nacl_toolchain_linux_x86_newlib_hash"),
426     ],
427   },
428   {
429     # Pull clang on mac. If nothing changed, or on non-mac platforms, this takes
430     # zero seconds to run. If something changed, it downloads a prebuilt clang,
431     # which takes ~20s, but clang speeds up builds by more than 20s.
432     "pattern": ".",
433     "action": ["python", "src/tools/clang/scripts/update.py", "--mac-only"],
434   },
435   {
436     # A change to a .gyp, .gypi, or to GYP itself should run the generator.
437     "pattern": ".",
438     "action": ["python", "src/build/gyp_chromium"],
439   },