WebKit merge 89334:89339.
[chromium-blink-merge.git] / DEPS
blob2bb86c3651a7b2574d4cea4948344fe658839a34
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": "89339",
8   "chromium_git": "http://git.chromium.org/git",
9   "swig_revision": "69281",
10   # These hashes need to be updated when nacl_revision is changed.
11   # After changing nacl_revision, run gclient sync to get the new values.
12   "nacl_irt_hash_x86_32": "06efd9f7182db27a8d17f910dd001230a4032ab5",
13   "nacl_irt_hash_x86_64": "ebb81e9511c2deebbbd2bcfd642b1bb25a9c6f44",
14   "nacl_revision": "5679",
15   "nacl_tools_revision": "5675",
16   "libjingle_revision": "66",
17   "libvpx_revision": "88361",
18   "ffmpeg_revision": "88382",
19   "skia_revision": "1642",
20   "v8_revision": "8294",
21   "webrtc_revision": "90",
24 deps = {
25   "src/breakpad/src":
26     (Var("googlecode_url") % "google-breakpad") + "/trunk/src@786",
28   "src/build/util/support":
29     "/trunk/deps/support@20411",
31   "src/googleurl":
32     (Var("googlecode_url") % "google-url") + "/trunk@157",
34   "src/seccompsandbox":
35     (Var("googlecode_url") % "seccompsandbox") + "/trunk@155",
37   "src/sdch/open-vcdiff":
38     (Var("googlecode_url") % "open-vcdiff") + "/trunk@28",
40   "src/testing/gtest":
41     (Var("googlecode_url") % "googletest") + "/trunk@560",
43   "src/testing/gmock":
44     (Var("googlecode_url") % "googlemock") + "/trunk@374",
46   "src/third_party/angle":
47     (Var("googlecode_url") % "angleproject") + "/trunk@696",
49   # Note that this is *not* where we check out WebKit -- this just
50   # puts some extra files into place for the real WebKit checkout to
51   # happen.  See lines mentioning "webkit_revision" for the real
52   # WebKit checkout.
53   "src/third_party/WebKit":
54     "/trunk/deps/third_party/WebKit@76115",
56   "src/third_party/icu":
57     "/trunk/deps/third_party/icu46@88321",
59   "src/third_party/hunspell":
60    "/trunk/deps/third_party/hunspell@65351",
62   "src/third_party/hunspell_dictionaries":
63     "/trunk/deps/third_party/hunspell_dictionaries@79099",
65   "src/third_party/safe_browsing/testing":
66     (Var("googlecode_url") % "google-safe-browsing") + "/trunk/testing@106",
68   "src/third_party/cacheinvalidation/files/src/google":
69     (Var("googlecode_url") % "google-cache-invalidation-api") +
70     "/trunk/src/google@80",
72   "src/third_party/leveldb":
73     (Var("googlecode_url") % "leveldb") + "/trunk@31",
75   "src/third_party/snappy/src":
76     (Var("googlecode_url") % "snappy") + "/trunk@37",
78   "src/tools/gyp":
79     (Var("googlecode_url") % "gyp") + "/trunk@933",
81   "src/v8":
82     (Var("googlecode_url") % "v8") + "/trunk@" + Var("v8_revision"),
84   "src/native_client":
85     Var("nacl_trunk") + "/src/native_client@" + Var("nacl_revision"),
87   "src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin":
88     Var("nacl_trunk") + "/src/native_client/tests/prebuilt@" +
89     Var("nacl_revision"),
91   "src/third_party/skia/gpu":
92     (Var("googlecode_url") % "skia") + "/trunk/gpu@" + Var("skia_revision"),
94   "src/third_party/skia/src":
95     (Var("googlecode_url") % "skia") + "/trunk/src@" + Var("skia_revision"),
97   "src/third_party/skia/include":
98     (Var("googlecode_url") % "skia") + "/trunk/include@" + Var("skia_revision"),
100   "src/third_party/skia/third_party/glu":
101     (Var("googlecode_url") % "skia") + "/trunk/third_party/glu@" + Var("skia_revision"),
103   "src/third_party/WebKit/LayoutTests":
104     Var("webkit_trunk") + "/LayoutTests@" + Var("webkit_revision"),
106   "src/third_party/WebKit/Source":
107     Var("webkit_trunk") + "/Source@" + Var("webkit_revision"),
109   "src/third_party/WebKit/Tools/DumpRenderTree":
110     Var("webkit_trunk") + "/Tools/DumpRenderTree@" + Var("webkit_revision"),
112   "src/third_party/WebKit/Tools/Scripts":
113     Var("webkit_trunk") + "/Tools/Scripts@" + Var("webkit_revision"),
115   "src/third_party/ots":
116     (Var("googlecode_url") % "ots") + "/trunk@69",
118   "src/tools/page_cycler/acid3":
119     "/trunk/deps/page_cycler/acid3@19546",
121   "src/third_party/bidichecker":
122     (Var("googlecode_url") % "bidichecker") + "/trunk/lib@4",
124   # We run these layout tests as UI tests. Since many of the buildbots that
125   # run layout tests do NOT have access to the LayoutTest directory, we need
126   # to map them here. In practice, these do not take up much space.
127   "src/chrome/test/data/layout_tests/LayoutTests/fast/events":
128     Var("webkit_trunk") + "/LayoutTests/fast/events@" +
129     Var("webkit_revision"),
130   "src/chrome/test/data/layout_tests/LayoutTests/fast/js/resources":
131     Var("webkit_trunk") + "/LayoutTests/fast/js/resources@" +
132     Var("webkit_revision"),
133   "src/chrome/test/data/layout_tests/LayoutTests/fast/workers":
134     Var("webkit_trunk") + "/LayoutTests/fast/workers@" +
135     Var("webkit_revision"),
136   "src/chrome/test/data/layout_tests/LayoutTests/http/tests/resources":
137     Var("webkit_trunk") + "/LayoutTests/http/tests/resources@" +
138     Var("webkit_revision"),
139   "src/chrome/test/data/layout_tests/LayoutTests/http/tests/workers":
140     Var("webkit_trunk") + "/LayoutTests/http/tests/workers@" +
141     Var("webkit_revision"),
142   "src/chrome/test/data/layout_tests/LayoutTests/http/tests/xmlhttprequest":
143     Var("webkit_trunk") + "/LayoutTests/http/tests/xmlhttprequest@" +
144     Var("webkit_revision"),
145   "src/chrome/test/data/layout_tests/LayoutTests/http/tests/websocket/tests":
146     Var("webkit_trunk") + "/LayoutTests/http/tests/websocket/tests@" +
147     Var("webkit_revision"),
148   "src/chrome/test/data/layout_tests/LayoutTests/platform/chromium/fast/workers":
149     Var("webkit_trunk") + "/LayoutTests/platform/chromium/fast/workers@" +
150     Var("webkit_revision"),
151   "src/chrome/test/data/layout_tests/LayoutTests/platform/chromium-mac/fast/events":
152     Var("webkit_trunk") + "/LayoutTests/platform/chromium-mac/fast/events@" +
153     Var("webkit_revision"),
154   "src/chrome/test/data/layout_tests/LayoutTests/platform/chromium-mac/http/tests/workers":
155     Var("webkit_trunk") + "/LayoutTests/platform/chromium-mac/http/tests/workers@" +
156     Var("webkit_revision"),
157   "src/chrome/test/data/layout_tests/LayoutTests/platform/chromium-mac/storage/domstorage":
158     Var("webkit_trunk") + "/LayoutTests/platform/chromium-mac/storage/domstorage@" +
159     Var("webkit_revision"),
160   "src/chrome/test/data/layout_tests/LayoutTests/platform/chromium-win/fast/events":
161     Var("webkit_trunk") + "/LayoutTests/platform/chromium-win/fast/events@" +
162     Var("webkit_revision"),
163   "src/chrome/test/data/layout_tests/LayoutTests/platform/chromium-win/fast/workers":
164     Var("webkit_trunk") + "/LayoutTests/platform/chromium-win/fast/workers@" +
165     Var("webkit_revision"),
166   "src/chrome/test/data/layout_tests/LayoutTests/http/tests/appcache":
167     Var("webkit_trunk") + "/LayoutTests/http/tests/appcache@" +
168     Var("webkit_revision"),
169   "src/chrome/test/data/layout_tests/LayoutTests/platform/chromium-win/http/tests/workers":
170     Var("webkit_trunk") + "/LayoutTests/platform/chromium-win/http/tests/workers@" +
171     Var("webkit_revision"),
172   "src/chrome/test/data/layout_tests/LayoutTests/platform/chromium-win/storage/domstorage":
173     Var("webkit_trunk") + "/LayoutTests/platform/chromium-win/storage/domstorage@" +
174     Var("webkit_revision"),
175   "src/chrome/test/data/layout_tests/LayoutTests/storage/domstorage":
176     Var("webkit_trunk") + "/LayoutTests/storage/domstorage@" +
177     Var("webkit_revision"),
178   "src/chrome/test/data/layout_tests/LayoutTests/media":
179     Var("webkit_trunk") + "/LayoutTests/media@" +
180     Var("webkit_revision"),
181   "src/chrome/test/data/layout_tests/LayoutTests/fast/filesystem/workers":
182     Var("webkit_trunk") + "/LayoutTests/fast/filesystem/workers@" +
183     Var("webkit_revision"),
184   "src/chrome/test/data/layout_tests/LayoutTests/fast/filesystem/resources":
185     Var("webkit_trunk") + "/LayoutTests/fast/filesystem/resources@" +
186     Var("webkit_revision"),
187   "src/chrome/test/data/layout_tests/LayoutTests/http/tests/filesystem":
188     Var("webkit_trunk") + "/LayoutTests/http/tests/filesystem@" +
189     Var("webkit_revision"),
191   "src/third_party/swig/Lib":
192     "/trunk/deps/third_party/swig/Lib@" + Var("swig_revision"),
194   # WebDriver keeps client and test code separate, and merges when the
195   # python egg is installed. We run tests directly from src, so import
196   # the code into the structure expected by the tests.
197   "src/third_party/webdriver/python/selenium":
198     "http://selenium.googlecode.com/svn/trunk/py/selenium@12107",
199   "src/third_party/webdriver/python/selenium/test":
200     "http://selenium.googlecode.com/svn/trunk/py/test@12107",
202   "src/third_party/libvpx":
203     "/trunk/deps/third_party/libvpx@" +
204     Var("libvpx_revision"),
206   "src/third_party/ffmpeg":
207     "/trunk/deps/third_party/ffmpeg/source@" +
208     Var("ffmpeg_revision"),
210   "src/third_party/libjingle/source":
211     (Var("googlecode_url") % "libjingle") + "/trunk@" +
212     Var("libjingle_revision"),
214   "src/third_party/speex":
215     "/trunk/deps/third_party/speex@83190",
217   "src/third_party/yasm/source/patched-yasm":
218     "/trunk/deps/third_party/yasm/patched-yasm@73761",
220   "src/third_party/libjpeg_turbo":
221     "/trunk/deps/third_party/libjpeg_turbo@83675",
223   "src/third_party/flac":
224     "/trunk/deps/third_party/flac@75901",
226   # Needed to support nacl browser test jig.
227   "src/third_party/pylib":
228     Var("nacl_trunk") + "/src/third_party/pylib@" + Var("nacl_tools_revision"),
229   "src/third_party/scons-2.0.1":
230     Var("nacl_trunk") + "/src/third_party/scons-2.0.1@" +
231         Var("nacl_tools_revision"),
233   "src/third_party/webrtc":
234     (Var("googlecode_url") % "webrtc") + "/trunk@" + Var("webrtc_revision"),
238 deps_os = {
239   "win": {
240     "src/chrome/tools/test/reference_build/chrome":
241       "/trunk/deps/reference_builds/chrome@70122",
243     "src/third_party/cygwin":
244       "/trunk/deps/third_party/cygwin@66844",
246     "src/third_party/python_26":
247       "/trunk/tools/third_party/python_26@89111",
249     "src/third_party/psyco_win32":
250       "/trunk/deps/third_party/psyco_win32@79861",
252     "src/third_party/lighttpd":
253       "/trunk/deps/third_party/lighttpd@33727",
255     "src/third_party/ffmpeg/binaries/chromium/win/ia32":
256       "/trunk/deps/third_party/ffmpeg/binaries/win@" + Var("ffmpeg_revision"),
258     # Chrome Frame related deps
259     "src/third_party/xulrunner-sdk":
260       "/trunk/deps/third_party/xulrunner-sdk@71609",
261     "src/chrome_frame/tools/test/reference_build/chrome":
262       "/trunk/deps/reference_builds/chrome@70122",
264     # Parses Windows PE/COFF executable format.
265     "src/third_party/pefile":
266       (Var("googlecode_url") % "pefile") + "/trunk@63",
268     # NSS, for SSLClientSocketNSS.
269     "src/third_party/nss":
270       "/trunk/deps/third_party/nss@83672",
272     "src/third_party/swig/win":
273       "/trunk/deps/third_party/swig/win@" + Var("swig_revision"),
275     "src/third_party/mingw-w64/mingw/bin":
276       (Var("nacl_trunk") + "/src/third_party/mingw-w64/mingw/bin@" +
277        Var("nacl_tools_revision")),
279     "src/rlz":
280       (Var("googlecode_url") % "rlz") + "/trunk@35",
282     # Dependencies used by libjpeg-turbo
283     "src/third_party/yasm/binaries":
284       "/trunk/deps/third_party/yasm/binaries@74228",
285   },
286   "mac": {
287     "src/chrome/tools/test/reference_build/chrome_mac":
288       "/trunk/deps/reference_builds/chrome_mac@71120",
290     "src/third_party/GTM":
291       (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@440",
292     "src/third_party/pdfsqueeze":
293       (Var("googlecode_url") % "pdfsqueeze") + "/trunk@4",
294     "src/third_party/lighttpd":
295       "/trunk/deps/third_party/lighttpd@33737",
297     "src/third_party/WebKit/WebKitLibraries":
298       Var("webkit_trunk") + "/WebKitLibraries@" + Var("webkit_revision"),
300     "src/third_party/swig/mac":
301       "/trunk/deps/third_party/swig/mac@" + Var("swig_revision"),
303     # NSS, for SSLClientSocketNSS.
304     "src/third_party/nss":
305       "/trunk/deps/third_party/nss@83672",
307     "src/chrome/installer/mac/third_party/xz/xz":
308       "/trunk/deps/third_party/xz@87706",
309   },
310   "unix": {
311     # Linux, really.
312     "src/chrome/tools/test/reference_build/chrome_linux":
313       "/trunk/deps/reference_builds/chrome_linux@70120",
315     "src/third_party/xdg-utils":
316       "/trunk/deps/third_party/xdg-utils@84895",
318     "src/third_party/swig/linux":
319       "/trunk/deps/third_party/swig/linux@" + Var("swig_revision"),
321     "src/third_party/lss":
322       (Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@3",
324     "src/third_party/openssl":
325       "/trunk/deps/third_party/openssl@69192",
327     "src/third_party/WebKit/Tools/gdb":
328       Var("webkit_trunk") + "/Tools/gdb@" + Var("webkit_revision"),
329   },
333 include_rules = [
334   # Everybody can use some things.
335   "+base",
336   "+build",
337   "+ipc",
339   # For now, we allow ICU to be included by specifying "unicode/...", although
340   # this should probably change.
341   "+unicode",
342   "+testing",
346 # checkdeps.py shouldn't check include paths for files in these dirs:
347 skip_child_includes = [
348   "breakpad",
349   "chrome_frame",
350   "native_client",
351   "o3d",
352   "pdf",
353   "sdch",
354   "skia",
355   "testing",
356   "third_party",
357   "v8",
361 hooks = [
362   {
363     # A change to a .gyp, .gypi, or to GYP itself should run the generator.
364     "pattern": ".",
365     "action": ["python", "src/build/gyp_chromium"],
366   },
367   {
368     # This downloads binaries for Native Client's integrated runtime (IRT)
369     # library, which is built as NaCl untrusted code.
370     "pattern": ".",
371     "action": ["python", "src/build/download_nacl_irt.py",
372                "--nacl_revision", Var("nacl_revision"),
373                "--file_hash", "x86_32", Var("nacl_irt_hash_x86_32"),
374                "--file_hash", "x86_64", Var("nacl_irt_hash_x86_64")],
375   },