Replace FTS in the history_service with a brute force text search.
[chromium-blink-merge.git] / DEPS
blob8ea42e9f8d924c828058edd7395230d3075c1bff
1 # When adding a new dependency, please update the top-level .gitignore file
2 # to list the dependency's destination directory.
4 vars = {
5   # Use this googlecode_url variable only if there is an internal mirror for it.
6   # If you do not know, use the full path while defining your new deps entry.
7   "googlecode_url": "http://%s.googlecode.com/svn",
8   "sourceforge_url": "http://%(repo)s.svn.sourceforge.net/svnroot/%(repo)s",
9   "webkit_trunk": "http://src.chromium.org/blink/trunk",
10   "nacl_trunk": "http://src.chromium.org/native_client/trunk",
11   "webkit_revision": "152906",
12   "chromium_git": "https://chromium.googlesource.com",
13   "chromiumos_git": "https://chromium.googlesource.com/chromiumos",
14   "swig_revision": "69281",
15   "nacl_revision": "11573",
16   # After changing nacl_revision, run 'glient sync' and check native_client/DEPS
17   # to update other nacl_*_revision's.
18   "nacl_tools_revision": "11437",  # native_client/DEPS: tools_rev
19   "gtm_revision": "608",
21   "libjingle_revision": "347",
22   "libphonenumber_revision": "456",
23   "libvpx_revision": "207593",
24   "lss_revision": "20",
26   # These two FFmpeg variables must be updated together.  One is used for SVN
27   # checkouts and the other for Git checkouts.
28   "ffmpeg_revision": "203786",
29   "ffmpeg_hash": "245a8c0cdfdd5ab3da9045089661017e9ddd8d0e",
31   "sfntly_revision": "134",
32   "skia_revision": "9712",
33   # Three lines of non-changing comments so that
34   # the commit queue can handle CLs rolling Skia
35   # and V8 without interference from each other.
36   "v8_revision": "15255",
37   # Three lines of non-changing comments so that
38   # the commit queue can handle CLs rolling WebRTC
39   # and V8 without interference from each other.
40   "webrtc_revision": "4253",
41   "jsoncpp_revision": "248",
42   "nss_revision": "206843",
43   # Three lines of non-changing comments so that
44   # the commit queue can handle CLs rolling swarm_client
45   # and whatever else without interference from each other.
46   "swarm_revision": "207216",
47   # Three lines of non-changing comments so that
48   # the commit queue can handle CLs rolling openssl
49   # and whatever else without interference from each other.
50   "openssl_revision": "203545",
53 deps = {
54   "src/breakpad/src":
55     (Var("googlecode_url") % "google-breakpad") + "/trunk/src@1182",
57   "src/googleurl":
58     (Var("googlecode_url") % "google-url") + "/trunk@185",
60   "src/sdch/open-vcdiff":
61     (Var("googlecode_url") % "open-vcdiff") + "/trunk@42",
63   "src/testing/gtest":
64     (Var("googlecode_url") % "googletest") + "/trunk@629",
66   "src/testing/gmock":
67     (Var("googlecode_url") % "googlemock") + "/trunk@410",
69   "src/third_party/angle":
70     (Var("googlecode_url") % "angleproject") + "/trunk@2249",
72   "src/third_party/trace-viewer":
73     (Var("googlecode_url") % "trace-viewer") + "/trunk@623",
75   "src/third_party/WebKit":
76     Var("webkit_trunk") + "@" + Var("webkit_revision"),
78   "src/third_party/icu":
79     "/trunk/deps/third_party/icu46@205936",
81   "src/third_party/libexif/sources":
82     "/trunk/deps/third_party/libexif/sources@146817",
84   "src/third_party/hunspell":
85    "/trunk/deps/third_party/hunspell@206172",
87   "src/third_party/hunspell_dictionaries":
88     "/trunk/deps/third_party/hunspell_dictionaries@193701",
90   "src/third_party/safe_browsing/testing":
91     (Var("googlecode_url") % "google-safe-browsing") + "/trunk/testing@112",
93   "src/third_party/cacheinvalidation/src":
94     (Var("googlecode_url") % "google-cache-invalidation-api") +
95     "/trunk/src@309",
97   "src/third_party/leveldatabase/src":
98     (Var("googlecode_url") % "leveldb") + "/trunk@75",
100   "src/third_party/snappy/src":
101     (Var("googlecode_url") % "snappy") + "/trunk@74",
103   "src/tools/grit":
104     (Var("googlecode_url") % "grit-i18n") + "/trunk@127",
106   "src/tools/gyp":
107     (Var("googlecode_url") % "gyp") + "/trunk@1652",
109   "src/tools/swarm_client":
110     "/trunk/tools/swarm_client@" + Var("swarm_revision"),
112   "src/v8":
113     (Var("googlecode_url") % "v8") + "/trunk@" + Var("v8_revision"),
115   "src/native_client":
116     Var("nacl_trunk") + "/src/native_client@" + Var("nacl_revision"),
118   "src/third_party/pymox/src":
119     (Var("googlecode_url") % "pymox") + "/trunk@70",
121   "src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin":
122     Var("nacl_trunk") + "/src/native_client/tests/prebuilt@" +
123     Var("nacl_revision"),
125   "src/third_party/sfntly/cpp/src":
126     (Var("googlecode_url") % "sfntly") + "/trunk/cpp/src@" +
127     Var("sfntly_revision"),
129   "src/third_party/skia/src":
130     (Var("googlecode_url") % "skia") + "/trunk/src@" + Var("skia_revision"),
132   "src/third_party/skia/gyp":
133     (Var("googlecode_url") % "skia") + "/trunk/gyp@" + Var("skia_revision"),
135   "src/third_party/skia/include":
136     (Var("googlecode_url") % "skia") + "/trunk/include@" + Var("skia_revision"),
138   "src/third_party/ots":
139     (Var("googlecode_url") % "ots") + "/trunk@102",
141   "src/tools/page_cycler/acid3":
142     "/trunk/deps/page_cycler/acid3@171600",
144   "src/chrome/test/data/perf/canvas_bench":
145     "/trunk/deps/canvas_bench@122605",
147   "src/chrome/test/data/perf/frame_rate/content":
148     "/trunk/deps/frame_rate/content@93671",
150   "src/chrome/test/data/perf/third_party/octane":
151     (Var("googlecode_url") % "octane-benchmark") + "/trunk@19",
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@191",
159   # When roll to another webgl conformance tests revision, please goto
160   # chrome/test/gpu and run generate_webgl_conformance_test_list.py.
161   "src/third_party/webgl_conformance":
162     "/trunk/deps/third_party/webgl/sdk/tests@202601",
164   "src/third_party/swig/Lib":
165     "/trunk/deps/third_party/swig/Lib@" + Var("swig_revision"),
167   # Make sure you update the two functional.DEPS and webdriver.DEPS too.
168   "src/third_party/webdriver/pylib":
169     (Var("googlecode_url") % "selenium") + "/trunk/py@18337",
171   "src/third_party/libvpx":
172     "/trunk/deps/third_party/libvpx@" +
173     Var("libvpx_revision"),
175   "src/third_party/ffmpeg":
176     "/trunk/deps/third_party/ffmpeg@" +
177     Var("ffmpeg_revision"),
179   "src/third_party/libjingle/source":
180     (Var("googlecode_url") % "libjingle") + "/trunk@" +
181     Var("libjingle_revision"),
183   "src/third_party/usrsctp/usrsctplib":
184     (Var("googlecode_url") % "sctp-refimpl") +
185     "/trunk/KERN/usrsctp/usrsctplib@8463",
187   "src/third_party/libsrtp":
188     "/trunk/deps/third_party/libsrtp@189528",
190   "src/third_party/speex":
191     "/trunk/deps/third_party/speex@198168",
193   "src/third_party/yasm/source/patched-yasm":
194     "/trunk/deps/third_party/yasm/patched-yasm@167605",
196   "src/third_party/libjpeg_turbo":
197     "/trunk/deps/third_party/libjpeg_turbo@177737",
199   "src/third_party/flac":
200     "/trunk/deps/third_party/flac@198139",
202   "src/third_party/pyftpdlib/src":
203     (Var("googlecode_url") % "pyftpdlib") + "/trunk@977",
205   "src/third_party/scons-2.0.1":
206     Var("nacl_trunk") + "/src/third_party/scons-2.0.1@" +
207         Var("nacl_tools_revision"),
209   "src/third_party/webrtc":
210     (Var("googlecode_url") % "webrtc") + "/stable/webrtc@" + Var("webrtc_revision"),
212   "src/third_party/openmax_dl":
213     (Var("googlecode_url") % "webrtc") + "/deps/third_party/openmax@4148",
215   "src/third_party/jsoncpp/source/include":
216     (Var("sourceforge_url") % {"repo": "jsoncpp"}) +
217         "/trunk/jsoncpp/include@" + Var("jsoncpp_revision"),
219   "src/third_party/jsoncpp/source/src/lib_json":
220     (Var("sourceforge_url") % {"repo": "jsoncpp"}) +
221         "/trunk/jsoncpp/src/lib_json@" + Var("jsoncpp_revision"),
223   "src/third_party/libyuv":
224     (Var("googlecode_url") % "libyuv") + "/trunk@723",
226   "src/third_party/smhasher/src":
227     (Var("googlecode_url") % "smhasher") + "/trunk@149",
229   "src/third_party/libphonenumber/src/phonenumbers":
230      (Var("googlecode_url") % "libphonenumber") +
231          "/trunk/cpp/src/phonenumbers@" + Var("libphonenumber_revision"),
232   "src/third_party/libphonenumber/src/test":
233      (Var("googlecode_url") % "libphonenumber") + "/trunk/cpp/test@" +
234          Var("libphonenumber_revision"),
235   "src/third_party/libphonenumber/src/resources":
236      (Var("googlecode_url") % "libphonenumber") + "/trunk/resources@" +
237          Var("libphonenumber_revision"),
239   "src/tools/deps2git":
240     "/trunk/tools/deps2git@202885",
242   "src/third_party/webpagereplay":
243     (Var("googlecode_url") % "web-page-replay") + "/trunk@515",
245   "src/third_party/pywebsocket/src":
246     (Var("googlecode_url") % "pywebsocket") + "/trunk/src@662",
248   "src/third_party/opus/src":
249     "/trunk/deps/third_party/opus@185324",
251   "src/third_party/accessibility-developer-tools":
252     Var("chromium_git") + "/external/accessibility-developer-tools.git@ad5df9a5341d38778658c90e4aa241c4ebe4e8aa",
254   "src/webkit/renderer/media/crypto/ppapi/cdm":
255     "/trunk/deps/cdm@181763",
257   "src/third_party/mesa/src":
258     "/trunk/deps/third_party/mesa@204346",
262 deps_os = {
263   "win": {
264     "src/chrome/tools/test/reference_build/chrome_win":
265       "/trunk/deps/reference_builds/chrome_win@197743",
267     "src/third_party/cygwin":
268       "/trunk/deps/third_party/cygwin@133786",
270     "src/third_party/python_26":
271       "/trunk/tools/third_party/python_26@89111",
273     "src/third_party/psyco_win32":
274       "/trunk/deps/third_party/psyco_win32@79861",
276     "src/third_party/bison":
277       "/trunk/deps/third_party/bison@147303",
279     "src/third_party/gperf":
280       "/trunk/deps/third_party/gperf@147304",
282     "src/third_party/perl":
283       "/trunk/deps/third_party/perl@147900",
285     "src/third_party/lighttpd":
286       "/trunk/deps/third_party/lighttpd@33727",
288     # Chrome Frame related deps
289     "src/third_party/xulrunner-sdk":
290       "/trunk/deps/third_party/xulrunner-sdk@119756",
291     "src/chrome_frame/tools/test/reference_build/chrome_win":
292       "/trunk/deps/reference_builds/chrome_win@89574",
294     # Parses Windows PE/COFF executable format.
295     "src/third_party/pefile":
296       (Var("googlecode_url") % "pefile") + "/trunk@63",
298     # NSS, for SSLClientSocketNSS.
299     "src/third_party/nss":
300       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
302     "src/third_party/swig/win":
303       "/trunk/deps/third_party/swig/win@" + Var("swig_revision"),
305     # GNU binutils assembler for x86-32.
306     "src/third_party/gnu_binutils":
307       (Var("nacl_trunk") + "/deps/third_party/gnu_binutils@" +
308        Var("nacl_tools_revision")),
309     # GNU binutils assembler for x86-64.
310     "src/third_party/mingw-w64/mingw/bin":
311       (Var("nacl_trunk") + "/deps/third_party/mingw-w64/mingw/bin@" +
312        Var("nacl_tools_revision")),
314     # Dependencies used by libjpeg-turbo
315     "src/third_party/yasm/binaries":
316       "/trunk/deps/third_party/yasm/binaries@154708",
318     # Binary level profile guided optimizations. This points to the
319     # latest release binaries for the toolchain.
320     "src/third_party/syzygy/binaries":
321       (Var("googlecode_url") % "sawbuck") + "/trunk/syzygy/binaries@1584",
323     # Binaries for nacl sdk.
324     "src/third_party/nacl_sdk_binaries":
325       "/trunk/deps/third_party/nacl_sdk_binaries@111576",
326   },
327   "ios": {
328     "src/third_party/GTM":
329       (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@" +
330       Var("gtm_revision"),
332     "src/third_party/nss":
333       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
335     # class-dump utility to generate header files for undocumented SDKs
336     "src/testing/iossim/third_party/class-dump":
337       "/trunk/deps/third_party/class-dump@199203",
339     # Code that's not needed due to not building everything
340     "src/build/util/support": None,
341     "src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin": None,
342     "src/chrome/test/data/perf/canvas_bench": None,
343     "src/chrome/test/data/perf/frame_rate/content": None,
344     "src/native_client": None,
345     "src/native_client/src/third_party/ppapi": None,
346     "src/third_party/angle": None,
347     "src/third_party/bidichecker": None,
348     "src/third_party/webgl_conformance": None,
349     "src/third_party/ffmpeg": None,
350     "src/third_party/hunspell_dictionaries": None,
351     "src/third_party/hunspell": None,
352     "src/third_party/leveldatabase/src": None,
353     "src/third_party/libexif/sources": None,
354     "src/third_party/libjpeg_turbo": None,
355     "src/third_party/libphonenumber/src/phonenumbers": None,
356     "src/third_party/libphonenumber/src/test": None,
357     "src/third_party/libphonenumber/src/resources": None,
358     "src/third_party/libsrtp": None,
359     "src/third_party/usrsctp/usrsctplib": None,
360     "src/third_party/libvpx": None,
361     "src/third_party/libyuv": None,
362     "src/third_party/ots": None,
363     "src/third_party/pylib": None,
364     "src/third_party/pymox/src": None,
365     "src/third_party/safe_browsing/testing": None,
366     "src/third_party/scons-2.0.1": None,
367     "src/third_party/sfntly/cpp/src": None,
368     "src/third_party/smhasher/src": None,
369     "src/third_party/snappy/src": None,
370     "src/third_party/swig/Lib": None,
371     "src/third_party/undoview": None,
372     "src/third_party/v8-i18n": None,
373     "src/third_party/webdriver/pylib": None,
374     "src/third_party/webpagereplay": None,
375     "src/third_party/webrtc": None,
376     "src/third_party/yasm/source/patched-yasm": None,
377     "src/tools/page_cycler/acid3": None,
378     "src/v8": None,
379   },
380   "mac": {
381     "src/chrome/tools/test/reference_build/chrome_mac":
382       "/trunk/deps/reference_builds/chrome_mac@197743",
384     "src/third_party/GTM":
385       (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@" +
386       Var("gtm_revision"),
387     "src/third_party/pdfsqueeze":
388       (Var("googlecode_url") % "pdfsqueeze") + "/trunk@5",
389     "src/third_party/lighttpd":
390       "/trunk/deps/third_party/lighttpd@33737",
392     "src/third_party/swig/mac":
393       "/trunk/deps/third_party/swig/mac@" + Var("swig_revision"),
395     # NSS, for SSLClientSocketNSS.
396     "src/third_party/nss":
397       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
399     "src/chrome/installer/mac/third_party/xz/xz":
400       "/trunk/deps/third_party/xz@189101",
401   },
402   "unix": {
403     # Linux, really.
404     "src/chrome/tools/test/reference_build/chrome_linux":
405       "/trunk/deps/reference_builds/chrome_linux@197743",
407     "src/third_party/xdg-utils":
408       "/trunk/deps/third_party/xdg-utils@203785",
410     "src/third_party/swig/linux":
411       "/trunk/deps/third_party/swig/linux@" + Var("swig_revision"),
413     "src/third_party/lss":
414       ((Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@" +
415        Var("lss_revision")),
417     "src/third_party/openssl":
418       "/trunk/deps/third_party/openssl@" + Var("openssl_revision"),
420     "src/third_party/gold":
421       "/trunk/deps/third_party/gold@203758",
423     "src/third_party/libmtp":
424       "/trunk/deps/third_party/libmtp@206535",
426     # Used on Linux only. CrOS already has a copy.
427     "src/third_party/mtpd/source":
428       Var("chromiumos_git") + "/platform/mtpd.git" +
429       "@132604f107368f617a3073ba2d515b78641ceeed",
431     # Used on Linux only. CrOS already has a copy.
432     "src/third_party/cros_dbus_cplusplus/source":
433       Var("chromiumos_git") + "/third_party/dbus-cplusplus.git" +
434       "@5e8f6d9db5c2abfb91d91f751184f25bb5cd0900",
436     # For Linux and Chromium OS.
437     "src/third_party/cros_system_api":
438       Var("chromiumos_git") + "/platform/system_api.git" +
439       "@211c50e14bc96a7b3e040d6287fc66ef80bee44d",
441     # Note that this is different from Android's freetype repo.
442     "src/third_party/freetype2/src":
443       Var("chromium_git") + "/chromium/src/third_party/freetype2.git" +
444       "@d699c2994ecc178c4ed05ac2086061b2034c2178",
446     # Build tools for targeting ChromeOS.
447     "src/third_party/chromite":
448       Var("chromiumos_git") + "/chromite.git" +
449       "@785fedc51fc430445d8f397440012ea3b489bac9",
451     # Dependency of chromite.git.
452     "src/third_party/pyelftools":
453       Var("chromiumos_git") + "/third_party/pyelftools.git" +
454       "@bdc1d380acd88d4bfaf47265008091483b0d614e",
456     "src/third_party/undoview":
457       "/trunk/deps/third_party/undoview@119694",
458   },
459   "android": {
460     "src/third_party/android_tools":
461       Var("chromium_git") + "/android_tools.git" +
462       "@e9da75d5e88d3e122ac60ee1d642cdcc1acb2bd8",
464     "src/third_party/aosp":
465       "/trunk/deps/third_party/aosp@148330",
467     "src/third_party/apache-mime4j":
468       "/trunk/deps/third_party/apache-mime4j@170888",
470     "src/third_party/findbugs":
471       "/trunk/deps/third_party/findbugs@163586",
473     "src/third_party/freetype":
474       Var("chromium_git") + "/chromium/src/third_party/freetype.git" +
475       "@96551feab72aac26836e9aaf4fae0962d39d5ab0",
477     "src/third_party/guava/src":
478       Var("chromium_git") + "/external/guava-libraries.git" +
479       "@c523556ab7d0f05afadebd20e7768d4c16af8771",
481     "src/third_party/httpcomponents-client":
482       "/trunk/deps/third_party/httpcomponents-client@170888",
484     "src/third_party/httpcomponents-core":
485       "/trunk/deps/third_party/httpcomponents-core@170888",
487     "src/third_party/jarjar":
488       "/trunk/deps/third_party/jarjar@170888",
490     "src/third_party/jsr-305/src":
491       (Var("googlecode_url") % "jsr-305") + "/trunk@51",
493     "src/third_party/lss":
494       ((Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@" +
495        Var("lss_revision")),
497     "src/third_party/openssl":
498       "/trunk/deps/third_party/openssl@" + Var("openssl_revision"),
500     "src/third_party/eyesfree/src/android/java/src/com/googlecode/eyesfree/braille":
501       (Var("googlecode_url") % "eyes-free") + "/trunk/braille/client/src/com/googlecode/eyesfree/braille@797",
502   },
506 include_rules = [
507   # Everybody can use some things.
508   "+base",
509   "+build",
510   "+googleurl",
511   "+ipc",
513   # Everybody can use headers generated by tools/generate_library_loader.
514   "+library_loaders",
516   "+testing",
517   "+third_party/icu/public",
521 # checkdeps.py shouldn't check include paths for files in these dirs:
522 skip_child_includes = [
523   "breakpad",
524   "chrome_frame",
525   "delegate_execute",
526   "googleurl",
527   "metro_driver",
528   "native_client_sdk",
529   "o3d",
530   "pdf",
531   "sdch",
532   "skia",
533   "testing",
534   "third_party",
535   "v8",
536   "win8",
540 hooks = [
541   {
542     # This downloads binaries for Native Client's newlib toolchain.
543     # Done in lieu of building the toolchain from scratch as it can take
544     # anywhere from 30 minutes to 4 hours depending on platform to build.
545     "pattern": ".",
546     "action": [
547         "python", "src/build/download_nacl_toolchains.py",
548          "--no-arm-trusted",
549          "--keep",
550     ],
551   },
552   {
553     # Downloads an ARM sysroot image to src/arm-sysroot. This image updates
554     # at about the same rate that the chrome build deps change.
555     # This script is a no-op except for linux users who have
556     # target_arch=arm in their GYP_DEFINES.
557     "pattern": ".",
558     "action": ["python", "src/build/linux/install-arm-sysroot.py",
559                "--linux-only"],
560   },
561   {
562     # Downloads the Debian Wheezy sysroot to chrome/installer/linux if needed.
563     # This sysroot updates at about the same rate that the chrome build deps
564     # change. This script is a no-op except for linux users who are doing
565     # official chrome builds.
566     "pattern": ".",
567     "action": [
568         "python",
569         "src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py",
570         "--linux-only",
571         "--arch=amd64"],
572   },
573   {
574     # Same as above, but for 32-bit Linux.
575     "pattern": ".",
576     "action": [
577         "python",
578         "src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py",
579         "--linux-only",
580         "--arch=i386"],
581   },
582   {
583     # Pull clang on mac. If nothing changed, or on non-mac platforms, this takes
584     # zero seconds to run. If something changed, it downloads a prebuilt clang,
585     # which takes ~20s, but clang speeds up builds by more than 20s.
586     "pattern": ".",
587     "action": ["python", "src/tools/clang/scripts/update.py", "--mac-only"],
588   },
589   {
590     # Update the cygwin mount on Windows.
591     "pattern": ".",
592     "action": ["python", "src/build/win/setup_cygwin_mount.py", "--win-only"],
593   },
594   {
595     # Update LASTCHANGE. This is also run by export_tarball.py in
596     # src/tools/export_tarball - please keep them in sync.
597     "pattern": ".",
598     "action": ["python", "src/build/util/lastchange.py",
599                "-o", "src/build/util/LASTCHANGE"],
600   },
601   {
602     # Update LASTCHANGE.blink. This is also run by export_tarball.py in
603     # src/tools/export_tarball - please keep them in sync.
604     "pattern": ".",
605     "action": ["python", "src/build/util/lastchange.py",
606                "-s", "src/third_party/WebKit",
607                "-o", "src/build/util/LASTCHANGE.blink"],
608   },
609   {
610     # A change to a .gyp, .gypi, or to GYP itself should run the generator.
611     "pattern": ".",
612     "action": ["python", "src/build/gyp_chromium"],
613   },
614   {
615     # Check for landmines (reasons to clobber the build).
616     "pattern": ".",
617     "action": ["python", "src/build/landmines.py"],
618   },