Upstream version 6.34.115.0
[platform/framework/web/crosswalk.git] / src / DEPS
1 # This file is automatically processed to create .DEPS.git which is the file
2 # that gclient uses under git.
3 #
4 # See http://code.google.com/p/chromium/wiki/UsingGit
5 #
6 # To test manually, run:
7 #   python tools/deps2git/deps2git.py -o .DEPS.git
8 #   gclient runhooks
9 # DO NOT CHECK IN CHANGES TO .DEPS.git. It will be automatically updated by
10 # a bot when you modify this one.
11 #
12 # When adding a new dependency, please update the top-level .gitignore file
13 # to list the dependency's destination directory.
14
15 vars = {
16   # Use this googlecode_url variable only if there is an internal mirror for it.
17   # If you do not know, use the full path while defining your new deps entry.
18   "googlecode_url": "http://%s.googlecode.com/svn",
19   "sourceforge_url": "http://svn.code.sf.net/p/%(repo)s/code",
20   "llvm_url": "http://src.chromium.org/llvm-project",
21   "llvm_git": "https://llvm.googlesource.com",
22   "libcxx_revision": "8f48c23568a122de6088455700e9d197b79bd8f8",
23   "libcxxabi_revision": "753a30dd68ae008948d48f16bc942d5963fe65a1",
24   "webkit_trunk": "http://src.chromium.org/blink/trunk",
25   "nacl_trunk": "http://src.chromium.org/native_client/trunk",
26   "webkit_revision": "167304",
27   "chromium_git": "https://chromium.googlesource.com",
28   "chromiumos_git": "https://chromium.googlesource.com/chromiumos",
29   "skia_git": "https://skia.googlesource.com",
30   "swig_revision": "230490",
31   "nacl_revision": "12773",
32   # After changing nacl_revision, run 'glient sync' and check native_client/DEPS
33   # to update other nacl_*_revision's.
34   "nacl_tools_revision": "12760",  # native_client/DEPS: tools_rev
35   "google_toolbox_for_mac_revision": "626",
36   "libaddressinput_revision": "176",
37   "libphonenumber_revision": "621",
38   "libvpx_revision": "251850",
39   "lss_revision": "24",
40
41   # These two FFmpeg variables must be updated together.  One is used for SVN
42   # checkouts and the other for Git checkouts.
43   "ffmpeg_revision": "249179",
44   "ffmpeg_hash": "4ae5e54f30f949e5485d70fa0eae85a0e75cb46c",
45
46   "sfntly_revision": "228",
47   "lighttpd_revision": "33737",
48   "skia_revision": "13441",
49   "skia_hash": "a7692a9ac6cb8a0bbe6bbdfc83f86014a7dc265e",
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_revision": "19215",
54   # Three lines of non-changing comments so that
55   # the commit queue can handle CLs rolling WebRTC
56   # and V8 without interference from each other.
57   "webrtc_revision": "5562",
58   "jsoncpp_revision": "248",
59   "nss_revision": "246067",
60   # Three lines of non-changing comments so that
61   # the commit queue can handle CLs rolling swarming_client
62   # and whatever else without interference from each other.
63   "swarming_revision": "5b47578a4c25b1447172c78bcfce8c1fc7a69839",
64   # Three lines of non-changing comments so that
65   # the commit queue can handle CLs rolling openssl
66   # and whatever else without interference from each other.
67   "openssl_revision": "250522",
68 }
69
70 deps = {
71   "src/breakpad/src":
72     (Var("googlecode_url") % "google-breakpad") + "/trunk/src@1271",
73
74   "src/sdch/open-vcdiff":
75     (Var("googlecode_url") % "open-vcdiff") + "/trunk@42",
76
77   "src/testing/gtest":
78     (Var("googlecode_url") % "googletest") + "/trunk@643",
79
80   "src/testing/gmock":
81     (Var("googlecode_url") % "googlemock") + "/trunk@410",
82
83   "src/third_party/angle":
84     Var("chromium_git") +
85     "/angle/angle.git@4df02c1ed5e97dd54576b06964b1da67ea30238e",
86
87   "src/third_party/trace-viewer":
88     (Var("googlecode_url") % "trace-viewer") + "/trunk@1133",
89
90   "src/third_party/WebKit":
91     Var("webkit_trunk") + "@" + Var("webkit_revision"),
92
93   "src/third_party/WebKit/LayoutTests/w3c/web-platform-tests":
94     Var("chromium_git") +
95     "/external/w3c/web-platform-tests.git@ac4322a338be82b3d8b722917d6d3d057c0a3f6a",
96
97   "src/third_party/WebKit/LayoutTests/w3c/csswg-test":
98     Var("chromium_git") +
99     "/external/w3c/csswg-test.git@8c415e3215a203fa3a22dbdd1799279fdf44c81e",
100
101   "src/third_party/icu":
102     "/trunk/deps/third_party/icu46@246118",
103
104   "src/third_party/libexif/sources":
105     "/trunk/deps/third_party/libexif/sources@146817",
106
107   "src/third_party/hunspell":
108    "/trunk/deps/third_party/hunspell@206172",
109
110   "src/third_party/hunspell_dictionaries":
111     "/trunk/deps/third_party/hunspell_dictionaries@193701",
112
113   "src/third_party/safe_browsing/testing":
114     (Var("googlecode_url") % "google-safe-browsing") + "/trunk/testing@112",
115
116   "src/third_party/cacheinvalidation/src":
117     (Var("googlecode_url") % "google-cache-invalidation-api") +
118     "/trunk/src@321",
119
120   "src/third_party/leveldatabase/src":
121     (Var("googlecode_url") % "leveldb") + "/trunk@79",
122
123   # TODO(thakis): Pull from svn instead, http://crbug.com/333071
124   "src/third_party/libc++/trunk":
125     Var("llvm_git") + "/libcxx.git@" + Var("libcxx_revision"),
126
127   # TODO(thakis): Pull from svn instead, http://crbug.com/333071
128   "src/third_party/libc++abi/trunk":
129     Var("llvm_git") + "/libcxxabi.git@" + Var("libcxxabi_revision"),
130
131   "src/third_party/snappy/src":
132     (Var("googlecode_url") % "snappy") + "/trunk@80",
133
134   "src/tools/grit":
135     (Var("googlecode_url") % "grit-i18n") + "/trunk@151",
136
137   "src/tools/gyp":
138     (Var("googlecode_url") % "gyp") + "/trunk@1854",
139
140   "src/tools/swarming_client":
141     Var("chromium_git") + "/external/swarming.client.git@" +
142         Var("swarming_revision"),
143
144   "src/v8":
145     (Var("googlecode_url") % "v8") + "/trunk@" + Var("v8_revision"),
146
147   "src/native_client":
148     Var("nacl_trunk") + "/src/native_client@" + Var("nacl_revision"),
149
150   "src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin":
151     Var("nacl_trunk") + "/src/native_client/tests/prebuilt@" +
152     Var("nacl_revision"),
153
154   "src/third_party/sfntly/cpp/src":
155     (Var("googlecode_url") % "sfntly") + "/trunk/cpp/src@" +
156     Var("sfntly_revision"),
157
158   "src/third_party/skia/src":
159     (Var("googlecode_url") % "skia") + "/trunk/src@" + Var("skia_revision"),
160
161   "src/third_party/skia/gyp":
162     (Var("googlecode_url") % "skia") + "/trunk/gyp@" + Var("skia_revision"),
163
164   "src/third_party/skia/include":
165     (Var("googlecode_url") % "skia") + "/trunk/include@" + Var("skia_revision"),
166
167   "src/third_party/ots":
168     (Var("googlecode_url") % "ots") + "/trunk@110",
169
170   "src/third_party/brotli/src":
171     Var("chromium_git") +
172     "/external/font-compression-reference.git@dfc5a9f2151a7c88914c236c7db8fa119fee249c",
173
174   "src/tools/page_cycler/acid3":
175     "/trunk/deps/page_cycler/acid3@171600",
176
177   "src/chrome/test/data/perf/canvas_bench":
178     "/trunk/deps/canvas_bench@122605",
179
180   "src/chrome/test/data/perf/frame_rate/content":
181     "/trunk/deps/frame_rate/content@93671",
182
183   "src/chrome/test/data/perf/third_party/octane":
184     (Var("googlecode_url") % "octane-benchmark") + "/trunk@19",
185
186   "src/third_party/bidichecker":
187     (Var("googlecode_url") % "bidichecker") + "/trunk/lib@4",
188
189   "src/third_party/webgl/src":
190     Var("chromium_git") +
191     "/external/khronosgroup/webgl.git@159f31dd34842c871032d97d360a9dce5153f585",
192
193   "src/third_party/swig/Lib":
194     "/trunk/deps/third_party/swig/Lib@" + Var("swig_revision"),
195
196   # Make sure you update the two functional.DEPS and webdriver.DEPS too.
197   "src/third_party/webdriver/pylib":
198     (Var("googlecode_url") % "selenium") + "/trunk/py@18337",
199
200   "src/third_party/libvpx":
201     "/trunk/deps/third_party/libvpx@" +
202     Var("libvpx_revision"),
203
204   "src/third_party/ffmpeg":
205     "/trunk/deps/third_party/ffmpeg@" +
206     Var("ffmpeg_revision"),
207
208   "src/third_party/libjingle/source/talk":
209     (Var("googlecode_url") % "webrtc") + "/trunk/talk@" +
210     Var("webrtc_revision"),
211
212   "src/third_party/usrsctp/usrsctplib":
213     (Var("googlecode_url") % "sctp-refimpl") +
214     "/trunk/KERN/usrsctp/usrsctplib@8723",
215
216   "src/third_party/libsrtp":
217     "/trunk/deps/third_party/libsrtp@250757",
218
219   "src/third_party/speex":
220     "/trunk/deps/third_party/speex@198168",
221
222   "src/third_party/yasm/source/patched-yasm":
223     "/trunk/deps/third_party/yasm/patched-yasm@167605",
224
225   "src/third_party/libjpeg_turbo":
226     "/trunk/deps/third_party/libjpeg_turbo@251747",
227
228   "src/third_party/flac":
229     "/trunk/deps/third_party/flac@222897",
230
231   "src/third_party/pyftpdlib/src":
232     (Var("googlecode_url") % "pyftpdlib") + "/trunk@977",
233
234   "src/third_party/scons-2.0.1":
235     Var("nacl_trunk") + "/src/third_party/scons-2.0.1@" +
236         Var("nacl_tools_revision"),
237
238   "src/third_party/webrtc":
239     (Var("googlecode_url") % "webrtc") + "/trunk/webrtc@" + Var("webrtc_revision"),
240
241   "src/third_party/openmax_dl":
242     (Var("googlecode_url") % "webrtc") + "/deps/third_party/openmax@5569",
243
244   "src/third_party/jsoncpp/source/include":
245     (Var("sourceforge_url") % {"repo": "jsoncpp"}) +
246         "/trunk/jsoncpp/include@" + Var("jsoncpp_revision"),
247
248   "src/third_party/jsoncpp/source/src/lib_json":
249     (Var("sourceforge_url") % {"repo": "jsoncpp"}) +
250         "/trunk/jsoncpp/src/lib_json@" + Var("jsoncpp_revision"),
251
252   "src/third_party/libyuv":
253     (Var("googlecode_url") % "libyuv") + "/trunk@979",
254
255   "src/third_party/smhasher/src":
256     (Var("googlecode_url") % "smhasher") + "/trunk@151",
257
258   "src/third_party/libaddressinput/src/cpp":
259     (Var("googlecode_url") % "libaddressinput") + "/trunk/cpp@" +
260         Var("libaddressinput_revision"),
261   "src/third_party/libaddressinput/src/testdata":
262     (Var("googlecode_url") % "libaddressinput") + "/trunk/testdata@" +
263         Var("libaddressinput_revision"),
264
265   "src/third_party/libphonenumber/src/phonenumbers":
266     (Var("googlecode_url") % "libphonenumber") +
267         "/trunk/cpp/src/phonenumbers@" + Var("libphonenumber_revision"),
268   "src/third_party/libphonenumber/src/test":
269     (Var("googlecode_url") % "libphonenumber") + "/trunk/cpp/test@" +
270         Var("libphonenumber_revision"),
271   "src/third_party/libphonenumber/src/resources":
272     (Var("googlecode_url") % "libphonenumber") + "/trunk/resources@" +
273         Var("libphonenumber_revision"),
274
275   "src/tools/deps2git":
276     "/trunk/tools/deps2git@248305",
277
278   "src/third_party/clang_format/script":
279     Var("llvm_url") + "/cfe/trunk/tools/clang-format@198831",
280
281   "src/third_party/webpagereplay":
282     (Var("googlecode_url") % "web-page-replay") + "/trunk@540",
283
284   "src/third_party/pywebsocket/src":
285     (Var("googlecode_url") % "pywebsocket") + "/trunk/src@662",
286
287   "src/third_party/opus/src":
288     "/trunk/deps/third_party/opus@237544",
289
290   "src/media/cdm/ppapi/api":
291     "/trunk/deps/cdm@249141",
292
293   "src/third_party/mesa/src":
294     "/trunk/deps/third_party/mesa@240938",
295
296   "src/third_party/cld_2/src":
297     (Var("googlecode_url") % "cld2") + "/trunk@84",
298
299   "src/chrome/browser/resources/pdf/html_office":
300      Var("chromium_git") +
301          "/chromium/html-office-public.git@6451249cec79299a52083373c9a370ef25471023",
302
303   "src/third_party/libwebm/source":
304     Var("chromium_git") +
305       "/webm/libwebm.git@0f7815b036651e242ec8c2fcfb59fe54f69be1a8",
306 }
307
308
309 deps_os = {
310   "win": {
311     "src/chrome/tools/test/reference_build/chrome_win":
312       "/trunk/deps/reference_builds/chrome_win@237381",
313
314     "src/third_party/cygwin":
315       "/trunk/deps/third_party/cygwin@231940",
316
317     "src/third_party/psyco_win32":
318       "/trunk/deps/third_party/psyco_win32@237949",
319
320     "src/third_party/bison":
321       "/trunk/deps/third_party/bison@147303",
322
323     "src/third_party/gperf":
324       "/trunk/deps/third_party/gperf@147304",
325
326     "src/third_party/perl":
327       "/trunk/deps/third_party/perl@147900",
328
329     "src/third_party/lighttpd":
330       "/trunk/deps/third_party/lighttpd@" + Var("lighttpd_revision"),
331
332     # Parses Windows PE/COFF executable format.
333     "src/third_party/pefile":
334       (Var("googlecode_url") % "pefile") + "/trunk@63",
335
336     # NSS, for SSLClientSocketNSS.
337     "src/third_party/nss":
338       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
339
340     "src/third_party/swig/win":
341       "/trunk/deps/third_party/swig/win@" + Var("swig_revision"),
342
343     # GNU binutils assembler for x86-32.
344     "src/third_party/gnu_binutils":
345       (Var("nacl_trunk") + "/deps/third_party/gnu_binutils@" +
346        Var("nacl_tools_revision")),
347     # GNU binutils assembler for x86-64.
348     "src/third_party/mingw-w64/mingw/bin":
349       (Var("nacl_trunk") + "/deps/third_party/mingw-w64/mingw/bin@" +
350        Var("nacl_tools_revision")),
351
352     # Dependencies used by libjpeg-turbo
353     "src/third_party/yasm/binaries":
354       "/trunk/deps/third_party/yasm/binaries@154708",
355
356     # Binary level profile guided optimizations. This points to the
357     # latest release binaries for the toolchain.
358     "src/third_party/syzygy/binaries":
359       (Var("googlecode_url") % "sawbuck") + "/trunk/syzygy/binaries@2021",
360
361     # Binaries for nacl sdk.
362     "src/third_party/nacl_sdk_binaries":
363       "/trunk/deps/third_party/nacl_sdk_binaries@111576",
364   },
365   "ios": {
366     "src/third_party/google_toolbox_for_mac/src":
367       (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@" +
368       Var("google_toolbox_for_mac_revision"),
369
370     "src/third_party/nss":
371       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
372
373     # class-dump utility to generate header files for undocumented SDKs
374     "src/testing/iossim/third_party/class-dump":
375       "/trunk/deps/third_party/class-dump@199203",
376
377     # Code that's not needed due to not building everything
378     "src/build/util/support": None,
379     "src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin": None,
380     "src/chrome/test/data/perf/canvas_bench": None,
381     "src/chrome/test/data/perf/frame_rate/content": None,
382     "src/chrome/test/data/perf/third_party/octane": None,
383     "src/media/cdm/ppapi/api": None,
384     "src/native_client": None,
385     "src/native_client/src/third_party/ppapi": None,
386     "src/third_party/angle": None,
387     "src/third_party/bidichecker": None,
388     "src/third_party/cld_2/src": None,
389     "src/third_party/ffmpeg": None,
390     "src/third_party/hunspell_dictionaries": None,
391     "src/third_party/hunspell": None,
392     "src/third_party/libaddressinput/src/cpp": None,
393     "src/third_party/libaddressinput/src/testdata": None,
394     "src/third_party/libexif/sources": None,
395     "src/third_party/libjpeg_turbo": None,
396     "src/third_party/libsrtp": None,
397     "src/third_party/libvpx": None,
398     "src/third_party/libyuv": None,
399     "src/third_party/mesa/src": None,
400     "src/third_party/opus/src": None,
401     "src/third_party/openmax_dl": None,
402     "src/third_party/ots": None,
403     "src/third_party/pymox/src": None,
404     "src/third_party/safe_browsing/testing": None,
405     "src/third_party/scons-2.0.1": None,
406     "src/third_party/sfntly/cpp/src": None,
407     "src/third_party/smhasher/src": None,
408     "src/third_party/swig/Lib": None,
409     "src/third_party/undoview": None,
410     "src/third_party/usrsctp/usrsctplib": None,
411     "src/third_party/v8-i18n": None,
412     "src/third_party/webdriver/pylib": None,
413     "src/third_party/webgl": None,
414     "src/third_party/webpagereplay": None,
415     "src/third_party/webrtc": None,
416     "src/third_party/yasm/source/patched-yasm": None,
417     "src/tools/page_cycler/acid3": None,
418     "src/v8": None,
419   },
420   "mac": {
421     "src/chrome/tools/test/reference_build/chrome_mac":
422       "/trunk/deps/reference_builds/chrome_mac@237381",
423
424     "src/third_party/google_toolbox_for_mac/src":
425       (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@" +
426       Var("google_toolbox_for_mac_revision"),
427
428     "src/third_party/pdfsqueeze":
429       (Var("googlecode_url") % "pdfsqueeze") + "/trunk@5",
430
431     "src/third_party/lighttpd":
432       "/trunk/deps/third_party/lighttpd@" + Var("lighttpd_revision"),
433
434     "src/third_party/swig/mac":
435       "/trunk/deps/third_party/swig/mac@" + Var("swig_revision"),
436
437     # NSS, for SSLClientSocketNSS.
438     "src/third_party/nss":
439       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
440
441     "src/chrome/installer/mac/third_party/xz/xz":
442       "/trunk/deps/third_party/xz@233311",
443   },
444   "unix": {
445     # Linux, really.
446     "src/chrome/tools/test/reference_build/chrome_linux":
447       "/trunk/deps/reference_builds/chrome_linux64@237381",
448
449     "src/third_party/xdg-utils":
450       "/trunk/deps/third_party/xdg-utils@203785",
451
452     "src/third_party/swig/linux":
453       "/trunk/deps/third_party/swig/linux@" + Var("swig_revision"),
454
455     "src/third_party/lss":
456       ((Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@" +
457        Var("lss_revision")),
458
459     "src/third_party/openssl":
460       "/trunk/deps/third_party/openssl@" + Var("openssl_revision"),
461
462     "src/third_party/gold":
463       "/trunk/deps/third_party/gold@228995",
464
465     "src/third_party/libmtp":
466       "/trunk/deps/third_party/libmtp@206535",
467
468     # Used on Linux only. CrOS already has a copy.
469     "src/third_party/mtpd/source":
470       Var("chromiumos_git") + "/platform/mtpd.git" +
471       "@e4e4656e9aa710f0617dab8746ab6116c0506ceb",
472
473     # Used on Linux only. CrOS already has a copy.
474     "src/third_party/cros_dbus_cplusplus/source":
475       Var("chromiumos_git") + "/third_party/dbus-cplusplus.git" +
476       "@e4120532bbf3ca9f743b0be1f539381a54d16867",
477
478     # For Linux and Chromium OS.
479     "src/third_party/cros_system_api":
480       Var("chromiumos_git") + "/platform/system_api.git" +
481       "@874a39664f1538b1855391f98bf14026a5dd2c24",
482
483     # Note that this is different from Android's freetype repo.
484     "src/third_party/freetype2/src":
485       Var("chromium_git") + "/chromium/src/third_party/freetype2.git" +
486       "@d699c2994ecc178c4ed05ac2086061b2034c2178",
487
488     # Build tools for targeting ChromeOS.
489     "src/third_party/chromite":
490       Var("chromiumos_git") + "/chromite.git" +
491       "@1ee2901d33ae698d1f2a1d95e9f3fd5bbd5f13f9",
492
493     # Dependency of chromite.git.
494     "src/third_party/pyelftools":
495       Var("chromiumos_git") + "/third_party/pyelftools.git" +
496       "@bdc1d380acd88d4bfaf47265008091483b0d614e",
497
498     "src/third_party/undoview":
499       "/trunk/deps/third_party/undoview@119694",
500
501     "src/third_party/liblouis/src":
502       Var("chromium_git") +
503       "/external/liblouis.git@3c2daee56250162e5a75830871601d74328d39f5",
504
505     # Used for embedded builds. CrOS & Linux use the system version.
506     "src/third_party/fontconfig/src":
507       Var("chromium_git") + "/external/fontconfig.git" +
508       "@f16c3118e25546c1b749f9823c51827a60aeb5c1",
509   },
510   "android": {
511     "src/third_party/android_tools":
512       Var("chromium_git") + "/android_tools.git" +
513       "@0582bdc17b4829beb522975441546a4eb99b11b5",
514
515     "src/third_party/aosp":
516       "/trunk/deps/third_party/aosp@148330",
517
518     "src/third_party/apache-mime4j":
519       "/trunk/deps/third_party/apache-mime4j@170888",
520
521     "src/third_party/findbugs":
522       "/trunk/deps/third_party/findbugs@245039",
523
524     "src/third_party/freetype":
525       Var("chromium_git") + "/chromium/src/third_party/freetype.git" +
526       "@a2b9955b49034a51dfbc8bf9f4e9d312149cecac",
527
528     "src/third_party/guava/src":
529       Var("chromium_git") + "/external/guava-libraries.git" +
530       "@c523556ab7d0f05afadebd20e7768d4c16af8771",
531
532     "src/third_party/httpcomponents-client":
533       "/trunk/deps/third_party/httpcomponents-client@170888",
534
535     "src/third_party/httpcomponents-core":
536       "/trunk/deps/third_party/httpcomponents-core@170888",
537
538     "src/third_party/jarjar":
539       "/trunk/deps/third_party/jarjar@170888",
540
541     "src/third_party/jsr-305/src":
542       (Var("googlecode_url") % "jsr-305") + "/trunk@51",
543
544     "src/third_party/lss":
545       ((Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@" +
546        Var("lss_revision")),
547
548     "src/third_party/openssl":
549       "/trunk/deps/third_party/openssl@" + Var("openssl_revision"),
550
551     "src/third_party/eyesfree/src/android/java/src/com/googlecode/eyesfree/braille":
552       (Var("googlecode_url") % "eyes-free") + "/trunk/braille/client/src/com/googlecode/eyesfree/braille@797",
553
554     # Android shouldn't use this address validation library.
555     "src/third_party/libaddressinput/src/cpp": None,
556     "src/third_party/libaddressinput/src/testdata": None,
557   },
558 }
559
560
561 include_rules = [
562   # Everybody can use some things.
563   "+base",
564   "+build",
565   "+ipc",
566
567   # Everybody can use headers generated by tools/generate_library_loader.
568   "+library_loaders",
569
570   "+testing",
571   "+third_party/icu/source/common/unicode",
572   "+third_party/icu/source/i18n/unicode",
573   "+url",
574 ]
575
576
577 # checkdeps.py shouldn't check include paths for files in these dirs:
578 skip_child_includes = [
579   "breakpad",
580   "delegate_execute",
581   "metro_driver",
582   "native_client_sdk",
583   "o3d",
584   "pdf",
585   "sdch",
586   "skia",
587   "testing",
588   "third_party",
589   "v8",
590   "win8",
591 ]
592
593
594 hooks = [
595   {
596     # This downloads binaries for Native Client's newlib toolchain.
597     # Done in lieu of building the toolchain from scratch as it can take
598     # anywhere from 30 minutes to 4 hours depending on platform to build.
599     "name": "nacltools",
600     "pattern": ".",
601     "action": [
602         "python", "src/build/download_nacl_toolchains.py",
603          "--no-arm-trusted",
604          "--keep",
605     ],
606   },
607   {
608     # Downloads an ARM sysroot image to src/arm-sysroot. This image updates
609     # at about the same rate that the chrome build deps change.
610     # This script is a no-op except for linux users who have
611     # target_arch=arm in their GYP_DEFINES.
612     "name": "sysroot",
613     "pattern": ".",
614     "action": ["python", "src/build/linux/install-arm-sysroot.py",
615                "--linux-only"],
616   },
617   {
618     # Downloads the Debian Wheezy sysroot to chrome/installer/linux if needed.
619     # This sysroot updates at about the same rate that the chrome build deps
620     # change. This script is a no-op except for linux users who are doing
621     # official chrome builds.
622     "name": "sysroot",
623     "pattern": ".",
624     "action": [
625         "python",
626         "src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py",
627         "--linux-only",
628         "--arch=amd64"],
629   },
630   {
631     # Same as above, but for 32-bit Linux.
632     "name": "sysroot",
633     "pattern": ".",
634     "action": [
635         "python",
636         "src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py",
637         "--linux-only",
638         "--arch=i386"],
639   },
640   {
641     # Pull clang on mac. If nothing changed, or on non-mac platforms, this takes
642     # zero seconds to run. If something changed, it downloads a prebuilt clang,
643     # which takes ~20s, but clang speeds up builds by more than 20s.
644     "name": "clang",
645     "pattern": ".",
646     "action": ["python", "src/tools/clang/scripts/update.py", "--mac-only"],
647   },
648   {
649     # Update LASTCHANGE. This is also run by export_tarball.py in
650     # src/tools/export_tarball - please keep them in sync.
651     "name": "lastchange",
652     "pattern": ".",
653     "action": ["python", "src/build/util/lastchange.py",
654                "-o", "src/build/util/LASTCHANGE"],
655   },
656   {
657     # Update LASTCHANGE.blink. This is also run by export_tarball.py in
658     # src/tools/export_tarball - please keep them in sync.
659     "name": "lastchange",
660     "pattern": ".",
661     "action": ["python", "src/build/util/lastchange.py",
662                "-s", "src/third_party/WebKit",
663                "-o", "src/build/util/LASTCHANGE.blink"],
664   },
665   # Pull GN binaries. This needs to be before running GYP below.
666   {
667     "name": "gn_win",
668     "pattern": "src/tools/gn/bin/win/gn.exe.sha1",
669     "action": [ "download_from_google_storage",
670                 "--no_resume",
671                 "--platform=win32",
672                 "--no_auth",
673                 "--bucket", "chromium-gn",
674                 "-s", "src/tools/gn/bin/win/gn.exe.sha1",
675     ],
676   },
677   {
678     "name": "gn_mac",
679     "pattern": "src/tools/gn/bin/mac/gn.sha1",
680     "action": [ "download_from_google_storage",
681                 "--no_resume",
682                 "--platform=darwin",
683                 "--no_auth",
684                 "--bucket", "chromium-gn",
685                 "-s", "src/tools/gn/bin/mac/gn.sha1",
686     ],
687   },
688   {
689     "name": "gn_linux",
690     "pattern": "src/tools/gn/bin/linux/gn.sha1",
691     "action": [ "download_from_google_storage",
692                 "--no_resume",
693                 "--platform=linux*",
694                 "--no_auth",
695                 "--bucket", "chromium-gn",
696                 "-s", "src/tools/gn/bin/linux/gn.sha1",
697     ],
698   },
699   {
700     "name": "gn_linux32",
701     "pattern": "src/tools/gn/bin/linux/gn32.sha1",
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/gn32.sha1",
708     ],
709   },
710   # Pull clang-format binaries using checked-in hashes.
711   {
712     "name": "clang_format_win",
713     "pattern": "src/third_party/clang_format/bin/win/clang-format.exe.sha1",
714     "action": [ "download_from_google_storage",
715                 "--no_resume",
716                 "--platform=win32",
717                 "--no_auth",
718                 "--bucket", "chromium-clang-format",
719                 "-s", "src/third_party/clang_format/bin/win/clang-format.exe.sha1",
720     ],
721   },
722   {
723     "name": "clang_format_mac",
724     "pattern": "src/third_party/clang_format/bin/mac/clang-format.sha1",
725     "action": [ "download_from_google_storage",
726                 "--no_resume",
727                 "--platform=darwin",
728                 "--no_auth",
729                 "--bucket", "chromium-clang-format",
730                 "-s", "src/third_party/clang_format/bin/mac/clang-format.sha1",
731     ],
732   },
733   {
734     "name": "clang_format_linux",
735     "pattern": "src/third_party/clang_format/bin/linux/clang-format.sha1",
736     "action": [ "download_from_google_storage",
737                 "--no_resume",
738                 "--platform=linux*",
739                 "--no_auth",
740                 "--bucket", "chromium-clang-format",
741                 "-s", "src/third_party/clang_format/bin/linux/clang-format.sha1",
742     ],
743   },
744   # Pull eu-strip binaries using checked-in hashes.
745   {
746     "name": "eu-strip",
747     "pattern": "src/build/linux/bin/eu-strip.sha1",
748     "action": [ "download_from_google_storage",
749                 "--no_resume",
750                 "--platform=linux*",
751                 "--no_auth",
752                 "--bucket", "chromium-eu-strip",
753                 "-s", "src/build/linux/bin/eu-strip.sha1",
754     ],
755   },
756   {
757     # A change to a .gyp, .gypi, or to GYP itself should run the generator.
758     "name": "gyp",
759     "pattern": ".",
760     "action": ["python", "src/build/gyp_chromium"],
761   },
762 ]