Open NaCl IRT file only once at startup
[chromium-blink-merge.git] / DEPS
blob3b85cfb5e8522cd21c74164bc9572bf6283079fd
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": "100263",
9   "chromium_git": "http://git.chromium.org/git",
10   "swig_revision": "69281",
11   "nacl_revision": "7144",
12   # After changing nacl_revision, run 'glient sync' and check native_client/DEPS
13   # to update other nacl_*_revision's.
14   "nacl_tools_revision": "7088",  # 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_mac_x86_newlib_hash":
20       "74612a65dd6bae1d85af1f7277cc6af6e5d86b46",
21   "nacl_toolchain_win_x86_newlib_hash":
22       "3672e7b20848beec886badc46909cf24fb1c574f",
23   "nacl_toolchain_linux_x86_newlib_hash":
24       "528b9b85d087ffb5a0f6348f5219a33cd0ff725f",
25   "nacl_toolchain_revision": "7098",
27   "libjingle_revision": "95",
28   "libvpx_revision": "109236",
29   "ffmpeg_revision": "109946",
30   "sfntly_revision": "98",
31   "skia_revision": "2681",
32   "v8_revision": "9989",
33   "webrtc_revision": "946",
34   "jsoncpp_revision": "246",
37 deps = {
38   "src/breakpad/src":
39     (Var("googlecode_url") % "google-breakpad") + "/trunk/src@875",
41   "src/build/util/support":
42     "/trunk/deps/support@20411",
44   "src/googleurl":
45     (Var("googlecode_url") % "google-url") + "/trunk@162",
47   "src/seccompsandbox":
48     (Var("googlecode_url") % "seccompsandbox") + "/trunk@170",
50   "src/sdch/open-vcdiff":
51     (Var("googlecode_url") % "open-vcdiff") + "/trunk@40",
53   "src/testing/gtest":
54     (Var("googlecode_url") % "googletest") + "/trunk@560",
56   "src/testing/gmock":
57     (Var("googlecode_url") % "googlemock") + "/trunk@374",
59   "src/third_party/angle":
60     (Var("googlecode_url") % "angleproject") + "/trunk@813",
62   # Note that this is *not* where we check out WebKit -- this just
63   # puts some extra files into place for the real WebKit checkout to
64   # happen.  See lines mentioning "webkit_revision" for the real
65   # WebKit checkout.
66   "src/third_party/WebKit":
67     "/trunk/deps/third_party/WebKit@76115",
69   "src/third_party/icu":
70     "/trunk/deps/third_party/icu46@107982",
72   "src/third_party/hunspell":
73    "/trunk/deps/third_party/hunspell@96723",
75   "src/third_party/hunspell_dictionaries":
76     "/trunk/deps/third_party/hunspell_dictionaries@79099",
78   "src/third_party/safe_browsing/testing":
79     (Var("googlecode_url") % "google-safe-browsing") + "/trunk/testing@106",
81   "src/third_party/cacheinvalidation/files/src/google":
82     (Var("googlecode_url") % "google-cache-invalidation-api") +
83     "/trunk/src/google@143",
85   "src/third_party/leveldatabase/src":
86     (Var("googlecode_url") % "leveldb") + "/trunk@55",
88   "src/third_party/snappy/src":
89     (Var("googlecode_url") % "snappy") + "/trunk@37",
91   "src/tools/grit":
92     (Var("googlecode_url") % "grit-i18n") + "/trunk@6",
94   "src/tools/gyp":
95     (Var("googlecode_url") % "gyp") + "/trunk@1088",
97   "src/v8":
98     (Var("googlecode_url") % "v8") + "/trunk@" + Var("v8_revision"),
100   "src/native_client":
101     Var("nacl_trunk") + "/src/native_client@" + Var("nacl_revision"),
103   "src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin":
104     Var("nacl_trunk") + "/src/native_client/tests/prebuilt@" +
105     Var("nacl_revision"),
107   "src/third_party/sfntly/src/sfntly":
108     (Var("googlecode_url") % "sfntly") + "/trunk/cpp/src/sfntly@" +
109     Var("sfntly_revision"),
111   "src/third_party/skia/src":
112     (Var("googlecode_url") % "skia") + "/trunk/src@" + Var("skia_revision"),
114   "src/third_party/skia/include":
115     (Var("googlecode_url") % "skia") + "/trunk/include@" + Var("skia_revision"),
117   "src/third_party/skia/third_party/glu":
118     (Var("googlecode_url") % "skia") + "/trunk/third_party/glu@" + Var("skia_revision"),
120   "src/third_party/WebKit/LayoutTests":
121     Var("webkit_trunk") + "/LayoutTests@" + Var("webkit_revision"),
123   "src/third_party/WebKit/Source":
124     Var("webkit_trunk") + "/Source@" + Var("webkit_revision"),
126   "src/third_party/WebKit/Tools/DumpRenderTree":
127     Var("webkit_trunk") + "/Tools/DumpRenderTree@" + Var("webkit_revision"),
129   "src/third_party/WebKit/Tools/Scripts":
130     Var("webkit_trunk") + "/Tools/Scripts@" + Var("webkit_revision"),
132   "src/third_party/WebKit/Tools/TestWebKitAPI":
133     Var("webkit_trunk") + "/Tools/TestWebKitAPI@" + Var("webkit_revision"),
135   "src/third_party/ots":
136     (Var("googlecode_url") % "ots") + "/trunk@74",
138   "src/tools/page_cycler/acid3":
139     "/trunk/deps/page_cycler/acid3@102714",
141   "src/chrome/test/data/perf/frame_rate/content":
142     "/trunk/deps/frame_rate/content@93671",
144   "src/third_party/bidichecker":
145     (Var("googlecode_url") % "bidichecker") + "/trunk/lib@4",
147   "src/third_party/v8-i18n":
148     (Var("googlecode_url") % "v8-i18n") + "/trunk@4",
150   # When roll to another webgl conformance tests revision, please goto
151   # chrome/test/gpu and run generate_webgl_conformance_test_list.py.
152   "src/third_party/webgl_conformance":
153     "/trunk/deps/third_party/webgl/sdk/tests@106432",
155   # We should use the same software_rendering_list.json for all branches.
156   "src/chrome/browser/resources/software_rendering_list":
157     "/trunk/deps/gpu/software_rendering_list@109652",
159   # We run these layout tests as UI tests. Since many of the buildbots that
160   # run layout tests do NOT have access to the LayoutTest directory, we need
161   # to map them here. In practice, these do not take up much space.
162   "src/chrome/test/data/layout_tests/LayoutTests/fast/events":
163     Var("webkit_trunk") + "/LayoutTests/fast/events@" +
164     Var("webkit_revision"),
165   "src/chrome/test/data/layout_tests/LayoutTests/fast/js/resources":
166     Var("webkit_trunk") + "/LayoutTests/fast/js/resources@" +
167     Var("webkit_revision"),
168   "src/chrome/test/data/layout_tests/LayoutTests/fast/workers":
169     Var("webkit_trunk") + "/LayoutTests/fast/workers@" +
170     Var("webkit_revision"),
171   "src/chrome/test/data/layout_tests/LayoutTests/http/tests/resources":
172     Var("webkit_trunk") + "/LayoutTests/http/tests/resources@" +
173     Var("webkit_revision"),
174   "src/chrome/test/data/layout_tests/LayoutTests/http/tests/workers":
175     Var("webkit_trunk") + "/LayoutTests/http/tests/workers@" +
176     Var("webkit_revision"),
177   "src/chrome/test/data/layout_tests/LayoutTests/http/tests/xmlhttprequest":
178     Var("webkit_trunk") + "/LayoutTests/http/tests/xmlhttprequest@" +
179     Var("webkit_revision"),
180   "src/chrome/test/data/layout_tests/LayoutTests/http/tests/websocket/tests":
181     Var("webkit_trunk") + "/LayoutTests/http/tests/websocket/tests@" +
182     Var("webkit_revision"),
183   "src/chrome/test/data/layout_tests/LayoutTests/platform/chromium/fast/workers":
184     Var("webkit_trunk") + "/LayoutTests/platform/chromium/fast/workers@" +
185     Var("webkit_revision"),
186   "src/chrome/test/data/layout_tests/LayoutTests/platform/chromium-cg-mac/fast/events":
187     Var("webkit_trunk") + "/LayoutTests/platform/chromium-cg-mac/fast/events@" +
188     Var("webkit_revision"),
189   "src/chrome/test/data/layout_tests/LayoutTests/platform/chromium-cg-mac/http/tests/workers":
190     Var("webkit_trunk") + "/LayoutTests/platform/chromium-cg-mac/http/tests/workers@" +
191     Var("webkit_revision"),
192   "src/chrome/test/data/layout_tests/LayoutTests/platform/chromium-cg-mac/storage/domstorage":
193     Var("webkit_trunk") + "/LayoutTests/platform/chromium-cg-mac/storage/domstorage@" +
194     Var("webkit_revision"),
195   "src/chrome/test/data/layout_tests/LayoutTests/platform/chromium-win/fast/events":
196     Var("webkit_trunk") + "/LayoutTests/platform/chromium-win/fast/events@" +
197     Var("webkit_revision"),
198   "src/chrome/test/data/layout_tests/LayoutTests/platform/chromium-win/fast/workers":
199     Var("webkit_trunk") + "/LayoutTests/platform/chromium-win/fast/workers@" +
200     Var("webkit_revision"),
201   "src/chrome/test/data/layout_tests/LayoutTests/http/tests/appcache":
202     Var("webkit_trunk") + "/LayoutTests/http/tests/appcache@" +
203     Var("webkit_revision"),
204   "src/chrome/test/data/layout_tests/LayoutTests/platform/chromium-win/http/tests/workers":
205     Var("webkit_trunk") + "/LayoutTests/platform/chromium-win/http/tests/workers@" +
206     Var("webkit_revision"),
207   "src/chrome/test/data/layout_tests/LayoutTests/platform/chromium-win/storage/domstorage":
208     Var("webkit_trunk") + "/LayoutTests/platform/chromium-win/storage/domstorage@" +
209     Var("webkit_revision"),
210   "src/chrome/test/data/layout_tests/LayoutTests/storage/domstorage":
211     Var("webkit_trunk") + "/LayoutTests/storage/domstorage@" +
212     Var("webkit_revision"),
213   "src/chrome/test/data/layout_tests/LayoutTests/media":
214     Var("webkit_trunk") + "/LayoutTests/media@" +
215     Var("webkit_revision"),
216   "src/chrome/test/data/layout_tests/LayoutTests/fast/filesystem/workers":
217     Var("webkit_trunk") + "/LayoutTests/fast/filesystem/workers@" +
218     Var("webkit_revision"),
219   "src/chrome/test/data/layout_tests/LayoutTests/fast/filesystem/resources":
220     Var("webkit_trunk") + "/LayoutTests/fast/filesystem/resources@" +
221     Var("webkit_revision"),
222   "src/chrome/test/data/layout_tests/LayoutTests/http/tests/filesystem":
223     Var("webkit_trunk") + "/LayoutTests/http/tests/filesystem@" +
224     Var("webkit_revision"),
226   "src/third_party/swig/Lib":
227     "/trunk/deps/third_party/swig/Lib@" + Var("swig_revision"),
229   # Make sure you update the two functional.DEPS and webdriver.DEPS too.
230   "src/third_party/webdriver/pylib":
231     "http://selenium.googlecode.com/svn/trunk/py@13487",
233   "src/third_party/libvpx":
234     "/trunk/deps/third_party/libvpx@" +
235     Var("libvpx_revision"),
237   "src/third_party/ffmpeg":
238     "/trunk/deps/third_party/ffmpeg/source@" +
239     Var("ffmpeg_revision"),
241   "src/third_party/libjingle/source":
242     (Var("googlecode_url") % "libjingle") + "/trunk@" +
243     Var("libjingle_revision"),
245   "src/third_party/speex":
246     "/trunk/deps/third_party/speex@83190",
248   "src/third_party/yasm/source/patched-yasm":
249     "/trunk/deps/third_party/yasm/patched-yasm@73761",
251   "src/third_party/libjpeg_turbo":
252     "/trunk/deps/third_party/libjpeg_turbo@106486",
254   "src/third_party/flac":
255     "/trunk/deps/third_party/flac@96404",
257   "src/third_party/pyftpdlib/src":
258     (Var("googlecode_url") % "pyftpdlib") + "/trunk@888",
260   # Needed to support nacl browser test jig.
261   "src/third_party/pylib":
262     Var("nacl_trunk") + "/src/third_party/pylib@" + Var("nacl_tools_revision"),
263   "src/third_party/scons-2.0.1":
264     Var("nacl_trunk") + "/src/third_party/scons-2.0.1@" +
265         Var("nacl_tools_revision"),
267   "src/third_party/webrtc":
268     (Var("googlecode_url") % "webrtc") + "/trunk/src@" + Var("webrtc_revision"),
270   "src/third_party/jsoncpp/source/include":
271     (Var("sourceforge_url") % {"repo": "jsoncpp"}) +
272         "/trunk/jsoncpp/include@" + Var("jsoncpp_revision"),
274   "src/third_party/jsoncpp/source/src/lib_json":
275     (Var("sourceforge_url") % {"repo": "jsoncpp"}) +
276         "/trunk/jsoncpp/src/lib_json@" + Var("jsoncpp_revision"),
278   "src/third_party/libyuv":
279     (Var("googlecode_url") % "libyuv") + "/trunk@64",
281   "src/third_party/mozc/session":
282     (Var("googlecode_url") % "mozc") + "/trunk/src/session@58",
284   "src/third_party/smhasher/src":
285     (Var("googlecode_url") % "smhasher") + "/trunk@136",
289 deps_os = {
290   "win": {
291     "src/chrome/tools/test/reference_build/chrome_win":
292       "/trunk/deps/reference_builds/chrome_win@89574",
294     "src/third_party/cygwin":
295       "/trunk/deps/third_party/cygwin@66844",
297     "src/third_party/python_26":
298       "/trunk/tools/third_party/python_26@89111",
300     "src/third_party/psyco_win32":
301       "/trunk/deps/third_party/psyco_win32@79861",
303     "src/third_party/lighttpd":
304       "/trunk/deps/third_party/lighttpd@33727",
306     "src/third_party/ffmpeg/binaries/chromium/win/ia32":
307       "/trunk/deps/third_party/ffmpeg/binaries/win@" + Var("ffmpeg_revision"),
309     # Chrome Frame related deps
310     "src/third_party/xulrunner-sdk":
311       "/trunk/deps/third_party/xulrunner-sdk@71609",
312     "src/chrome_frame/tools/test/reference_build/chrome_win":
313       "/trunk/deps/reference_builds/chrome_win@89574",
315     # Parses Windows PE/COFF executable format.
316     "src/third_party/pefile":
317       (Var("googlecode_url") % "pefile") + "/trunk@63",
319     # NSS, for SSLClientSocketNSS.
320     "src/third_party/nss":
321       "/trunk/deps/third_party/nss@109995",
323     "src/third_party/swig/win":
324       "/trunk/deps/third_party/swig/win@" + Var("swig_revision"),
326     "src/third_party/mingw-w64/mingw/bin":
327       (Var("nacl_trunk") + "/deps/third_party/mingw-w64/mingw/bin@" +
328        Var("nacl_tools_revision")),
330     "src/rlz":
331       (Var("googlecode_url") % "rlz") + "/trunk@49",
333     # Dependencies used by libjpeg-turbo
334     "src/third_party/yasm/binaries":
335       "/trunk/deps/third_party/yasm/binaries@74228",
337     # Binary level profile guided optimizations. This points to the
338     # latest release binaries for the toolchain.
339     "src/third_party/syzygy/binaries":
340       (Var("googlecode_url") % "sawbuck") + "/trunk/syzygy/binaries@516",
341   },
342   "mac": {
343     "src/chrome/tools/test/reference_build/chrome_mac":
344       "/trunk/deps/reference_builds/chrome_mac@89574",
346     "src/third_party/GTM":
347       (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@459",
348     "src/third_party/pdfsqueeze":
349       (Var("googlecode_url") % "pdfsqueeze") + "/trunk@4",
350     "src/third_party/lighttpd":
351       "/trunk/deps/third_party/lighttpd@33737",
353     "src/third_party/swig/mac":
354       "/trunk/deps/third_party/swig/mac@" + Var("swig_revision"),
356     # NSS, for SSLClientSocketNSS.
357     "src/third_party/nss":
358       "/trunk/deps/third_party/nss@109995",
360     "src/chrome/installer/mac/third_party/xz/xz":
361       "/trunk/deps/third_party/xz@87706",
362   },
363   "unix": {
364     # Linux, really.
365     "src/chrome/tools/test/reference_build/chrome_linux":
366       "/trunk/deps/reference_builds/chrome_linux@89574",
368     "src/third_party/xdg-utils":
369       "/trunk/deps/third_party/xdg-utils@93299",
371     "src/third_party/swig/linux":
372       "/trunk/deps/third_party/swig/linux@" + Var("swig_revision"),
374     "src/third_party/lss":
375       (Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@8",
377     "src/third_party/openssl":
378       "/trunk/deps/third_party/openssl@105093",
380     "src/third_party/WebKit/Tools/gdb":
381       Var("webkit_trunk") + "/Tools/gdb@" + Var("webkit_revision"),
382   },
386 include_rules = [
387   # Everybody can use some things.
388   "+base",
389   "+build",
390   "+ipc",
392   # For now, we allow ICU to be included by specifying "unicode/...", although
393   # this should probably change.
394   "+unicode",
395   "+testing",
399 # checkdeps.py shouldn't check include paths for files in these dirs:
400 skip_child_includes = [
401   "breakpad",
402   "chrome_frame",
403   "native_client",
404   "o3d",
405   "pdf",
406   "sdch",
407   "skia",
408   "testing",
409   "third_party",
410   "v8",
414 hooks = [
415   {
416     # This downloads binaries for Native Client's newlib toolchain.
417     # Done in lieu of building the toolchain from scratch as it can take
418     # anywhere from 30 minutes to 4 hours depending on platform to build.
419     "pattern": ".",
420     "action": [
421         "python", "src/build/download_nacl_toolchains.py",
422          "--x86-version", Var("nacl_toolchain_revision"),
423          "--nacl-newlib-only",
424          "--file-hash", "mac_x86_newlib",
425              Var("nacl_toolchain_mac_x86_newlib_hash"),
426          "--file-hash", "win_x86_newlib",
427              Var("nacl_toolchain_win_x86_newlib_hash"),
428          "--file-hash", "linux_x86_newlib",
429              Var("nacl_toolchain_linux_x86_newlib_hash"),
430     ],
431   },
432   {
433     # Pull clang on mac. If nothing changed, or on non-mac platforms, this takes
434     # zero seconds to run. If something changed, it downloads a prebuilt clang,
435     # which takes ~20s, but clang speeds up builds by more than 20s.
436     "pattern": ".",
437     "action": ["python", "src/tools/clang/scripts/update.py", "--mac-only"],
438   },
439   {
440     # A change to a .gyp, .gypi, or to GYP itself should run the generator.
441     "pattern": ".",
442     "action": ["python", "src/build/gyp_chromium"],
443   },