Fix test disabling for ProcessUtilTest.GetAppOutputRestricted
[chromium-blink-merge.git] / DEPS
blobaf4fd8f94b1e7c655e5a342e8a63466aa13ed72f
1 # This file is automatically processed to create .DEPS.git which is the file
2 # that gclient uses under git.
4 # See http://code.google.com/p/chromium/wiki/UsingGit
6 # To test manually, run:
7 #   python tools/deps2git/deps2git.py -o .DEPS.git -w <gclientdir>
8 # where <gcliendir> is the absolute path to the directory containing the
9 # .gclient file (the parent of "src").
11 # Then commit .DEPS.git locally (gclient doesn't like dirty trees) and run
12 #   gclient sync
13 # Verify the thing happened you wanted. Then revert your .DEPS.git change
14 # DO NOT CHECK IN CHANGES TO .DEPS.git upstream. It will be automatically
15 # updated by a bot when you modify this one.
17 # When adding a new dependency, please update the top-level .gitignore file
18 # to list the dependency's destination directory.
20 vars = {
21   # Use this googlecode_url variable only if there is an internal mirror for it.
22   # If you do not know, use the full path while defining your new deps entry.
23   "googlecode_url": "http://%s.googlecode.com/svn",
24   "sourceforge_url": "http://svn.code.sf.net/p/%(repo)s/code",
25   "llvm_url": "http://src.chromium.org/llvm-project",
26   "llvm_git": "https://llvm.googlesource.com",
27   "libcxx_revision": "206024",
28   "libcxxabi_revision": "206024",
29   "webkit_trunk": "http://src.chromium.org/blink/trunk",
30   "nacl_trunk": "http://src.chromium.org/native_client/trunk",
31   "webkit_revision": "174434",
32   "chromium_git": "https://chromium.googlesource.com",
33   "chromiumos_git": "https://chromium.googlesource.com/chromiumos",
34   "pdfium_git": "https://pdfium.googlesource.com",
35   "skia_git": "https://skia.googlesource.com",
36   "swig_revision": "230490",
37   "nacl_revision": "13216",
38   # After changing nacl_revision, run 'glient sync' and check native_client/DEPS
39   # to update other nacl_*_revision's.
40   "nacl_tools_revision": "13077",  # native_client/DEPS: tools_rev
41   "google_toolbox_for_mac_revision": "662",
42   "libaddressinput_revision": "176",
43   "libphonenumber_revision": "621",
44   "libvpx_revision": "269083",
45   "lss_revision": "26",
46   "sfntly_revision": "228",
47   "lighttpd_revision": "33737",
48   "skia_revision": "14827",
49   "skia_hash": "24f6e29fc133f1082c73e2a96f30bee92e3123aa",
50   # Three lines of non-changing comments so that
51   # the commit queue can handle CLs rolling Skia
52   # and V8 without interference from each other.
53   "v8_branch": "trunk",
54   "v8_revision": "21406",
55   # Three lines of non-changing comments so that
56   # the commit queue can handle CLs rolling WebRTC
57   # and V8 without interference from each other.
58   "webrtc_revision": "6189",
59   "jsoncpp_revision": "248",
60   "nss_revision": "271557",
61   # Three lines of non-changing comments so that
62   # the commit queue can handle CLs rolling swarming_client
63   # and whatever else without interference from each other.
64   "swarming_revision": "ae8085b09e6162b4ec869e430d7d09c16b32b433",
65   # Three lines of non-changing comments so that
66   # the commit queue can handle CLs rolling openssl
67   # and whatever else without interference from each other.
68   "openssl_revision": "271781",
69   # Three lines of non-changing comments so that
70   # the commit queue can handle CLs rolling ANGLE
71   # and whatever else without interference from each other.
72   "angle_revision": "28bcf4ffeb49322fa019e2778c1fdd20f61d9ea6",
73   # Three lines of non-changing comments so that
74   # the commit queue can handle CLs rolling build tools
75   # and whatever else without interference from each other.
76   "buildtools_revision": "8349035e86305fc9e4fd871610821336120a4bad",
77   # Three lines of non-changing comments so that
78   # the commit queue can handle CLs rolling PDFIum
79   # and whatever else without interference from each other.
80   "pdfium_revision": "951f241bcf22f0095abe2f109adfdd9c19e76d70",
83 deps = {
84   "src/breakpad/src":
85     (Var("googlecode_url") % "google-breakpad") + "/trunk/src@1331",
87   "src/buildtools":
88     Var("chromium_git") + "/chromium/buildtools.git@" +
89      Var("buildtools_revision"),
91   "src/sdch/open-vcdiff":
92     (Var("googlecode_url") % "open-vcdiff") + "/trunk@42",
94   "src/testing/gtest":
95     (Var("googlecode_url") % "googletest") + "/trunk@643",
97   "src/testing/gmock":
98     (Var("googlecode_url") % "googlemock") + "/trunk@410",
100   "src/third_party/angle":
101     Var("chromium_git") + "/angle/angle.git@" + Var("angle_revision"),
103   "src/third_party/trace-viewer":
104     (Var("googlecode_url") % "trace-viewer") + "/trunk@1267",
106   "src/third_party/WebKit":
107     Var("webkit_trunk") + "@" + Var("webkit_revision"),
109   "src/third_party/WebKit/LayoutTests/w3c/web-platform-tests":
110     Var("chromium_git") +
111     "/external/w3c/web-platform-tests.git@6bed4516fe8522d65512c76ef02e4f0ae8234395",
113   "src/third_party/WebKit/LayoutTests/w3c/csswg-test":
114     Var("chromium_git") +
115     "/external/w3c/csswg-test.git@bacbb4a8dca702cd86646761fde96793db13d4f1",
117   "src/third_party/icu":
118     "/trunk/deps/third_party/icu46@262949",
120   "src/third_party/libexif/sources":
121     "/trunk/deps/third_party/libexif/sources@265008",
123   "src/third_party/hunspell":
124    "/trunk/deps/third_party/hunspell@256272",
126   "src/third_party/hunspell_dictionaries":
127     "/trunk/deps/third_party/hunspell_dictionaries@255132",
129   "src/third_party/safe_browsing/testing":
130     (Var("googlecode_url") % "google-safe-browsing") + "/trunk/testing@112",
132   "src/third_party/cacheinvalidation/src":
133     (Var("googlecode_url") % "google-cache-invalidation-api") +
134     "/trunk/src@331",
136   "src/third_party/leveldatabase/src":
137     (Var("googlecode_url") % "leveldb") + "/trunk@80",
139   "src/third_party/libc++/trunk":
140     Var("llvm_url") + "/libcxx/trunk@" + Var("libcxx_revision"),
142   "src/third_party/libc++abi/trunk":
143     Var("llvm_url") + "/libcxxabi/trunk@" + Var("libcxxabi_revision"),
145   "src/third_party/snappy/src":
146     (Var("googlecode_url") % "snappy") + "/trunk@80",
148   "src/tools/grit":
149     (Var("googlecode_url") % "grit-i18n") + "/trunk@167",
151   "src/tools/gyp":
152     (Var("googlecode_url") % "gyp") + "/trunk@1921",
154   "src/tools/swarming_client":
155     Var("chromium_git") + "/external/swarming.client.git@" +
156         Var("swarming_revision"),
158   "src/v8":
159     (Var("googlecode_url") % "v8") + "/" + Var("v8_branch") + "@" +
160     Var("v8_revision"),
162   "src/native_client":
163     Var("nacl_trunk") + "/src/native_client@" + Var("nacl_revision"),
165   "src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin":
166     Var("nacl_trunk") + "/src/native_client/tests/prebuilt@" +
167     Var("nacl_revision"),
169   "src/third_party/sfntly/cpp/src":
170     (Var("googlecode_url") % "sfntly") + "/trunk/cpp/src@" +
171     Var("sfntly_revision"),
173   "src/third_party/skia/src":
174     (Var("googlecode_url") % "skia") + "/trunk/src@" + Var("skia_revision"),
176   "src/third_party/skia/gyp":
177     (Var("googlecode_url") % "skia") + "/trunk/gyp@" + Var("skia_revision"),
179   "src/third_party/skia/include":
180     (Var("googlecode_url") % "skia") + "/trunk/include@" + Var("skia_revision"),
182   "src/third_party/ots":
183     (Var("googlecode_url") % "ots") + "/trunk@113",
185   "src/third_party/brotli/src":
186     Var("chromium_git") +
187     "/external/font-compression-reference.git@0829e37293abc2523a1d2b0f4d68ff7b5fcd8e01",
189   "src/tools/page_cycler/acid3":
190     "/trunk/deps/page_cycler/acid3@171600",
192   "src/chrome/test/data/perf/canvas_bench":
193     "/trunk/deps/canvas_bench@122605",
195   "src/chrome/test/data/perf/frame_rate/content":
196     "/trunk/deps/frame_rate/content@93671",
198   "src/chrome/test/data/perf/third_party/octane":
199     (Var("googlecode_url") % "octane-benchmark") + "/trunk@19",
201   "src/third_party/bidichecker":
202     (Var("googlecode_url") % "bidichecker") + "/trunk/lib@4",
204   "src/third_party/webgl/src":
205     Var("chromium_git") +
206     "/external/khronosgroup/webgl.git@0475a2763fc30cbed22740f8a9ef53a82f03b4ac",
208   "src/third_party/swig/Lib":
209     "/trunk/deps/third_party/swig/Lib@" + Var("swig_revision"),
211   # Make sure you update the two functional.DEPS and webdriver.DEPS too.
212   "src/third_party/webdriver/pylib":
213     (Var("googlecode_url") % "selenium") + "/trunk/py@18337",
215   "src/third_party/libvpx":
216     "/trunk/deps/third_party/libvpx@" +
217     Var("libvpx_revision"),
219   "src/third_party/ffmpeg":
220     Var("chromium_git") +
221     "/chromium/third_party/ffmpeg.git@d3a060bd1d6a4f43e9bc7d07f193b0513df4f244",
223   "src/third_party/libjingle/source/talk":
224     (Var("googlecode_url") % "webrtc") + "/trunk/talk@" +
225     Var("webrtc_revision"),
227   "src/third_party/usrsctp/usrsctplib":
228     (Var("googlecode_url") % "sctp-refimpl") +
229     "/trunk/KERN/usrsctp/usrsctplib@8844",
231   "src/third_party/libsrtp":
232     "/trunk/deps/third_party/libsrtp@261337",
234   "src/third_party/speex":
235     "/trunk/deps/third_party/speex@198168",
237   "src/third_party/yasm/source/patched-yasm":
238     "/trunk/deps/third_party/yasm/patched-yasm@167605",
240   "src/third_party/libjpeg_turbo":
241     "/trunk/deps/third_party/libjpeg_turbo@263594",
243   "src/third_party/flac":
244     "/trunk/deps/third_party/flac@222897",
246   "src/third_party/pyftpdlib/src":
247     (Var("googlecode_url") % "pyftpdlib") + "/trunk@977",
249   "src/third_party/scons-2.0.1":
250     Var("nacl_trunk") + "/src/third_party/scons-2.0.1@" +
251         Var("nacl_tools_revision"),
253   "src/third_party/webrtc":
254     (Var("googlecode_url") % "webrtc") + "/trunk/webrtc@" + Var("webrtc_revision"),
256   "src/third_party/openmax_dl":
257     (Var("googlecode_url") % "webrtc") + "/deps/third_party/openmax@6024",
259   "src/third_party/jsoncpp/source/include":
260     (Var("sourceforge_url") % {"repo": "jsoncpp"}) +
261         "/trunk/jsoncpp/include@" + Var("jsoncpp_revision"),
263   "src/third_party/jsoncpp/source/src/lib_json":
264     (Var("sourceforge_url") % {"repo": "jsoncpp"}) +
265         "/trunk/jsoncpp/src/lib_json@" + Var("jsoncpp_revision"),
267   "src/third_party/libyuv":
268     (Var("googlecode_url") % "libyuv") + "/trunk@1000",
270   "src/third_party/smhasher/src":
271     (Var("googlecode_url") % "smhasher") + "/trunk@152",
273   "src/third_party/libaddressinput/src/cpp":
274     (Var("googlecode_url") % "libaddressinput") + "/trunk/cpp@" +
275         Var("libaddressinput_revision"),
276   "src/third_party/libaddressinput/src/testdata":
277     (Var("googlecode_url") % "libaddressinput") + "/trunk/testdata@" +
278         Var("libaddressinput_revision"),
280   "src/third_party/libphonenumber/src/phonenumbers":
281     (Var("googlecode_url") % "libphonenumber") +
282         "/trunk/cpp/src/phonenumbers@" + Var("libphonenumber_revision"),
283   "src/third_party/libphonenumber/src/test":
284     (Var("googlecode_url") % "libphonenumber") + "/trunk/cpp/test@" +
285         Var("libphonenumber_revision"),
286   "src/third_party/libphonenumber/src/resources":
287     (Var("googlecode_url") % "libphonenumber") + "/trunk/resources@" +
288         Var("libphonenumber_revision"),
290   "src/tools/deps2git":
291     "/trunk/tools/deps2git@270777",
293   "src/third_party/clang_format/script":
294     Var("llvm_url") + "/cfe/trunk/tools/clang-format@206068",
296   "src/third_party/webpagereplay":
297     Var("chromium_git") + "/external/web-page-replay.git@" +
298     "4edb10429743bf53ef58ec9440e8034ae5f93ff5",
300   "src/third_party/pywebsocket/src":
301     (Var("googlecode_url") % "pywebsocket") + "/trunk/src@790",
303   "src/third_party/opus/src":
304     "/trunk/deps/third_party/opus@256783",
306   "src/media/cdm/ppapi/api":
307     "/trunk/deps/cdm@262570",
309   "src/third_party/mesa/src":
310     "/trunk/deps/third_party/mesa@265279",
312   "src/third_party/cld_2/src":
313     (Var("googlecode_url") % "cld2") + "/trunk@161",
315   "src/chrome/browser/resources/pdf/html_office":
316      Var("chromium_git") +
317          "/chromium/html-office-public.git@eeff97614f65e0578529490d44d412032c3d7359",
319   "src/third_party/libwebm/source":
320     Var("chromium_git") +
321       "/webm/libwebm.git@fb6b6e64444c637f27d103fd113e0c7bf4f107dd",
323   "src/third_party/openssl":
324     "/trunk/deps/third_party/openssl@" + Var("openssl_revision"),
326   "src/third_party/pdfium":
327     Var("pdfium_git") + "/pdfium.git@" + Var("pdfium_revision"),
331 deps_os = {
332   "win": {
333     "src/chrome/tools/test/reference_build/chrome_win":
334       "/trunk/deps/reference_builds/chrome_win@254637",
336     "src/third_party/cygwin":
337       "/trunk/deps/third_party/cygwin@231940",
339     "src/third_party/psyco_win32":
340       "/trunk/deps/third_party/psyco_win32@237949",
342     "src/third_party/bison":
343       "/trunk/deps/third_party/bison@147303",
345     "src/third_party/gperf":
346       "/trunk/deps/third_party/gperf@147304",
348     "src/third_party/perl":
349       "/trunk/deps/third_party/perl@147900",
351     "src/third_party/lighttpd":
352       "/trunk/deps/third_party/lighttpd@" + Var("lighttpd_revision"),
354     # Parses Windows PE/COFF executable format.
355     "src/third_party/pefile":
356       (Var("googlecode_url") % "pefile") + "/trunk@63",
358     # NSS, for SSLClientSocketNSS.
359     "src/third_party/nss":
360       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
362     "src/third_party/swig/win":
363       "/trunk/deps/third_party/swig/win@" + Var("swig_revision"),
365     # GNU binutils assembler for x86-32.
366     "src/third_party/gnu_binutils":
367       (Var("nacl_trunk") + "/deps/third_party/gnu_binutils@" +
368        Var("nacl_tools_revision")),
369     # GNU binutils assembler for x86-64.
370     "src/third_party/mingw-w64/mingw/bin":
371       (Var("nacl_trunk") + "/deps/third_party/mingw-w64/mingw/bin@" +
372        Var("nacl_tools_revision")),
374     # Dependencies used by libjpeg-turbo
375     "src/third_party/yasm/binaries":
376       "/trunk/deps/third_party/yasm/binaries@154708",
378     # Binary level profile guided optimizations. This points to the
379     # latest release binaries for the toolchain.
380     "src/third_party/syzygy/binaries":
381       (Var("googlecode_url") % "sawbuck") + "/trunk/syzygy/binaries@2154",
383     # Binaries for nacl sdk.
384     "src/third_party/nacl_sdk_binaries":
385       "/trunk/deps/third_party/nacl_sdk_binaries@111576",
386   },
387   "ios": {
388     "src/third_party/google_toolbox_for_mac/src":
389       (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@" +
390       Var("google_toolbox_for_mac_revision"),
392     "src/third_party/nss":
393       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
395     # class-dump utility to generate header files for undocumented SDKs
396     "src/testing/iossim/third_party/class-dump":
397       "/trunk/deps/third_party/class-dump@199203",
399     # Code that's not needed due to not building everything
400     "src/build/util/support": None,
401     "src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin": None,
402     "src/chrome/test/data/perf/canvas_bench": None,
403     "src/chrome/test/data/perf/frame_rate/content": None,
404     "src/chrome/test/data/perf/third_party/octane": None,
405     "src/media/cdm/ppapi/api": None,
406     "src/native_client": None,
407     "src/native_client/src/third_party/ppapi": None,
408     "src/third_party/angle": None,
409     "src/third_party/bidichecker": None,
410     "src/third_party/brotli/src": None,
411     "src/third_party/cld_2/src": None,
412     "src/third_party/ffmpeg": None,
413     "src/third_party/hunspell_dictionaries": None,
414     "src/third_party/hunspell": None,
415     "src/third_party/libaddressinput/src/cpp": None,
416     "src/third_party/libaddressinput/src/testdata": None,
417     "src/third_party/libc++/trunk": None,
418     "src/third_party/libc++abi/trunk": None,
419     "src/third_party/libexif/sources": None,
420     "src/third_party/libjpeg_turbo": None,
421     "src/third_party/libsrtp": None,
422     "src/third_party/libvpx": None,
423     "src/third_party/libyuv": None,
424     "src/third_party/mesa/src": None,
425     "src/third_party/opus/src": None,
426     "src/third_party/openmax_dl": None,
427     "src/third_party/ots": None,
428     "src/third_party/pymox/src": None,
429     "src/third_party/safe_browsing/testing": None,
430     "src/third_party/scons-2.0.1": None,
431     "src/third_party/sfntly/cpp/src": None,
432     "src/third_party/speex": None,
433     "src/third_party/swig/Lib": None,
434     "src/third_party/usrsctp/usrsctplib": None,
435     "src/third_party/v8-i18n": None,
436     "src/third_party/webdriver/pylib": None,
437     "src/third_party/webgl": None,
438     "src/third_party/webpagereplay": None,
439     "src/third_party/webrtc": None,
440     "src/third_party/WebKit/LayoutTests/w3c/web-platform-tests": None,
441     "src/third_party/WebKit/LayoutTests/w3c/csswg-test": None,
442     "src/third_party/yasm/source/patched-yasm": None,
443     "src/tools/page_cycler/acid3": None,
444     "src/v8": None,
445   },
446   "mac": {
447     "src/chrome/tools/test/reference_build/chrome_mac":
448       "/trunk/deps/reference_builds/chrome_mac@255182",
450     "src/third_party/google_toolbox_for_mac/src":
451       (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@" +
452       Var("google_toolbox_for_mac_revision"),
454     "src/third_party/pdfsqueeze":
455       (Var("googlecode_url") % "pdfsqueeze") + "/trunk@5",
457     "src/third_party/lighttpd":
458       "/trunk/deps/third_party/lighttpd@" + Var("lighttpd_revision"),
460     "src/third_party/swig/mac":
461       "/trunk/deps/third_party/swig/mac@" + Var("swig_revision"),
463     # NSS, for SSLClientSocketNSS.
464     "src/third_party/nss":
465       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
467     "src/chrome/installer/mac/third_party/xz/xz":
468       "/trunk/deps/third_party/xz@233311",
469   },
470   "unix": {
471     # Linux, really.
472     "src/chrome/tools/test/reference_build/chrome_linux":
473       "/trunk/deps/reference_builds/chrome_linux64@254637",
475     "src/third_party/xdg-utils":
476       "/trunk/deps/third_party/xdg-utils@203785",
478     "src/third_party/swig/linux":
479       "/trunk/deps/third_party/swig/linux@" + Var("swig_revision"),
481     "src/third_party/lss":
482       ((Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@" +
483        Var("lss_revision")),
485     # For Linux and Chromium OS.
486     "src/third_party/cros_system_api":
487       Var("chromiumos_git") + "/platform/system_api.git" +
488       "@7837af4f429eb20ca62f32a8dc6019b5b8b9078e",
490     # Note that this is different from Android's freetype repo.
491     "src/third_party/freetype2/src":
492       Var("chromium_git") + "/chromium/src/third_party/freetype2.git" +
493       "@d699c2994ecc178c4ed05ac2086061b2034c2178",
495     # Build tools for targeting ChromeOS.
496     "src/third_party/chromite":
497       Var("chromiumos_git") + "/chromite.git" +
498       "@b310410e13e34af7d3f3f15be98688b016f2222f",
500     # Dependency of chromite.git.
501     "src/third_party/pyelftools":
502       Var("chromiumos_git") + "/third_party/pyelftools.git" +
503       "@bdc1d380acd88d4bfaf47265008091483b0d614e",
505     "src/third_party/undoview":
506       "/trunk/deps/third_party/undoview@119694",
508     "src/third_party/liblouis/src":
509       Var("chromium_git") +
510       "/external/liblouis.git@3c2daee56250162e5a75830871601d74328d39f5",
512     # Used for embedded builds. CrOS & Linux use the system version.
513     "src/third_party/fontconfig/src":
514       Var("chromium_git") + "/external/fontconfig.git" +
515       "@f16c3118e25546c1b749f9823c51827a60aeb5c1",
516   },
517   "android": {
518     "src/third_party/android_tools":
519       Var("chromium_git") + "/android_tools.git" +
520       "@7de460f062350105c3eb284cdc6948ff50e1f6e1",
522     "src/third_party/aosp":
523       "/trunk/deps/third_party/aosp@148330",
525     "src/third_party/apache-mime4j":
526       "/trunk/deps/third_party/apache-mime4j@170888",
528     "src/third_party/findbugs":
529       "/trunk/deps/third_party/findbugs@245039",
531     "src/third_party/freetype":
532       Var("chromium_git") + "/chromium/src/third_party/freetype.git" +
533       "@a2b9955b49034a51dfbc8bf9f4e9d312149cecac",
535     "src/third_party/guava/src":
536       Var("chromium_git") + "/external/guava-libraries.git" +
537       "@c523556ab7d0f05afadebd20e7768d4c16af8771",
539    "src/third_party/elfutils/src":
540       Var("chromium_git") + "/external/elfutils.git" +
541       "@43a97297be82feab4b3176a094ed701ad3ccb308",
543     "src/third_party/httpcomponents-client":
544       "/trunk/deps/third_party/httpcomponents-client@170888",
546     "src/third_party/httpcomponents-core":
547       "/trunk/deps/third_party/httpcomponents-core@170888",
549     "src/third_party/jarjar":
550       "/trunk/deps/third_party/jarjar@170888",
552     "src/third_party/jsr-305/src":
553       (Var("googlecode_url") % "jsr-305") + "/trunk@51",
555     "src/third_party/lss":
556       ((Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@" +
557        Var("lss_revision")),
559     "src/third_party/eyesfree/src/android/java/src/com/googlecode/eyesfree/braille":
560       (Var("googlecode_url") % "eyes-free") + "/trunk/braille/client/src/com/googlecode/eyesfree/braille@797",
562     # Android shouldn't use this address validation library.
563     "src/third_party/libaddressinput/src/cpp": None,
564     "src/third_party/libaddressinput/src/testdata": None,
565   },
569 include_rules = [
570   # Everybody can use some things.
571   "+base",
572   "+build",
573   "+ipc",
575   # Everybody can use headers generated by tools/generate_library_loader.
576   "+library_loaders",
578   "+testing",
579   "+third_party/icu/source/common/unicode",
580   "+third_party/icu/source/i18n/unicode",
581   "+url",
585 # checkdeps.py shouldn't check include paths for files in these dirs:
586 skip_child_includes = [
587   "breakpad",
588   "delegate_execute",
589   "metro_driver",
590   "native_client_sdk",
591   "o3d",
592   "pdf",
593   "sdch",
594   "skia",
595   "testing",
596   "third_party",
597   "v8",
598   "win8",
602 hooks = [
603   {
604     # This downloads binaries for Native Client's newlib toolchain.
605     # Done in lieu of building the toolchain from scratch as it can take
606     # anywhere from 30 minutes to 4 hours depending on platform to build.
607     "name": "nacltools",
608     "pattern": ".",
609     "action": [
610         "python", "src/build/download_nacl_toolchains.py",
611         "--exclude", "arm_trusted",
612     ],
613   },
614   {
615     # Downloads an ARM sysroot image to src/arm-sysroot. This image updates
616     # at about the same rate that the chrome build deps change.
617     # This script is a no-op except for linux users who have
618     # target_arch=arm in their GYP_DEFINES.
619     "name": "sysroot",
620     "pattern": ".",
621     "action": ["python", "src/build/linux/install-arm-sysroot.py",
622                "--linux-only"],
623   },
624   {
625     # Downloads the Debian Wheezy sysroot to chrome/installer/linux if needed.
626     # This sysroot updates at about the same rate that the chrome build deps
627     # change. This script is a no-op except for linux users who are doing
628     # official chrome builds.
629     "name": "sysroot",
630     "pattern": ".",
631     "action": [
632         "python",
633         "src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py",
634         "--linux-only",
635         "--arch=amd64"],
636   },
637   {
638     # Same as above, but for 32-bit Linux.
639     "name": "sysroot",
640     "pattern": ".",
641     "action": [
642         "python",
643         "src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py",
644         "--linux-only",
645         "--arch=i386"],
646   },
647   {
648     # Pull clang if on Mac or clang is requested via GYP_DEFINES.
649     "name": "clang",
650     "pattern": ".",
651     "action": ["python", "src/tools/clang/scripts/update.py", "--if-needed"],
652   },
653   {
654     # Update the Windows toolchain if necessary.
655     "name": "win_toolchain",
656     "pattern": ".",
657     "action": ["python", "src/build/vs_toolchain.py", "update"],
658   },
659   {
660     # Update LASTCHANGE. This is also run by export_tarball.py in
661     # src/tools/export_tarball - please keep them in sync.
662     "name": "lastchange",
663     "pattern": ".",
664     "action": ["python", "src/build/util/lastchange.py",
665                "-o", "src/build/util/LASTCHANGE"],
666   },
667   {
668     # Update LASTCHANGE.blink. This is also run by export_tarball.py in
669     # src/tools/export_tarball - please keep them in sync.
670     "name": "lastchange",
671     "pattern": ".",
672     "action": ["python", "src/build/util/lastchange.py",
673                "-s", "src/third_party/WebKit",
674                "-o", "src/build/util/LASTCHANGE.blink"],
675   },
676   # Pull GN binaries. This needs to be before running GYP below.
677   {
678     "name": "gn_win",
679     "pattern": ".",
680     "action": [ "download_from_google_storage",
681                 "--no_resume",
682                 "--platform=win32",
683                 "--no_auth",
684                 "--bucket", "chromium-gn",
685                 "-s", "src/tools/gn/bin/win/gn.exe.sha1",
686     ],
687   },
688   {
689     "name": "gn_mac",
690     "pattern": ".",
691     "action": [ "download_from_google_storage",
692                 "--no_resume",
693                 "--platform=darwin",
694                 "--no_auth",
695                 "--bucket", "chromium-gn",
696                 "-s", "src/tools/gn/bin/mac/gn.sha1",
697     ],
698   },
699   {
700     "name": "gn_linux",
701     "pattern": ".",
702     "action": [ "download_from_google_storage",
703                 "--no_resume",
704                 "--platform=linux*",
705                 "--no_auth",
706                 "--bucket", "chromium-gn",
707                 "-s", "src/tools/gn/bin/linux/gn.sha1",
708     ],
709   },
710   {
711     "name": "gn_linux32",
712     "pattern": ".",
713     "action": [ "download_from_google_storage",
714                 "--no_resume",
715                 "--platform=linux*",
716                 "--no_auth",
717                 "--bucket", "chromium-gn",
718                 "-s", "src/tools/gn/bin/linux/gn32.sha1",
719     ],
720   },
721   # Pull clang-format binaries using checked-in hashes.
722   {
723     "name": "clang_format_win",
724     "pattern": ".",
725     "action": [ "download_from_google_storage",
726                 "--no_resume",
727                 "--platform=win32",
728                 "--no_auth",
729                 "--bucket", "chromium-clang-format",
730                 "-s", "src/third_party/clang_format/bin/win/clang-format.exe.sha1",
731     ],
732   },
733   {
734     "name": "clang_format_mac",
735     "pattern": ".",
736     "action": [ "download_from_google_storage",
737                 "--no_resume",
738                 "--platform=darwin",
739                 "--no_auth",
740                 "--bucket", "chromium-clang-format",
741                 "-s", "src/third_party/clang_format/bin/mac/clang-format.sha1",
742     ],
743   },
744   {
745     "name": "clang_format_linux",
746     "pattern": ".",
747     "action": [ "download_from_google_storage",
748                 "--no_resume",
749                 "--platform=linux*",
750                 "--no_auth",
751                 "--bucket", "chromium-clang-format",
752                 "-s", "src/third_party/clang_format/bin/linux/clang-format.sha1",
753     ],
754   },
755   # Pull binutils for linux, enabled debug fission for faster linking /
756   # debugging when used with clang on Ubuntu Precise.
757   # https://code.google.com/p/chromium/issues/detail?id=352046
758   {
759     "name": "binutils",
760     "pattern": "src/third_party/binutils",
761     "action": [
762         "python",
763         "src/third_party/binutils/download.py",
764     ],
765   },
766   # Pull eu-strip binaries using checked-in hashes.
767   {
768     "name": "eu-strip",
769     "pattern": ".",
770     "action": [ "download_from_google_storage",
771                 "--no_resume",
772                 "--platform=linux*",
773                 "--no_auth",
774                 "--bucket", "chromium-eu-strip",
775                 "-s", "src/build/linux/bin/eu-strip.sha1",
776     ],
777   },
778   {
779     # A change to a .gyp, .gypi, or to GYP itself should run the generator.
780     "name": "gyp",
781     "pattern": ".",
782     "action": ["python", "src/build/gyp_chromium"],
783   },