cc: Fix HeadsUpDisplayLayerImpl NPE after resource loss
[chromium-blink-merge.git] / DEPS
blobd9103db88d6165281fe8e9b33c96942a8da0138b
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://svn.code.sf.net/p/%(repo)s/code",
9   "webkit_trunk": "http://src.chromium.org/blink/trunk",
10   "nacl_trunk": "http://src.chromium.org/native_client/trunk",
11   "webkit_revision": "159427",
12   "chromium_git": "https://chromium.googlesource.com",
13   "chromiumos_git": "https://chromium.googlesource.com/chromiumos",
14   "skia_git": "https://skia.googlesource.com",
15   "swig_revision": "69281",
16   "nacl_revision": "12227",
17   # After changing nacl_revision, run 'glient sync' and check native_client/DEPS
18   # to update other nacl_*_revision's.
19   "nacl_tools_revision": "11437",  # native_client/DEPS: tools_rev
20   "gtm_revision": "616",
22   "libphonenumber_revision": "584",
23   "libvpx_revision": "227030",
24   "lss_revision": "24",
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": "227119",
29   "ffmpeg_hash": "aacd7f27b8e80d4371bdf77e46dff5396bc66b9b",
31   "sfntly_revision": "134",
32   "lighttpd_revision": "33737",
33   "skia_revision": "11720",
34   "skia_hash": "c5edf7c2afe9a8213506f643b36396f478da37d2",
35   # Three lines of non-changing comments so that
36   # the commit queue can handle CLs rolling Skia
37   # and V8 without interference from each other.
38   "v8_revision": "17132",
39   # Three lines of non-changing comments so that
40   # the commit queue can handle CLs rolling WebRTC
41   # and V8 without interference from each other.
42   "webrtc_revision": "4948",
43   "jsoncpp_revision": "248",
44   "nss_revision": "223139",
45   # Three lines of non-changing comments so that
46   # the commit queue can handle CLs rolling swarm_client
47   # and whatever else without interference from each other.
48   "swarm_revision": "224429",
49   # Three lines of non-changing comments so that
50   # the commit queue can handle CLs rolling openssl
51   # and whatever else without interference from each other.
52   "openssl_revision": "207965",
55 deps = {
56   "src/breakpad/src":
57     (Var("googlecode_url") % "google-breakpad") + "/trunk/src@1219",
59   "src/sdch/open-vcdiff":
60     (Var("googlecode_url") % "open-vcdiff") + "/trunk@42",
62   "src/testing/gtest":
63     (Var("googlecode_url") % "googletest") + "/trunk@629",
65   "src/testing/gmock":
66     (Var("googlecode_url") % "googlemock") + "/trunk@410",
68   "src/third_party/angle_dx11":
69     Var("chromium_git") +
70     "/external/angle.git@e5014a97e29c0d88d47c693ed168c00f61551e53",
72   "src/third_party/trace-viewer":
73     (Var("googlecode_url") % "trace-viewer") + "/trunk@1023",
75   "src/third_party/WebKit":
76     Var("webkit_trunk") + "@" + Var("webkit_revision"),
78   "src/third_party/icu":
79     "/trunk/deps/third_party/icu46@224814",
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@313",
97   "src/third_party/leveldatabase/src":
98     (Var("googlecode_url") % "leveldb") + "/trunk@77",
100   "src/third_party/snappy/src":
101     (Var("googlecode_url") % "snappy") + "/trunk@80",
103   "src/tools/grit":
104     (Var("googlecode_url") % "grit-i18n") + "/trunk@136",
106   "src/tools/gyp":
107     (Var("googlecode_url") % "gyp") + "/trunk@1750",
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/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin":
119     Var("nacl_trunk") + "/src/native_client/tests/prebuilt@" +
120     Var("nacl_revision"),
122   "src/third_party/sfntly/cpp/src":
123     (Var("googlecode_url") % "sfntly") + "/trunk/cpp/src@" +
124     Var("sfntly_revision"),
126   "src/third_party/skia/src":
127     (Var("googlecode_url") % "skia") + "/trunk/src@" + Var("skia_revision"),
129   "src/third_party/skia/gyp":
130     (Var("googlecode_url") % "skia") + "/trunk/gyp@" + Var("skia_revision"),
132   "src/third_party/skia/include":
133     (Var("googlecode_url") % "skia") + "/trunk/include@" + Var("skia_revision"),
135   "src/third_party/ots":
136     (Var("googlecode_url") % "ots") + "/trunk@103",
138   "src/tools/page_cycler/acid3":
139     "/trunk/deps/page_cycler/acid3@171600",
141   "src/chrome/test/data/perf/canvas_bench":
142     "/trunk/deps/canvas_bench@122605",
144   "src/chrome/test/data/perf/frame_rate/content":
145     "/trunk/deps/frame_rate/content@93671",
147   "src/chrome/test/data/perf/third_party/octane":
148     (Var("googlecode_url") % "octane-benchmark") + "/trunk@19",
150   "src/third_party/bidichecker":
151     (Var("googlecode_url") % "bidichecker") + "/trunk/lib@4",
153   # When roll to another webgl conformance tests revision, please goto
154   # chrome/test/gpu and run generate_webgl_conformance_test_list.py.
155   "src/third_party/webgl_conformance":
156     "/trunk/deps/third_party/webgl/sdk/tests@226612",
158   "src/third_party/swig/Lib":
159     "/trunk/deps/third_party/swig/Lib@" + Var("swig_revision"),
161   # Make sure you update the two functional.DEPS and webdriver.DEPS too.
162   "src/third_party/webdriver/pylib":
163     (Var("googlecode_url") % "selenium") + "/trunk/py@18337",
165   "src/third_party/libvpx":
166     "/trunk/deps/third_party/libvpx@" +
167     Var("libvpx_revision"),
169   "src/third_party/ffmpeg":
170     "/trunk/deps/third_party/ffmpeg@" +
171     Var("ffmpeg_revision"),
173   "src/third_party/libjingle/source/talk":
174     (Var("googlecode_url") % "webrtc") + "/stable/talk@" +
175     Var("webrtc_revision"),
177   "src/third_party/usrsctp/usrsctplib":
178     (Var("googlecode_url") % "sctp-refimpl") +
179     "/trunk/KERN/usrsctp/usrsctplib@8603",
181   "src/third_party/libsrtp":
182     "/trunk/deps/third_party/libsrtp@214783",
184   "src/third_party/speex":
185     "/trunk/deps/third_party/speex@198168",
187   "src/third_party/yasm/source/patched-yasm":
188     "/trunk/deps/third_party/yasm/patched-yasm@167605",
190   "src/third_party/libjpeg_turbo":
191     "/trunk/deps/third_party/libjpeg_turbo@177737",
193   "src/third_party/flac":
194     "/trunk/deps/third_party/flac@222897",
196   "src/third_party/pyftpdlib/src":
197     (Var("googlecode_url") % "pyftpdlib") + "/trunk@977",
199   "src/third_party/scons-2.0.1":
200     Var("nacl_trunk") + "/src/third_party/scons-2.0.1@" +
201         Var("nacl_tools_revision"),
203   "src/third_party/webrtc":
204     (Var("googlecode_url") % "webrtc") + "/stable/webrtc@" + Var("webrtc_revision"),
206   "src/third_party/openmax_dl":
207     (Var("googlecode_url") % "webrtc") + "/deps/third_party/openmax@4261",
209   "src/third_party/jsoncpp/source/include":
210     (Var("sourceforge_url") % {"repo": "jsoncpp"}) +
211         "/trunk/jsoncpp/include@" + Var("jsoncpp_revision"),
213   "src/third_party/jsoncpp/source/src/lib_json":
214     (Var("sourceforge_url") % {"repo": "jsoncpp"}) +
215         "/trunk/jsoncpp/src/lib_json@" + Var("jsoncpp_revision"),
217   "src/third_party/libyuv":
218     (Var("googlecode_url") % "libyuv") + "/trunk@723",
220   "src/third_party/smhasher/src":
221     (Var("googlecode_url") % "smhasher") + "/trunk@149",
223   "src/third_party/libphonenumber/src/phonenumbers":
224      (Var("googlecode_url") % "libphonenumber") +
225          "/trunk/cpp/src/phonenumbers@" + Var("libphonenumber_revision"),
226   "src/third_party/libphonenumber/src/test":
227      (Var("googlecode_url") % "libphonenumber") + "/trunk/cpp/test@" +
228          Var("libphonenumber_revision"),
229   "src/third_party/libphonenumber/src/resources":
230      (Var("googlecode_url") % "libphonenumber") + "/trunk/resources@" +
231          Var("libphonenumber_revision"),
233   "src/tools/deps2git":
234     "/trunk/tools/deps2git@214390",
236   "src/third_party/webpagereplay":
237     (Var("googlecode_url") % "web-page-replay") + "/trunk@521",
239   "src/third_party/pywebsocket/src":
240     (Var("googlecode_url") % "pywebsocket") + "/trunk/src@662",
242   "src/third_party/opus/src":
243     "/trunk/deps/third_party/opus@185324",
245   "src/media/cdm/ppapi/api":
246     "/trunk/deps/cdm@227062",
248   "src/third_party/mesa/src":
249     "/trunk/deps/third_party/mesa@210110",
251   "src/third_party/cld_2/src":
252     (Var("googlecode_url") % "cld2") + "/trunk@84",
256 deps_os = {
257   "win": {
258     "src/chrome/tools/test/reference_build/chrome_win":
259       "/trunk/deps/reference_builds/chrome_win@221746",
261     "src/third_party/cygwin":
262       "/trunk/deps/third_party/cygwin@133786",
264     "src/third_party/python_26":
265       "/trunk/tools/third_party/python_26@89111",
267     "src/third_party/psyco_win32":
268       "/trunk/deps/third_party/psyco_win32@79861",
270     "src/third_party/bison":
271       "/trunk/deps/third_party/bison@147303",
273     "src/third_party/gperf":
274       "/trunk/deps/third_party/gperf@147304",
276     "src/third_party/perl":
277       "/trunk/deps/third_party/perl@147900",
279     "src/third_party/lighttpd":
280       "/trunk/deps/third_party/lighttpd@" + Var("lighttpd_revision"),
282     # Chrome Frame related deps
283     "src/third_party/xulrunner-sdk":
284       "/trunk/deps/third_party/xulrunner-sdk@119756",
285     "src/chrome_frame/tools/test/reference_build/chrome_win":
286       "/trunk/deps/reference_builds/chrome_win@89574",
288     # Parses Windows PE/COFF executable format.
289     "src/third_party/pefile":
290       (Var("googlecode_url") % "pefile") + "/trunk@63",
292     # NSS, for SSLClientSocketNSS.
293     "src/third_party/nss":
294       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
296     "src/third_party/swig/win":
297       "/trunk/deps/third_party/swig/win@" + Var("swig_revision"),
299     # GNU binutils assembler for x86-32.
300     "src/third_party/gnu_binutils":
301       (Var("nacl_trunk") + "/deps/third_party/gnu_binutils@" +
302        Var("nacl_tools_revision")),
303     # GNU binutils assembler for x86-64.
304     "src/third_party/mingw-w64/mingw/bin":
305       (Var("nacl_trunk") + "/deps/third_party/mingw-w64/mingw/bin@" +
306        Var("nacl_tools_revision")),
308     # Dependencies used by libjpeg-turbo
309     "src/third_party/yasm/binaries":
310       "/trunk/deps/third_party/yasm/binaries@154708",
312     # Binary level profile guided optimizations. This points to the
313     # latest release binaries for the toolchain.
314     "src/third_party/syzygy/binaries":
315       (Var("googlecode_url") % "sawbuck") + "/trunk/syzygy/binaries@1811",
317     # Binaries for nacl sdk.
318     "src/third_party/nacl_sdk_binaries":
319       "/trunk/deps/third_party/nacl_sdk_binaries@111576",
320   },
321   "ios": {
322     "src/third_party/GTM":
323       (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@" +
324       Var("gtm_revision"),
326     "src/third_party/nss":
327       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
329     # class-dump utility to generate header files for undocumented SDKs
330     "src/testing/iossim/third_party/class-dump":
331       "/trunk/deps/third_party/class-dump@199203",
333     # Code that's not needed due to not building everything
334     "src/build/util/support": None,
335     "src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin": None,
336     "src/chrome/test/data/perf/canvas_bench": None,
337     "src/chrome/test/data/perf/frame_rate/content": None,
338     "src/chrome/test/data/perf/third_party/octane": None,
339     "src/media/cdm/ppapi/api": None,
340     "src/native_client": None,
341     "src/native_client/src/third_party/ppapi": None,
342     "src/third_party/angle_dx11": None,
343     "src/third_party/cld_2/src": None,
344     "src/third_party/bidichecker": None,
345     "src/third_party/webgl_conformance": None,
346     "src/third_party/ffmpeg": None,
347     "src/third_party/hunspell_dictionaries": None,
348     "src/third_party/hunspell": None,
349     "src/third_party/libexif/sources": None,
350     "src/third_party/libjpeg_turbo": None,
351     "src/third_party/libsrtp": None,
352     "src/third_party/usrsctp/usrsctplib": None,
353     "src/third_party/libvpx": None,
354     "src/third_party/libyuv": None,
355     "src/third_party/mesa/src": None,
356     "src/third_party/opus/src": None,
357     "src/third_party/openmax_dl": None,
358     "src/third_party/ots": None,
359     "src/third_party/pymox/src": None,
360     "src/third_party/safe_browsing/testing": None,
361     "src/third_party/scons-2.0.1": None,
362     "src/third_party/sfntly/cpp/src": None,
363     "src/third_party/smhasher/src": None,
364     "src/third_party/swig/Lib": None,
365     "src/third_party/undoview": None,
366     "src/third_party/v8-i18n": None,
367     "src/third_party/webdriver/pylib": None,
368     "src/third_party/webpagereplay": None,
369     "src/third_party/webrtc": None,
370     "src/third_party/yasm/source/patched-yasm": None,
371     "src/tools/page_cycler/acid3": None,
372     "src/v8": None,
373   },
374   "mac": {
375     "src/chrome/tools/test/reference_build/chrome_mac":
376       "/trunk/deps/reference_builds/chrome_mac@221746",
378     "src/third_party/GTM":
379       (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@" +
380       Var("gtm_revision"),
381     "src/third_party/pdfsqueeze":
382       (Var("googlecode_url") % "pdfsqueeze") + "/trunk@5",
383     "src/third_party/lighttpd":
384       "/trunk/deps/third_party/lighttpd@" + Var("lighttpd_revision"),
386     "src/third_party/swig/mac":
387       "/trunk/deps/third_party/swig/mac@" + Var("swig_revision"),
389     # NSS, for SSLClientSocketNSS.
390     "src/third_party/nss":
391       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
393     "src/chrome/installer/mac/third_party/xz/xz":
394       "/trunk/deps/third_party/xz@189101",
395   },
396   "unix": {
397     # Linux, really.
398     "src/chrome/tools/test/reference_build/chrome_linux":
399       "/trunk/deps/reference_builds/chrome_linux@221746",
401     "src/third_party/xdg-utils":
402       "/trunk/deps/third_party/xdg-utils@203785",
404     "src/third_party/swig/linux":
405       "/trunk/deps/third_party/swig/linux@" + Var("swig_revision"),
407     "src/third_party/lss":
408       ((Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@" +
409        Var("lss_revision")),
411     "src/third_party/openssl":
412       "/trunk/deps/third_party/openssl@" + Var("openssl_revision"),
414     "src/third_party/gold":
415       "/trunk/deps/third_party/gold@203758",
417     "src/third_party/libmtp":
418       "/trunk/deps/third_party/libmtp@206535",
420     # Used on Linux only. CrOS already has a copy.
421     "src/third_party/mtpd/source":
422       Var("chromiumos_git") + "/platform/mtpd.git" +
423       "@5be739c938a0a229ba9479b00b180e1f9c843e81",
425     # Used on Linux only. CrOS already has a copy.
426     "src/third_party/cros_dbus_cplusplus/source":
427       Var("chromiumos_git") + "/third_party/dbus-cplusplus.git" +
428       "@5e8f6d9db5c2abfb91d91f751184f25bb5cd0900",
430     # For Linux and Chromium OS.
431     "src/third_party/cros_system_api":
432       Var("chromiumos_git") + "/platform/system_api.git" +
433       "@5726199f276af70cd91fc1650a8b222bbb7835c8",
435     # Note that this is different from Android's freetype repo.
436     "src/third_party/freetype2/src":
437       Var("chromium_git") + "/chromium/src/third_party/freetype2.git" +
438       "@d699c2994ecc178c4ed05ac2086061b2034c2178",
440     # Build tools for targeting ChromeOS.
441     "src/third_party/chromite":
442       Var("chromiumos_git") + "/chromite.git" +
443       "@cbdd21c5ea76aa93ba4619a6d253697765f4de1f",
445     # Dependency of chromite.git.
446     "src/third_party/pyelftools":
447       Var("chromiumos_git") + "/third_party/pyelftools.git" +
448       "@bdc1d380acd88d4bfaf47265008091483b0d614e",
450     "src/third_party/undoview":
451       "/trunk/deps/third_party/undoview@119694",
452   },
453   "android": {
454     "src/third_party/android_tools":
455       Var("chromium_git") + "/android_tools.git" +
456       "@e504b737693e96816b40e6ae80d177352c079c18",
458     "src/third_party/aosp":
459       "/trunk/deps/third_party/aosp@148330",
461     "src/third_party/apache-mime4j":
462       "/trunk/deps/third_party/apache-mime4j@170888",
464     "src/third_party/findbugs":
465       "/trunk/deps/third_party/findbugs@163586",
467     "src/third_party/freetype":
468       Var("chromium_git") + "/chromium/src/third_party/freetype.git" +
469       "@e3b631da8034f7c6ecc6d809cd9e46d306215c32",
471     "src/third_party/guava/src":
472       Var("chromium_git") + "/external/guava-libraries.git" +
473       "@c523556ab7d0f05afadebd20e7768d4c16af8771",
475     "src/third_party/httpcomponents-client":
476       "/trunk/deps/third_party/httpcomponents-client@170888",
478     "src/third_party/httpcomponents-core":
479       "/trunk/deps/third_party/httpcomponents-core@170888",
481     "src/third_party/jarjar":
482       "/trunk/deps/third_party/jarjar@170888",
484     "src/third_party/jsr-305/src":
485       (Var("googlecode_url") % "jsr-305") + "/trunk@51",
487     "src/third_party/lss":
488       ((Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@" +
489        Var("lss_revision")),
491     "src/third_party/openssl":
492       "/trunk/deps/third_party/openssl@" + Var("openssl_revision"),
494     "src/third_party/eyesfree/src/android/java/src/com/googlecode/eyesfree/braille":
495       (Var("googlecode_url") % "eyes-free") + "/trunk/braille/client/src/com/googlecode/eyesfree/braille@797",
496   },
500 include_rules = [
501   # Everybody can use some things.
502   "+base",
503   "+build",
504   "+ipc",
506   # Everybody can use headers generated by tools/generate_library_loader.
507   "+library_loaders",
509   "+testing",
510   "+third_party/icu/source/common/unicode",
511   "+third_party/icu/source/i18n/unicode",
512   "+url",
516 # checkdeps.py shouldn't check include paths for files in these dirs:
517 skip_child_includes = [
518   "breakpad",
519   "chrome_frame",
520   "delegate_execute",
521   "metro_driver",
522   "native_client_sdk",
523   "o3d",
524   "pdf",
525   "sdch",
526   "skia",
527   "testing",
528   "third_party",
529   "v8",
530   "win8",
534 hooks = [
535   {
536     # This downloads binaries for Native Client's newlib toolchain.
537     # Done in lieu of building the toolchain from scratch as it can take
538     # anywhere from 30 minutes to 4 hours depending on platform to build.
539     "name": "nacltools",
540     "pattern": ".",
541     "action": [
542         "python", "src/build/download_nacl_toolchains.py",
543          "--no-arm-trusted",
544          "--keep",
545     ],
546   },
547   {
548     # Downloads an ARM sysroot image to src/arm-sysroot. This image updates
549     # at about the same rate that the chrome build deps change.
550     # This script is a no-op except for linux users who have
551     # target_arch=arm in their GYP_DEFINES.
552     "name": "sysroot",
553     "pattern": ".",
554     "action": ["python", "src/build/linux/install-arm-sysroot.py",
555                "--linux-only"],
556   },
557   {
558     # Downloads the Debian Wheezy sysroot to chrome/installer/linux if needed.
559     # This sysroot updates at about the same rate that the chrome build deps
560     # change. This script is a no-op except for linux users who are doing
561     # official chrome builds.
562     "name": "sysroot",
563     "pattern": ".",
564     "action": [
565         "python",
566         "src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py",
567         "--linux-only",
568         "--arch=amd64"],
569   },
570   {
571     # Same as above, but for 32-bit Linux.
572     "name": "sysroot",
573     "pattern": ".",
574     "action": [
575         "python",
576         "src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py",
577         "--linux-only",
578         "--arch=i386"],
579   },
580   {
581     # Pull clang on mac. If nothing changed, or on non-mac platforms, this takes
582     # zero seconds to run. If something changed, it downloads a prebuilt clang,
583     # which takes ~20s, but clang speeds up builds by more than 20s.
584     "name": "clang",
585     "pattern": ".",
586     "action": ["python", "src/tools/clang/scripts/update.py", "--mac-only"],
587   },
588   {
589     # Update the cygwin mount on Windows.
590     "name": "cygwin",
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     "name": "lastchange",
598     "pattern": ".",
599     "action": ["python", "src/build/util/lastchange.py",
600                "-o", "src/build/util/LASTCHANGE"],
601   },
602   {
603     # Update LASTCHANGE.blink. This is also run by export_tarball.py in
604     # src/tools/export_tarball - please keep them in sync.
605     "name": "lastchange",
606     "pattern": ".",
607     "action": ["python", "src/build/util/lastchange.py",
608                "-s", "src/third_party/WebKit",
609                "-o", "src/build/util/LASTCHANGE.blink"],
610   },
611   {
612     # A change to a .gyp, .gypi, or to GYP itself should run the generator.
613     "name": "gyp",
614     "pattern": ".",
615     "action": ["python", "src/build/gyp_chromium"],
616   },
617   {
618     # Check for landmines (reasons to clobber the build).
619     "name": "landmines",
620     "pattern": ".",
621     "action": ["python", "src/build/landmines.py"],
622   },