Add UMA reports for Linux nacl_helper startup status
[chromium-blink-merge.git] / DEPS
blob0c7dcd2b927352552d4ce8add429904d29326799
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": "97950",
8   "chromium_git": "http://git.chromium.org/git",
9   "swig_revision": "69281",
10   "nacl_revision": "6965",
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       "280ecee659ff804d5eeca8964c31545b0d68d9c8",
22   "nacl_toolchain_win_x86_newlib_hash":
23       "7730f4515c745c0c012df4a1080be9a46ffcda47",
24   "nacl_toolchain_linux_x86_newlib_hash":
25       "596aa5b812ec4b24160ed7ce55b3fd141f929fbf",
26   "nacl_toolchain_revision": "6757",
28   "libjingle_revision": "88",
29   "libvpx_revision": "103347",
30   "ffmpeg_revision": "106016",
31   "sfntly_revision": "98",
32   "skia_revision": "2506",
33   "v8_revision": "9637",
34   "webrtc_revision": "711",
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": "142072",
43 deps = {
44   "src/breakpad/src":
45     (Var("googlecode_url") % "google-breakpad") + "/trunk/src@865",
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@170",
56   "src/sdch/open-vcdiff":
57     (Var("googlecode_url") % "open-vcdiff") + "/trunk@40",
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@785",
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@106495",
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@143",
91   "src/third_party/leveldatabase/src":
92     (Var("googlecode_url") % "leveldb") + "/trunk@53",
94   "src/third_party/snappy/src":
95     (Var("googlecode_url") % "snappy") + "/trunk@37",
97   "src/tools/grit":
98     (Var("googlecode_url") % "grit-i18n") + "/trunk@6",
100   "src/tools/gyp":
101     (Var("googlecode_url") % "gyp") + "/trunk@1080",
103   "src/v8":
104     (Var("googlecode_url") % "v8") + "/branches/3.6@" + Var("v8_revision"),
106   "src/native_client":
107     Var("nacl_trunk") + "/src/native_client@" + Var("nacl_revision"),
109   "src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin":
110     Var("nacl_trunk") + "/src/native_client/tests/prebuilt@" +
111     Var("nacl_revision"),
113   "src/third_party/sfntly/src/sfntly":
114     (Var("googlecode_url") % "sfntly") + "/trunk/cpp/src/sfntly@" +
115     Var("sfntly_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/WebKit/Tools/TestWebKitAPI":
139     Var("webkit_trunk") + "/Tools/TestWebKitAPI@" + Var("webkit_revision"),
141   "src/third_party/ots":
142     (Var("googlecode_url") % "ots") + "/trunk@74",
144   "src/tools/page_cycler/acid3":
145     "/trunk/deps/page_cycler/acid3@102714",
147   "src/chrome/test/data/perf/frame_rate/content":
148     "/trunk/deps/frame_rate/content@93671",
150   "src/third_party/bidichecker":
151     (Var("googlecode_url") % "bidichecker") + "/trunk/lib@4",
153   "src/third_party/v8-i18n":
154     (Var("googlecode_url") % "v8-i18n") + "/trunk@4",
156   # When roll to another webgl conformance tests revision, please goto
157   # chrome/test/gpu and run generate_webgl_conformance_test_list.py.
158   "src/third_party/webgl_conformance":
159     "/trunk/deps/third_party/webgl/sdk/tests@106432",
161   # We run these layout tests as UI tests. Since many of the buildbots that
162   # run layout tests do NOT have access to the LayoutTest directory, we need
163   # to map them here. In practice, these do not take up much space.
164   "src/chrome/test/data/layout_tests/LayoutTests/fast/events":
165     Var("webkit_trunk") + "/LayoutTests/fast/events@" +
166     Var("webkit_revision"),
167   "src/chrome/test/data/layout_tests/LayoutTests/fast/js/resources":
168     Var("webkit_trunk") + "/LayoutTests/fast/js/resources@" +
169     Var("webkit_revision"),
170   "src/chrome/test/data/layout_tests/LayoutTests/fast/workers":
171     Var("webkit_trunk") + "/LayoutTests/fast/workers@" +
172     Var("webkit_revision"),
173   "src/chrome/test/data/layout_tests/LayoutTests/http/tests/resources":
174     Var("webkit_trunk") + "/LayoutTests/http/tests/resources@" +
175     Var("webkit_revision"),
176   "src/chrome/test/data/layout_tests/LayoutTests/http/tests/workers":
177     Var("webkit_trunk") + "/LayoutTests/http/tests/workers@" +
178     Var("webkit_revision"),
179   "src/chrome/test/data/layout_tests/LayoutTests/http/tests/xmlhttprequest":
180     Var("webkit_trunk") + "/LayoutTests/http/tests/xmlhttprequest@" +
181     Var("webkit_revision"),
182   "src/chrome/test/data/layout_tests/LayoutTests/http/tests/websocket/tests":
183     Var("webkit_trunk") + "/LayoutTests/http/tests/websocket/tests@" +
184     Var("webkit_revision"),
185   "src/chrome/test/data/layout_tests/LayoutTests/platform/chromium/fast/workers":
186     Var("webkit_trunk") + "/LayoutTests/platform/chromium/fast/workers@" +
187     Var("webkit_revision"),
188   "src/chrome/test/data/layout_tests/LayoutTests/platform/chromium-cg-mac/fast/events":
189     Var("webkit_trunk") + "/LayoutTests/platform/chromium-cg-mac/fast/events@" +
190     Var("webkit_revision"),
191   "src/chrome/test/data/layout_tests/LayoutTests/platform/chromium-cg-mac/http/tests/workers":
192     Var("webkit_trunk") + "/LayoutTests/platform/chromium-cg-mac/http/tests/workers@" +
193     Var("webkit_revision"),
194   "src/chrome/test/data/layout_tests/LayoutTests/platform/chromium-cg-mac/storage/domstorage":
195     Var("webkit_trunk") + "/LayoutTests/platform/chromium-cg-mac/storage/domstorage@" +
196     Var("webkit_revision"),
197   "src/chrome/test/data/layout_tests/LayoutTests/platform/chromium-win/fast/events":
198     Var("webkit_trunk") + "/LayoutTests/platform/chromium-win/fast/events@" +
199     Var("webkit_revision"),
200   "src/chrome/test/data/layout_tests/LayoutTests/platform/chromium-win/fast/workers":
201     Var("webkit_trunk") + "/LayoutTests/platform/chromium-win/fast/workers@" +
202     Var("webkit_revision"),
203   "src/chrome/test/data/layout_tests/LayoutTests/http/tests/appcache":
204     Var("webkit_trunk") + "/LayoutTests/http/tests/appcache@" +
205     Var("webkit_revision"),
206   "src/chrome/test/data/layout_tests/LayoutTests/platform/chromium-win/http/tests/workers":
207     Var("webkit_trunk") + "/LayoutTests/platform/chromium-win/http/tests/workers@" +
208     Var("webkit_revision"),
209   "src/chrome/test/data/layout_tests/LayoutTests/platform/chromium-win/storage/domstorage":
210     Var("webkit_trunk") + "/LayoutTests/platform/chromium-win/storage/domstorage@" +
211     Var("webkit_revision"),
212   "src/chrome/test/data/layout_tests/LayoutTests/storage/domstorage":
213     Var("webkit_trunk") + "/LayoutTests/storage/domstorage@" +
214     Var("webkit_revision"),
215   "src/chrome/test/data/layout_tests/LayoutTests/media":
216     Var("webkit_trunk") + "/LayoutTests/media@" +
217     Var("webkit_revision"),
218   "src/chrome/test/data/layout_tests/LayoutTests/fast/filesystem/workers":
219     Var("webkit_trunk") + "/LayoutTests/fast/filesystem/workers@" +
220     Var("webkit_revision"),
221   "src/chrome/test/data/layout_tests/LayoutTests/fast/filesystem/resources":
222     Var("webkit_trunk") + "/LayoutTests/fast/filesystem/resources@" +
223     Var("webkit_revision"),
224   "src/chrome/test/data/layout_tests/LayoutTests/http/tests/filesystem":
225     Var("webkit_trunk") + "/LayoutTests/http/tests/filesystem@" +
226     Var("webkit_revision"),
228   "src/third_party/swig/Lib":
229     "/trunk/deps/third_party/swig/Lib@" + Var("swig_revision"),
231   # WebDriver keeps client and test code separate, and merges when the
232   # python egg is installed. We run tests directly from src, so import
233   # the code into the structure expected by the tests.
234   # Make sure you update chrome/test/functional.DEPS/DEPS too.
235   "src/third_party/webdriver/python/selenium":
236     "http://selenium.googlecode.com/svn/trunk/py/selenium@13487",
237   "src/third_party/webdriver/python/selenium/test":
238     "http://selenium.googlecode.com/svn/trunk/py/test@13487",
240   "src/third_party/libvpx":
241     "/trunk/deps/third_party/libvpx@" +
242     Var("libvpx_revision"),
244   "src/third_party/ffmpeg":
245     "/trunk/deps/third_party/ffmpeg/source@" +
246     Var("ffmpeg_revision"),
248   "src/third_party/libjingle/source":
249     (Var("googlecode_url") % "libjingle") + "/trunk@" +
250     Var("libjingle_revision"),
252   "src/third_party/speex":
253     "/trunk/deps/third_party/speex@83190",
255   "src/third_party/yasm/source/patched-yasm":
256     "/trunk/deps/third_party/yasm/patched-yasm@73761",
258   "src/third_party/libjpeg_turbo":
259     "/trunk/deps/third_party/libjpeg_turbo@105131",
261   "src/third_party/flac":
262     "/trunk/deps/third_party/flac@96404",
264   "src/third_party/pyftpdlib/src":
265     (Var("googlecode_url") % "pyftpdlib") + "/trunk@888",
267   # Needed to support nacl browser test jig.
268   "src/third_party/pylib":
269     # TODO(brettw) enable the From() line instead when checkdeps is fixed.
270     #From("src/native_client", "native_client/src/third_party/pylib"),
271     Var("nacl_trunk") + "/src/third_party/pylib@" + Var("nacl_tools_revision"),
272   "src/third_party/scons-2.0.1":
273     Var("nacl_trunk") + "/src/third_party/scons-2.0.1@" +
274         Var("nacl_tools_revision"),
276   "src/third_party/webrtc":
277     (Var("googlecode_url") % "webrtc") + "/trunk/src@" + Var("webrtc_revision"),
279   "src/third_party/mozc/session":
280     (Var("googlecode_url") % "mozc") + "/trunk/src/session@58",
282   "src/third_party/smhasher/src":
283     (Var("googlecode_url") % "smhasher") + "/trunk@136",
287 deps_os = {
288   "win": {
289     "src/chrome/tools/test/reference_build/chrome_win":
290       "/trunk/deps/reference_builds/chrome_win@89574",
292     "src/third_party/cygwin":
293       "/trunk/deps/third_party/cygwin@66844",
295     "src/third_party/python_26":
296       "/trunk/tools/third_party/python_26@89111",
298     "src/third_party/psyco_win32":
299       "/trunk/deps/third_party/psyco_win32@79861",
301     "src/third_party/lighttpd":
302       "/trunk/deps/third_party/lighttpd@33727",
304     "src/third_party/ffmpeg/binaries/chromium/win/ia32":
305       "/trunk/deps/third_party/ffmpeg/binaries/win@" + Var("ffmpeg_revision"),
307     # Chrome Frame related deps
308     "src/third_party/xulrunner-sdk":
309       "/trunk/deps/third_party/xulrunner-sdk@71609",
310     "src/chrome_frame/tools/test/reference_build/chrome_win":
311       "/trunk/deps/reference_builds/chrome_win@89574",
313     # Parses Windows PE/COFF executable format.
314     "src/third_party/pefile":
315       (Var("googlecode_url") % "pefile") + "/trunk@63",
317     # NSS, for SSLClientSocketNSS.
318     "src/third_party/nss":
319       "/trunk/deps/third_party/nss@106031",
321     "src/third_party/swig/win":
322       "/trunk/deps/third_party/swig/win@" + Var("swig_revision"),
324     "src/third_party/mingw-w64/mingw/bin":
325       (Var("nacl_trunk") + "/src/third_party/mingw-w64/mingw/bin@" +
326        Var("nacl_tools_revision")),
328     "src/rlz":
329       (Var("googlecode_url") % "rlz") + "/trunk@49",
331     # Dependencies used by libjpeg-turbo
332     "src/third_party/yasm/binaries":
333       "/trunk/deps/third_party/yasm/binaries@74228",
335     # Binary level profile guided optimizations. This points to the
336     # latest release binaries for the toolchain.
337     "src/third_party/syzygy/binaries":
338       (Var("googlecode_url") % "sawbuck") + "/trunk/syzygy/binaries@477",
339   },
340   "mac": {
341     "src/chrome/tools/test/reference_build/chrome_mac":
342       "/trunk/deps/reference_builds/chrome_mac@89574",
344     "src/third_party/GTM":
345       (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@459",
346     "src/third_party/pdfsqueeze":
347       (Var("googlecode_url") % "pdfsqueeze") + "/trunk@4",
348     "src/third_party/lighttpd":
349       "/trunk/deps/third_party/lighttpd@33737",
351     "src/third_party/WebKit/WebKitLibraries":
352       Var("webkit_trunk") + "/WebKitLibraries@" + Var("webkit_revision"),
354     "src/third_party/swig/mac":
355       "/trunk/deps/third_party/swig/mac@" + Var("swig_revision"),
357     # NSS, for SSLClientSocketNSS.
358     "src/third_party/nss":
359       "/trunk/deps/third_party/nss@106031",
361     "src/chrome/installer/mac/third_party/xz/xz":
362       "/trunk/deps/third_party/xz@87706",
363   },
364   "unix": {
365     # Linux, really.
366     "src/chrome/tools/test/reference_build/chrome_linux":
367       "/trunk/deps/reference_builds/chrome_linux@89574",
369     "src/third_party/xdg-utils":
370       "/trunk/deps/third_party/xdg-utils@93299",
372     "src/third_party/swig/linux":
373       "/trunk/deps/third_party/swig/linux@" + Var("swig_revision"),
375     "src/third_party/lss":
376       (Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@8",
378     "src/third_party/openssl":
379       "/trunk/deps/third_party/openssl@101988",
381     "src/third_party/WebKit/Tools/gdb":
382       Var("webkit_trunk") + "/Tools/gdb@" + Var("webkit_revision"),
383   },
387 include_rules = [
388   # Everybody can use some things.
389   "+base",
390   "+build",
391   "+ipc",
393   # For now, we allow ICU to be included by specifying "unicode/...", although
394   # this should probably change.
395   "+unicode",
396   "+testing",
400 # checkdeps.py shouldn't check include paths for files in these dirs:
401 skip_child_includes = [
402   "breakpad",
403   "chrome_frame",
404   "native_client",
405   "o3d",
406   "pdf",
407   "sdch",
408   "skia",
409   "testing",
410   "third_party",
411   "v8",
415 hooks = [
416   {
417     # This downloads binaries for Native Client's newlib toolchain.
418     # Done in lieu of building the toolchain from scratch as it can take
419     # anywhere from 30 minutes to 4 hours depending on platform to build.
420     "pattern": ".",
421     "action": [
422         "python", "src/build/download_nacl_toolchains.py",
423          "--x86-version", Var("nacl_toolchain_revision"),
424          "--nacl-newlib-only",
425          "--file-hash", "mac_x86_newlib",
426              Var("nacl_toolchain_mac_x86_newlib_hash"),
427          "--file-hash", "win_x86_newlib",
428              Var("nacl_toolchain_win_x86_newlib_hash"),
429          "--file-hash", "linux_x86_newlib",
430              Var("nacl_toolchain_linux_x86_newlib_hash"),
431     ],
432   },
433   {
434     # Pull clang on mac. If nothing changed, or on non-mac platforms, this takes
435     # zero seconds to run. If something changed, it downloads a prebuilt clang,
436     # which takes ~20s, but clang speeds up builds by more than 20s.
437     "pattern": ".",
438     "action": ["python", "src/tools/clang/scripts/update.py", "--mac-only"],
439   },
440   {
441     # A change to a .gyp, .gypi, or to GYP itself should run the generator.
442     "pattern": ".",
443     "action": ["python", "src/build/gyp_chromium"],
444   },