Rather than interrupting the current screen rotation, keep a pending rotation.
[chromium-blink-merge.git] / DEPS
blob124c7a9cf2867cae5afcf5071beb0f08b32c990a
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": "95281",
8   "chromium_git": "http://git.chromium.org/git",
9   "swig_revision": "69281",
10   "nacl_revision": "6702",
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": "2270",
33   "v8_revision": "9288",
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@751",
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@101184",
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@1045",
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/WebKit/Tools/TestWebKitAPI":
139     Var("webkit_trunk") + "/Tools/TestWebKitAPI@" + Var("webkit_revision"),
141   "src/third_party/ots":
142     (Var("googlecode_url") % "ots") + "/trunk@69",
144   "src/tools/page_cycler/acid3":
145     "/trunk/deps/page_cycler/acid3@19546",
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   "src/third_party/webgl_conformance":
157     "/trunk/deps/third_party/webgl/sdk/tests@93490",
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   # WebDriver keeps client and test code separate, and merges when the
230   # python egg is installed. We run tests directly from src, so import
231   # the code into the structure expected by the tests.
232   # Make sure you update chrome/test/functional.DEPS/DEPS too.
233   "src/third_party/webdriver/python/selenium":
234     "http://selenium.googlecode.com/svn/trunk/py/selenium@13487",
235   "src/third_party/webdriver/python/selenium/test":
236     "http://selenium.googlecode.com/svn/trunk/py/test@13487",
238   "src/third_party/libvpx":
239     "/trunk/deps/third_party/libvpx@" +
240     Var("libvpx_revision"),
242   "src/third_party/ffmpeg":
243     "/trunk/deps/third_party/ffmpeg/source@" +
244     Var("ffmpeg_revision"),
246   "src/third_party/libjingle/source":
247     (Var("googlecode_url") % "libjingle") + "/trunk@" +
248     Var("libjingle_revision"),
250   "src/third_party/speex":
251     "/trunk/deps/third_party/speex@83190",
253   "src/third_party/yasm/source/patched-yasm":
254     "/trunk/deps/third_party/yasm/patched-yasm@73761",
256   "src/third_party/libjpeg_turbo":
257     "/trunk/deps/third_party/libjpeg_turbo@95800",
259   "src/third_party/flac":
260     "/trunk/deps/third_party/flac@96404",
262   "src/third_party/pyftpdlib/src":
263     (Var("googlecode_url") % "pyftpdlib") + "/trunk@888",
265   # Needed to support nacl browser test jig.
266   "src/third_party/pylib":
267     # TODO(brettw) enable the From() line instead when checkdeps is fixed.
268     #From("src/native_client", "native_client/src/third_party/pylib"),
269     Var("nacl_trunk") + "/src/third_party/pylib@" + Var("nacl_tools_revision"),
270   "src/third_party/scons-2.0.1":
271     Var("nacl_trunk") + "/src/third_party/scons-2.0.1@" +
272         Var("nacl_tools_revision"),
274   "src/third_party/webrtc":
275     (Var("googlecode_url") % "webrtc") + "/trunk/src@" + Var("webrtc_revision"),
277   "src/third_party/mozc/session":
278     (Var("googlecode_url") % "mozc") + "/trunk/src/session@58",
280   "src/third_party/smhasher/src":
281     (Var("googlecode_url") % "smhasher") + "/trunk@136",
285 deps_os = {
286   "win": {
287     "src/chrome/tools/test/reference_build/chrome_win":
288       "/trunk/deps/reference_builds/chrome_win@89574",
290     "src/third_party/cygwin":
291       "/trunk/deps/third_party/cygwin@66844",
293     "src/third_party/python_26":
294       "/trunk/tools/third_party/python_26@89111",
296     "src/third_party/psyco_win32":
297       "/trunk/deps/third_party/psyco_win32@79861",
299     "src/third_party/lighttpd":
300       "/trunk/deps/third_party/lighttpd@33727",
302     "src/third_party/ffmpeg/binaries/chromium/win/ia32":
303       "/trunk/deps/third_party/ffmpeg/binaries/win@" + Var("ffmpeg_revision"),
305     # Chrome Frame related deps
306     "src/third_party/xulrunner-sdk":
307       "/trunk/deps/third_party/xulrunner-sdk@71609",
308     "src/chrome_frame/tools/test/reference_build/chrome_win":
309       "/trunk/deps/reference_builds/chrome_win@89574",
311     # Parses Windows PE/COFF executable format.
312     "src/third_party/pefile":
313       (Var("googlecode_url") % "pefile") + "/trunk@63",
315     # NSS, for SSLClientSocketNSS.
316     "src/third_party/nss":
317       "/trunk/deps/third_party/nss@94921",
319     "src/third_party/swig/win":
320       "/trunk/deps/third_party/swig/win@" + Var("swig_revision"),
322     "src/third_party/mingw-w64/mingw/bin":
323       (Var("nacl_trunk") + "/src/third_party/mingw-w64/mingw/bin@" +
324        Var("nacl_tools_revision")),
326     "src/rlz":
327       (Var("googlecode_url") % "rlz") + "/trunk@47",
329     # Dependencies used by libjpeg-turbo
330     "src/third_party/yasm/binaries":
331       "/trunk/deps/third_party/yasm/binaries@74228",
333     # Binary level profile guided optimizations.  This points to the
334     # latest release binaries for the toolchain.
335     "src/third_party/syzygy/binaries":
336       (Var("googlecode_url") % "sawbuck") + "/trunk/syzygy/binaries@427",
337   },
338   "mac": {
339     "src/chrome/tools/test/reference_build/chrome_mac":
340       "/trunk/deps/reference_builds/chrome_mac@89574",
342     "src/third_party/GTM":
343       (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@459",
344     "src/third_party/pdfsqueeze":
345       (Var("googlecode_url") % "pdfsqueeze") + "/trunk@4",
346     "src/third_party/lighttpd":
347       "/trunk/deps/third_party/lighttpd@33737",
349     "src/third_party/WebKit/WebKitLibraries":
350       Var("webkit_trunk") + "/WebKitLibraries@" + Var("webkit_revision"),
352     "src/third_party/swig/mac":
353       "/trunk/deps/third_party/swig/mac@" + Var("swig_revision"),
355     # NSS, for SSLClientSocketNSS.
356     "src/third_party/nss":
357       "/trunk/deps/third_party/nss@94921",
359     "src/chrome/installer/mac/third_party/xz/xz":
360       "/trunk/deps/third_party/xz@87706",
361   },
362   "unix": {
363     # Linux, really.
364     "src/chrome/tools/test/reference_build/chrome_linux":
365       "/trunk/deps/reference_builds/chrome_linux@89574",
367     "src/third_party/xdg-utils":
368       "/trunk/deps/third_party/xdg-utils@93299",
370     "src/third_party/swig/linux":
371       "/trunk/deps/third_party/swig/linux@" + Var("swig_revision"),
373     "src/third_party/lss":
374       (Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@3",
376     "src/third_party/openssl":
377       "/trunk/deps/third_party/openssl@94299",
379     "src/third_party/WebKit/Tools/gdb":
380       Var("webkit_trunk") + "/Tools/gdb@" + Var("webkit_revision"),
381   },
385 include_rules = [
386   # Everybody can use some things.
387   "+base",
388   "+build",
389   "+ipc",
391   # For now, we allow ICU to be included by specifying "unicode/...", although
392   # this should probably change.
393   "+unicode",
394   "+testing",
398 # checkdeps.py shouldn't check include paths for files in these dirs:
399 skip_child_includes = [
400   "breakpad",
401   "chrome_frame",
402   "native_client",
403   "o3d",
404   "pdf",
405   "sdch",
406   "skia",
407   "testing",
408   "third_party",
409   "v8",
413 hooks = [
414   {
415     # This downloads binaries for Native Client's newlib toolchain.
416     # Done in lieu of building the toolchain from scratch as it can take
417     # anywhere from 30 minutes to 4 hours depending on platform to build.
418     "pattern": ".",
419     "action": [
420         "python", "src/build/download_nacl_toolchains.py",
421          "--x86-version", Var("nacl_toolchain_revision"),
422          "--nacl-newlib-only",
423          "--file-hash", "mac_x86_newlib",
424              Var("nacl_toolchain_mac_x86_newlib_hash"),
425          "--file-hash", "win_x86_newlib",
426              Var("nacl_toolchain_win_x86_newlib_hash"),
427          "--file-hash", "linux_x86_newlib",
428              Var("nacl_toolchain_linux_x86_newlib_hash"),
429     ],
430   },
431   {
432     # Pull clang on mac. If nothing changed, or on non-mac platforms, this takes
433     # zero seconds to run. If something changed, it downloads a prebuilt clang,
434     # which takes ~20s, but clang speeds up builds by more than 20s.
435     "pattern": ".",
436     "action": ["python", "src/tools/clang/scripts/update.py", "--mac-only"],
437   },
438   {
439     # A change to a .gyp, .gypi, or to GYP itself should run the generator.
440     "pattern": ".",
441     "action": ["python", "src/build/gyp_chromium"],
442   },