Add supported_locales attribute to external_extensions.json
[chromium-blink-merge.git] / DEPS
blob99e8828987da7946cc608a5f4c35dd82e567ebb8
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": "97140",
8   "chromium_git": "http://git.chromium.org/git",
9   "swig_revision": "69281",
10   "nacl_revision": "6880",
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": "85",
29   "libvpx_revision": "103347",
30   "ffmpeg_revision": "103983",
31   "sfntly_revision": "98",
32   "skia_revision": "2453",
33   "v8_revision": "9442",
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": "140930",
43 deps = {
44   "src/breakpad/src":
45     (Var("googlecode_url") % "google-breakpad") + "/trunk/src@844",
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@784",
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@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@5",
100   "src/tools/gyp":
101     (Var("googlecode_url") % "gyp") + "/trunk@1064",
103   "src/v8":
104     (Var("googlecode_url") % "v8") + "/trunk@" + 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/gpu":
118     (Var("googlecode_url") % "skia") + "/trunk/gpu@" + Var("skia_revision"),
120   "src/third_party/skia/src":
121     (Var("googlecode_url") % "skia") + "/trunk/src@" + Var("skia_revision"),
123   "src/third_party/skia/include":
124     (Var("googlecode_url") % "skia") + "/trunk/include@" + Var("skia_revision"),
126   "src/third_party/skia/third_party/glu":
127     (Var("googlecode_url") % "skia") + "/trunk/third_party/glu@" + Var("skia_revision"),
129   "src/third_party/WebKit/LayoutTests":
130     Var("webkit_trunk") + "/LayoutTests@" + Var("webkit_revision"),
132   "src/third_party/WebKit/Source":
133     Var("webkit_trunk") + "/Source@" + Var("webkit_revision"),
135   "src/third_party/WebKit/Tools/DumpRenderTree":
136     Var("webkit_trunk") + "/Tools/DumpRenderTree@" + Var("webkit_revision"),
138   "src/third_party/WebKit/Tools/Scripts":
139     Var("webkit_trunk") + "/Tools/Scripts@" + Var("webkit_revision"),
141   "src/third_party/WebKit/Tools/TestWebKitAPI":
142     Var("webkit_trunk") + "/Tools/TestWebKitAPI@" + Var("webkit_revision"),
144   "src/third_party/ots":
145     (Var("googlecode_url") % "ots") + "/trunk@74",
147   "src/tools/page_cycler/acid3":
148     "/trunk/deps/page_cycler/acid3@102714",
150   "src/chrome/test/data/perf/frame_rate/content":
151     "/trunk/deps/frame_rate/content@93671",
153   "src/third_party/bidichecker":
154     (Var("googlecode_url") % "bidichecker") + "/trunk/lib@4",
156   "src/third_party/v8-i18n":
157     (Var("googlecode_url") % "v8-i18n") + "/trunk@4",
159   "src/third_party/webgl_conformance":
160     "/trunk/deps/third_party/webgl/sdk/tests@93490",
162   # We run these layout tests as UI tests. Since many of the buildbots that
163   # run layout tests do NOT have access to the LayoutTest directory, we need
164   # to map them here. In practice, these do not take up much space.
165   "src/chrome/test/data/layout_tests/LayoutTests/fast/events":
166     Var("webkit_trunk") + "/LayoutTests/fast/events@" +
167     Var("webkit_revision"),
168   "src/chrome/test/data/layout_tests/LayoutTests/fast/js/resources":
169     Var("webkit_trunk") + "/LayoutTests/fast/js/resources@" +
170     Var("webkit_revision"),
171   "src/chrome/test/data/layout_tests/LayoutTests/fast/workers":
172     Var("webkit_trunk") + "/LayoutTests/fast/workers@" +
173     Var("webkit_revision"),
174   "src/chrome/test/data/layout_tests/LayoutTests/http/tests/resources":
175     Var("webkit_trunk") + "/LayoutTests/http/tests/resources@" +
176     Var("webkit_revision"),
177   "src/chrome/test/data/layout_tests/LayoutTests/http/tests/workers":
178     Var("webkit_trunk") + "/LayoutTests/http/tests/workers@" +
179     Var("webkit_revision"),
180   "src/chrome/test/data/layout_tests/LayoutTests/http/tests/xmlhttprequest":
181     Var("webkit_trunk") + "/LayoutTests/http/tests/xmlhttprequest@" +
182     Var("webkit_revision"),
183   "src/chrome/test/data/layout_tests/LayoutTests/http/tests/websocket/tests":
184     Var("webkit_trunk") + "/LayoutTests/http/tests/websocket/tests@" +
185     Var("webkit_revision"),
186   "src/chrome/test/data/layout_tests/LayoutTests/platform/chromium/fast/workers":
187     Var("webkit_trunk") + "/LayoutTests/platform/chromium/fast/workers@" +
188     Var("webkit_revision"),
189   "src/chrome/test/data/layout_tests/LayoutTests/platform/chromium-cg-mac/fast/events":
190     Var("webkit_trunk") + "/LayoutTests/platform/chromium-cg-mac/fast/events@" +
191     Var("webkit_revision"),
192   "src/chrome/test/data/layout_tests/LayoutTests/platform/chromium-cg-mac/http/tests/workers":
193     Var("webkit_trunk") + "/LayoutTests/platform/chromium-cg-mac/http/tests/workers@" +
194     Var("webkit_revision"),
195   "src/chrome/test/data/layout_tests/LayoutTests/platform/chromium-cg-mac/storage/domstorage":
196     Var("webkit_trunk") + "/LayoutTests/platform/chromium-cg-mac/storage/domstorage@" +
197     Var("webkit_revision"),
198   "src/chrome/test/data/layout_tests/LayoutTests/platform/chromium-win/fast/events":
199     Var("webkit_trunk") + "/LayoutTests/platform/chromium-win/fast/events@" +
200     Var("webkit_revision"),
201   "src/chrome/test/data/layout_tests/LayoutTests/platform/chromium-win/fast/workers":
202     Var("webkit_trunk") + "/LayoutTests/platform/chromium-win/fast/workers@" +
203     Var("webkit_revision"),
204   "src/chrome/test/data/layout_tests/LayoutTests/http/tests/appcache":
205     Var("webkit_trunk") + "/LayoutTests/http/tests/appcache@" +
206     Var("webkit_revision"),
207   "src/chrome/test/data/layout_tests/LayoutTests/platform/chromium-win/http/tests/workers":
208     Var("webkit_trunk") + "/LayoutTests/platform/chromium-win/http/tests/workers@" +
209     Var("webkit_revision"),
210   "src/chrome/test/data/layout_tests/LayoutTests/platform/chromium-win/storage/domstorage":
211     Var("webkit_trunk") + "/LayoutTests/platform/chromium-win/storage/domstorage@" +
212     Var("webkit_revision"),
213   "src/chrome/test/data/layout_tests/LayoutTests/storage/domstorage":
214     Var("webkit_trunk") + "/LayoutTests/storage/domstorage@" +
215     Var("webkit_revision"),
216   "src/chrome/test/data/layout_tests/LayoutTests/media":
217     Var("webkit_trunk") + "/LayoutTests/media@" +
218     Var("webkit_revision"),
219   "src/chrome/test/data/layout_tests/LayoutTests/fast/filesystem/workers":
220     Var("webkit_trunk") + "/LayoutTests/fast/filesystem/workers@" +
221     Var("webkit_revision"),
222   "src/chrome/test/data/layout_tests/LayoutTests/fast/filesystem/resources":
223     Var("webkit_trunk") + "/LayoutTests/fast/filesystem/resources@" +
224     Var("webkit_revision"),
225   "src/chrome/test/data/layout_tests/LayoutTests/http/tests/filesystem":
226     Var("webkit_trunk") + "/LayoutTests/http/tests/filesystem@" +
227     Var("webkit_revision"),
229   "src/third_party/swig/Lib":
230     "/trunk/deps/third_party/swig/Lib@" + Var("swig_revision"),
232   # WebDriver keeps client and test code separate, and merges when the
233   # python egg is installed. We run tests directly from src, so import
234   # the code into the structure expected by the tests.
235   # Make sure you update chrome/test/functional.DEPS/DEPS too.
236   "src/third_party/webdriver/python/selenium":
237     "http://selenium.googlecode.com/svn/trunk/py/selenium@13487",
238   "src/third_party/webdriver/python/selenium/test":
239     "http://selenium.googlecode.com/svn/trunk/py/test@13487",
241   "src/third_party/libvpx":
242     "/trunk/deps/third_party/libvpx@" +
243     Var("libvpx_revision"),
245   "src/third_party/ffmpeg":
246     "/trunk/deps/third_party/ffmpeg/source@" +
247     Var("ffmpeg_revision"),
249   "src/third_party/libjingle/source":
250     (Var("googlecode_url") % "libjingle") + "/trunk@" +
251     Var("libjingle_revision"),
253   "src/third_party/speex":
254     "/trunk/deps/third_party/speex@83190",
256   "src/third_party/yasm/source/patched-yasm":
257     "/trunk/deps/third_party/yasm/patched-yasm@73761",
259   "src/third_party/libjpeg_turbo":
260     "/trunk/deps/third_party/libjpeg_turbo@102926",
262   "src/third_party/flac":
263     "/trunk/deps/third_party/flac@96404",
265   "src/third_party/pyftpdlib/src":
266     (Var("googlecode_url") % "pyftpdlib") + "/trunk@888",
268   # Needed to support nacl browser test jig.
269   "src/third_party/pylib":
270     # TODO(brettw) enable the From() line instead when checkdeps is fixed.
271     #From("src/native_client", "native_client/src/third_party/pylib"),
272     Var("nacl_trunk") + "/src/third_party/pylib@" + Var("nacl_tools_revision"),
273   "src/third_party/scons-2.0.1":
274     Var("nacl_trunk") + "/src/third_party/scons-2.0.1@" +
275         Var("nacl_tools_revision"),
277   "src/third_party/webrtc":
278     (Var("googlecode_url") % "webrtc") + "/trunk/src@" + Var("webrtc_revision"),
280   "src/third_party/mozc/session":
281     (Var("googlecode_url") % "mozc") + "/trunk/src/session@58",
283   "src/third_party/smhasher/src":
284     (Var("googlecode_url") % "smhasher") + "/trunk@136",
288 deps_os = {
289   "win": {
290     "src/chrome/tools/test/reference_build/chrome_win":
291       "/trunk/deps/reference_builds/chrome_win@89574",
293     "src/third_party/cygwin":
294       "/trunk/deps/third_party/cygwin@66844",
296     "src/third_party/python_26":
297       "/trunk/tools/third_party/python_26@89111",
299     "src/third_party/psyco_win32":
300       "/trunk/deps/third_party/psyco_win32@79861",
302     "src/third_party/lighttpd":
303       "/trunk/deps/third_party/lighttpd@33727",
305     "src/third_party/ffmpeg/binaries/chromium/win/ia32":
306       "/trunk/deps/third_party/ffmpeg/binaries/win@" + Var("ffmpeg_revision"),
308     # Chrome Frame related deps
309     "src/third_party/xulrunner-sdk":
310       "/trunk/deps/third_party/xulrunner-sdk@71609",
311     "src/chrome_frame/tools/test/reference_build/chrome_win":
312       "/trunk/deps/reference_builds/chrome_win@89574",
314     # Parses Windows PE/COFF executable format.
315     "src/third_party/pefile":
316       (Var("googlecode_url") % "pefile") + "/trunk@63",
318     # NSS, for SSLClientSocketNSS.
319     "src/third_party/nss":
320       "/trunk/deps/third_party/nss@101569",
322     "src/third_party/swig/win":
323       "/trunk/deps/third_party/swig/win@" + Var("swig_revision"),
325     "src/third_party/mingw-w64/mingw/bin":
326       (Var("nacl_trunk") + "/src/third_party/mingw-w64/mingw/bin@" +
327        Var("nacl_tools_revision")),
329     "src/rlz":
330       (Var("googlecode_url") % "rlz") + "/trunk@49",
332     # Dependencies used by libjpeg-turbo
333     "src/third_party/yasm/binaries":
334       "/trunk/deps/third_party/yasm/binaries@74228",
336     # Binary level profile guided optimizations.  This points to the
337     # latest release binaries for the toolchain.
338     "src/third_party/syzygy/binaries":
339       (Var("googlecode_url") % "sawbuck") + "/trunk/syzygy/binaries@427",
340   },
341   "mac": {
342     "src/chrome/tools/test/reference_build/chrome_mac":
343       "/trunk/deps/reference_builds/chrome_mac@89574",
345     "src/third_party/GTM":
346       (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@459",
347     "src/third_party/pdfsqueeze":
348       (Var("googlecode_url") % "pdfsqueeze") + "/trunk@4",
349     "src/third_party/lighttpd":
350       "/trunk/deps/third_party/lighttpd@33737",
352     "src/third_party/WebKit/WebKitLibraries":
353       Var("webkit_trunk") + "/WebKitLibraries@" + Var("webkit_revision"),
355     "src/third_party/swig/mac":
356       "/trunk/deps/third_party/swig/mac@" + Var("swig_revision"),
358     # NSS, for SSLClientSocketNSS.
359     "src/third_party/nss":
360       "/trunk/deps/third_party/nss@101569",
362     "src/chrome/installer/mac/third_party/xz/xz":
363       "/trunk/deps/third_party/xz@87706",
364   },
365   "unix": {
366     # Linux, really.
367     "src/chrome/tools/test/reference_build/chrome_linux":
368       "/trunk/deps/reference_builds/chrome_linux@89574",
370     "src/third_party/xdg-utils":
371       "/trunk/deps/third_party/xdg-utils@93299",
373     "src/third_party/swig/linux":
374       "/trunk/deps/third_party/swig/linux@" + Var("swig_revision"),
376     "src/third_party/lss":
377       (Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@3",
379     "src/third_party/openssl":
380       "/trunk/deps/third_party/openssl@101988",
382     "src/third_party/WebKit/Tools/gdb":
383       Var("webkit_trunk") + "/Tools/gdb@" + Var("webkit_revision"),
384   },
388 include_rules = [
389   # Everybody can use some things.
390   "+base",
391   "+build",
392   "+ipc",
394   # For now, we allow ICU to be included by specifying "unicode/...", although
395   # this should probably change.
396   "+unicode",
397   "+testing",
401 # checkdeps.py shouldn't check include paths for files in these dirs:
402 skip_child_includes = [
403   "breakpad",
404   "chrome_frame",
405   "native_client",
406   "o3d",
407   "pdf",
408   "sdch",
409   "skia",
410   "testing",
411   "third_party",
412   "v8",
416 hooks = [
417   {
418     # This downloads binaries for Native Client's newlib toolchain.
419     # Done in lieu of building the toolchain from scratch as it can take
420     # anywhere from 30 minutes to 4 hours depending on platform to build.
421     "pattern": ".",
422     "action": [
423         "python", "src/build/download_nacl_toolchains.py",
424          "--x86-version", Var("nacl_toolchain_revision"),
425          "--nacl-newlib-only",
426          "--file-hash", "mac_x86_newlib",
427              Var("nacl_toolchain_mac_x86_newlib_hash"),
428          "--file-hash", "win_x86_newlib",
429              Var("nacl_toolchain_win_x86_newlib_hash"),
430          "--file-hash", "linux_x86_newlib",
431              Var("nacl_toolchain_linux_x86_newlib_hash"),
432     ],
433   },
434   {
435     # Pull clang on mac. If nothing changed, or on non-mac platforms, this takes
436     # zero seconds to run. If something changed, it downloads a prebuilt clang,
437     # which takes ~20s, but clang speeds up builds by more than 20s.
438     "pattern": ".",
439     "action": ["python", "src/tools/clang/scripts/update.py", "--mac-only"],
440   },
441   {
442     # A change to a .gyp, .gypi, or to GYP itself should run the generator.
443     "pattern": ".",
444     "action": ["python", "src/build/gyp_chromium"],
445   },