Land Recent QUIC Changes.
[chromium-blink-merge.git] / DEPS
blob91c13fcda7c5534f1edd2f62375deca384bf7ab1
1 # This file is used to manage the dependencies of the Chromium src repo. It is
2 # used by gclient to determine what version of each dependency to check out, and
3 # where.
5 # For more information, please refer to the official documentation:
6 #   https://sites.google.com/a/chromium.org/dev/developers/how-tos/get-the-code
8 # When adding a new dependency, please update the top-level .gitignore file
9 # to list the dependency's destination directory.
11 # -----------------------------------------------------------------------------
12 # Rolling deps
13 # -----------------------------------------------------------------------------
14 # All repositories in this file are git-based, using Chromium git mirrors where
15 # necessary (e.g., a git mirror is used when the source project is SVN-based).
16 # To update the revision that Chromium pulls for a given dependency:
18 #  # Create and switch to a new branch
19 #  git new-branch depsroll
20 #  # Run roll-dep (provided by depot_tools) giving the dep's path and the
21 #  # desired SVN revision number (e.g., third_party/foo/bar and a revision such
22 #  # number from Subversion)
23 #  roll-dep third_party/foo/bar REVISION_NUMBER
24 #  # You should now have a modified DEPS file; commit and upload as normal
25 #  git commit -a
26 #  git cl upload
29 vars = {
30   # Use this googlecode_url variable only if there is an internal mirror for it.
31   # If you do not know, use the full path while defining your new deps entry.
32   'googlecode_url': 'http://%s.googlecode.com/svn',
33   'sourceforge_url': 'http://svn.code.sf.net/p/%(repo)s/code',
34   'llvm_url': 'http://src.chromium.org/llvm-project',
35   'llvm_git': 'https://llvm.googlesource.com',
36   'libcxx_revision': '48198f9110397fff47fe7c37cbfa296be7d44d3d',
37   'libcxxabi_revision': '4ad1009ab3a59fa7a6896d74d5e4de5885697f95',
38   'webkit_trunk': 'http://src.chromium.org/blink/trunk',
39   'webkit_revision': '229ddec598ba7d44876f78ff10865d69f19f3325', # from svn revision 184935
40   'chromium_git': 'https://chromium.googlesource.com',
41   'chromiumos_git': 'https://chromium.googlesource.com/chromiumos',
42   'pdfium_git': 'https://pdfium.googlesource.com',
43   'skia_git': 'https://skia.googlesource.com',
44   'boringssl_git': 'https://boringssl.googlesource.com',
45   'libvpx_revision': '2e5ced5fd62a73f4f5687ab19520b3aad1c53f6f',
46   'sfntly_revision': '1bdaae8fc788a5ac8936d68bf24f37d977a13dac',
47   'skia_revision': '2ecf86e55ecb893cf4d04e16a4ac5b0de6dcf173',
48   # Three lines of non-changing comments so that
49   # the commit queue can handle CLs rolling Skia
50   # and V8 without interference from each other.
51   'v8_branch': 'trunk',
52   'v8_revision': '731b3e5a9965e4fd3118dc9c882fd89cd5308204', # from svn revision 25122
53   # Three lines of non-changing comments so that
54   # the commit queue can handle CLs rolling WebRTC
55   # and V8 without interference from each other.
56   # Three lines of non-changing comments so that
57   # the commit queue can handle CLs rolling swarming_client
58   # and whatever else without interference from each other.
59   'swarming_revision': '1f8ba359e84dc7f26b1ba286dfb4e28674efbff4',
60   # Three lines of non-changing comments so that
61   # the commit queue can handle CLs rolling ANGLE
62   # and whatever else without interference from each other.
63   "angle_revision": "4de44cb67e9e36966fb1993c0be35659a47182ef",
64   # Three lines of non-changing comments so that
65   # the commit queue can handle CLs rolling build tools
66   # and whatever else without interference from each other.
67   'buildtools_revision': 'c27f95bd1d9baaef70c879dea375090dd1496147',
68   # Three lines of non-changing comments so that
69   # the commit queue can handle CLs rolling PDFium
70   # and whatever else without interference from each other.
71   'pdfium_revision': '4dc95e74e1acc75f4eab08bc771874cd2a9c3a9b',
72   # Three lines of non-changing comments so that
73   # the commit queue can handle CLs rolling openmax_dl
74   # and whatever else without interference from each other.
75   'openmax_dl_revision': '01642706d2b37cb7b9db84add870ea0fdabdf5ad',
76   # Three lines of non-changing comments so that
77   # the commit queue can handle CLs rolling BoringSSL
78   # and whatever else without interference from each other.
79   'boringssl_revision': '817ec3462e246b8301a73e44854e2bb3df90d5e6',
80   # Three lines of non-changing comments so that
81   # the commit queue can handle CLs rolling nss
82   # and whatever else without interference from each other.
83   'nss_revision': '87b96db4268293187d7cf741907a6d5d1d8080e0',
84   # Three lines of non-changing comments so that
85   # the commit queue can handle CLs rolling google-toolbox-for-mac
86   # and whatever else without interference from each other.
87   'google_toolbox_for_mac_revision': 'a09526298f9dd1ec49d3b3ac5608d2a257b94cef',
88   # Three lines of non-changing comments so that
89   # the commit queue can handle CLs rolling lighttpd
90   # and whatever else without interference from each other.
91   'lighttpd_revision': '9dfa55d15937a688a92cbf2b7a8621b0927d06eb',
92   # Three lines of non-changing comments so that
93   # the commit queue can handle CLs rolling lss
94   # and whatever else without interference from each other.
95   'lss_revision': '952107fa7cea0daaabead28c0e92d579bee517eb',
96   # Three lines of non-changing comments so that
97   # the commit queue can handle CLs rolling NaCl
98   # and whatever else without interference from each other.
99   'nacl_revision': '9cd80947288ebca86dd07b55171089b84553a7c7', # from svn revision r14043
102 # Only these hosts are allowed for dependencies in this DEPS file.
103 # If you need to add a new host, contact chrome infrastracture team.
104 allowed_hosts = [
105   'chromium.googlesource.com',
106   'boringssl.googlesource.com',
107   'pdfium.googlesource.com',
110 deps = {
111   'src/breakpad/src':
112    Var('chromium_git') + '/external/google-breakpad/src.git' + '@' + 'f37b59821ecbd69c54f3388026d2e98cd8b2fba2', # from svn revision 1397
114   'src/buildtools':
115    Var('chromium_git') + '/chromium/buildtools.git' + '@' +  Var('buildtools_revision'),
117   'src/sdch/open-vcdiff':
118    Var('chromium_git') + '/external/open-vcdiff.git' + '@' + '438f2a5be6d809bc21611a94cd37bfc8c28ceb33', # from svn revision 41
120   'src/testing/gtest':
121    Var('chromium_git') + '/external/googletest.git' + '@' + '4650552ff637bb44ecf7784060091cbed3252211', # from svn revision 692
123   'src/testing/gmock':
124    Var('chromium_git') + '/external/googlemock.git' + '@' + '896ba0e03f520fb9b6ed582bde2bd00847e3c3f2', # from svn revision 485
126   'src/third_party/angle':
127    Var('chromium_git') + '/angle/angle.git' + '@' +  Var('angle_revision'),
129   'src/third_party/colorama/src':
130    Var('chromium_git') + '/external/colorama.git' + '@' + '799604a1041e9b3bc5d2789ecbd7e8db2e18e6b8',
132   'src/third_party/trace-viewer':
133    Var('chromium_git') + '/external/trace-viewer.git' + '@' + 'c3820e9a59e1d2869a7848c4a65cb7aed08b915d',
135   'src/third_party/WebKit':
136    Var('chromium_git') + '/chromium/blink.git' + '@' +  Var('webkit_revision'),
138   'src/third_party/icu':
139    Var('chromium_git') + '/chromium/deps/icu52.git' + '@' + 'd8b2a9d7b0039a4950ee008c5b1d998902c44c60', # from svn revision 292476
141   'src/third_party/libexif/sources':
142    Var('chromium_git') + '/chromium/deps/libexif/sources.git' + '@' + 'ed98343daabd7b4497f97fda972e132e6877c48a',
144   'src/third_party/hunspell':
145    Var('chromium_git') + '/chromium/deps/hunspell.git' + '@' + 'c956c0e97af00ef789afb2f64d02c9a5a50e6eb1',
147   'src/third_party/hunspell_dictionaries':
148    Var('chromium_git') + '/chromium/deps/hunspell_dictionaries.git' + '@' + '4560bdd463a3500e2334e85c8a0e9e5d5d6774e7',
150   'src/third_party/safe_browsing/testing':
151     Var('chromium_git') + '/external/google-safe-browsing/testing.git' + '@' + '9d7e8064f3ca2e45891470c9b5b1dce54af6a9d6',
153   'src/third_party/cacheinvalidation/src':
154     Var('chromium_git') + '/external/google-cache-invalidation-api/src.git' + '@' + 'c91bd9d9fed06bf440be64f87b94a2effdb32bc4', # from svn revision 341
156   'src/third_party/leveldatabase/src':
157     Var('chromium_git') + '/external/leveldb.git' + '@' + '3f77584eb3f9754bbb7079070873ece3f30a1e6b',
159   'src/third_party/libc++/trunk':
160    Var('chromium_git') + '/chromium/llvm-project/libcxx.git' + '@' +  Var('libcxx_revision'),
162   'src/third_party/libc++abi/trunk':
163    Var('chromium_git') + '/chromium/llvm-project/libcxxabi.git' + '@' +  Var('libcxxabi_revision'),
165   'src/third_party/snappy/src':
166     Var('chromium_git') + '/external/snappy.git' + '@' + '762bb32f0c9d2f31ba4958c7c0933d22e80c20bf',
168   'src/tools/grit':
169     Var('chromium_git') + '/external/grit-i18n.git' + '@' + 'a24a0e647bb718b3540db89864cf586b12331e82', # from svn revision 182
171   'src/tools/gyp':
172     Var('chromium_git') + '/external/gyp.git' + '@' + '487c0b6ae8b44932e45347211bca0e8387718436', # from svn revision 1998
174   'src/tools/swarming_client':
175    Var('chromium_git') + '/external/swarming.client.git' + '@' +  Var('swarming_revision'),
177   'src/v8':
178     Var('chromium_git') + '/v8/v8.git' + '@' +  Var('v8_revision'),
180   'src/native_client':
181    Var('chromium_git') + '/native_client/src/native_client.git' + '@' + Var('nacl_revision'),
183   'src/third_party/sfntly/cpp/src':
184     Var('chromium_git') + '/external/sfntly/cpp/src.git' + '@' +  Var('sfntly_revision'),
186   'src/third_party/skia':
187    Var('chromium_git') + '/skia.git' + '@' +  Var('skia_revision'),
189   'src/third_party/ots':
190     Var('chromium_git') + '/external/ots.git' + '@' + '98897009f3ea8a5fa3e20a4a74977da7aaa8e61a',
192   'src/third_party/brotli/src':
193    Var('chromium_git') + '/external/font-compression-reference.git' + '@' + '65cb3326e30ef8a67eb1d4411ec563e91be6e9ae',
195   'src/tools/page_cycler/acid3':
196    Var('chromium_git') + '/chromium/deps/acid3.git' + '@' + '6be0a66a1ebd7ebc5abc1b2f405a945f6d871521',
198   'src/chrome/test/data/perf/canvas_bench':
199    Var('chromium_git') + '/chromium/canvas_bench.git' + '@' + 'a7b40ea5ae0239517d78845a5fc9b12976bfc732',
201   'src/chrome/test/data/perf/frame_rate/content':
202    Var('chromium_git') + '/chromium/frame_rate/content.git' + '@' + 'c10272c88463efeef6bb19c9ec07c42bc8fe22b9',
204   'src/third_party/bidichecker':
205     Var('chromium_git') + '/external/bidichecker/lib.git' + '@' + '97f2aa645b74c28c57eca56992235c79850fa9e0',
207   'src/third_party/webgl/src':
208    Var('chromium_git') + '/external/khronosgroup/webgl.git' + '@' + '152f156d821aeeb688d0979daa529cdad44c0bc7',
210   'src/third_party/swig/Lib':
211    Var('chromium_git') + '/chromium/deps/swig/Lib.git' + '@' + 'f2a695d52e61e6a8d967731434f165ed400f0d69',
213   'src/third_party/webdriver/pylib':
214     Var('chromium_git') + '/external/selenium/py.git' + '@' + '5fd78261a75fe08d27ca4835fb6c5ce4b42275bd',
216   'src/third_party/libvpx':
217    Var('chromium_git') + '/chromium/deps/libvpx.git' + '@' +  Var('libvpx_revision'),
219   'src/third_party/ffmpeg':
220    Var('chromium_git') + '/chromium/third_party/ffmpeg.git' + '@' + '4bc3dc1af71c98bb257fba5e442303f68b4ff8fc',
222   'src/third_party/libjingle/source/talk':
223     Var('chromium_git') + '/external/webrtc/trunk/talk.git' + '@' + '7d974c11e23898cd59838c79751b96c45b09ec4b', # from svn revision 7636
225   'src/third_party/usrsctp/usrsctplib':
226     Var('chromium_git') + '/external/usrsctplib.git' + '@' + '190c8cbfcf8fd810aa09e0fab4ca62a8ce724e14',
228   'src/third_party/libsrtp':
229    Var('chromium_git') + '/chromium/deps/libsrtp.git' + '@' + '6446144c7f083552f21cc4e6768e891bcb767574',
231   'src/third_party/yasm/source/patched-yasm':
232    Var('chromium_git') + '/chromium/deps/yasm/patched-yasm.git' + '@' + 'c960eb11ccda80b10ed50be39df4f0663b371d1d',
234   'src/third_party/libjpeg_turbo':
235    Var('chromium_git') + '/chromium/deps/libjpeg_turbo.git' + '@' + '034e9a9747e0983bc19808ea70e469bc8342081f',
237   'src/third_party/flac':
238    Var('chromium_git') + '/chromium/deps/flac.git' + '@' + '0635a091379d9677f1ddde5f2eec85d0f096f219',
240   'src/third_party/pyftpdlib/src':
241     Var('chromium_git') + '/external/pyftpdlib.git' + '@' + '2be6d65e31c7ee6320d059f581f05ae8d89d7e45',
243   'src/third_party/scons-2.0.1':
244    Var('chromium_git') + '/native_client/src/third_party/scons-2.0.1.git' + '@' + '1c1550e17fc26355d08627fbdec13d8291227067',
246   'src/third_party/webrtc':
247     Var('chromium_git') + '/external/webrtc/trunk/webrtc.git' + '@' + 'b831a9e3d5f9f0563d249b726cffa8a070e58aee', # from svn revision 7638
249   'src/third_party/openmax_dl':
250     Var('chromium_git') + '/external/webrtc/deps/third_party/openmax.git' + '@' +  Var('openmax_dl_revision'),
252   'src/third_party/jsoncpp/source/include':
253     Var('chromium_git') + '/external/jsoncpp/jsoncpp/include.git' + '@' + 'b0dd48e02b6e6248328db78a65b5c601f150c349',
255   'src/third_party/jsoncpp/source/src/lib_json':
256     Var('chromium_git') + '/external/jsoncpp/jsoncpp/src/lib_json.git' + '@' + 'a8caa51ba2f80971a45880425bf2ae864a786784',
258   'src/third_party/libyuv':
259     Var('chromium_git') + '/external/libyuv.git' + '@' + '5a09c3ef2aa3e6b6da4007746fdde04ca56dae7c', # from svn revision 1130
261   'src/third_party/smhasher/src':
262     Var('chromium_git') + '/external/smhasher.git' + '@' + 'e87738e57558e0ec472b2fc3a643b838e5b6e88f',
264   'src/third_party/libaddressinput/src':
265     Var('chromium_git') + '/external/libaddressinput.git' + '@' + '51f43544159ce5e2d4e19dfa1673149ba73a0200',
267   'src/third_party/libphonenumber/src/phonenumbers':
268     Var('chromium_git') + '/external/libphonenumber/cpp/src/phonenumbers.git' + '@' + '8d8b5b3b2035197795d27573d4cf566b5d9ad689',
269   'src/third_party/libphonenumber/src/test':
270     Var('chromium_git') + '/external/libphonenumber/cpp/test.git' + '@' + '883b7b86541d64b2691f7c0e65facb0b08db73e8',
271   'src/third_party/libphonenumber/src/resources':
272     Var('chromium_git') + '/external/libphonenumber/resources.git' + '@' + 'de095548d2ae828a414e01f3951bfefba902b4e4',
274   'src/tools/deps2git':
275    Var('chromium_git') + '/chromium/tools/deps2git.git' + '@' + 'f04828eb0b5acd3e7ad983c024870f17f17b06d9',
277   'src/third_party/webpagereplay':
278    Var('chromium_git') + '/external/web-page-replay.git' + '@' + '2f7b704b8b567983c040f555d3e46f9766db8e87',
280   'src/third_party/pywebsocket/src':
281     Var('chromium_git') + '/external/pywebsocket/src.git' + '@' + 'cb349e87ddb30ff8d1fa1a89be39cec901f4a29c',
283   'src/third_party/opus/src':
284    Var('chromium_git') + '/chromium/deps/opus.git' + '@' + 'cae696156f1e60006e39821e79a1811ae1933c69',
286   'src/media/cdm/ppapi/api':
287    Var('chromium_git') + '/chromium/cdm.git' + '@' + 'f924b6382b05c57677455ac40f210b33809591ef', # from svn revision 292736
289   'src/third_party/mesa/src':
290    Var('chromium_git') + '/chromium/deps/mesa.git' + '@' + '9731cb962963bca8a05f3d0f6ea40c3a781f0537',
292   'src/third_party/cld_2/src':
293     Var('chromium_git') + '/external/cld2.git' + '@' + 'fe53e1cd31db9bb3e636f9caaf7be2f432b85390', # from svn revision 171
295   'src/chrome/browser/resources/pdf/html_office':
296     Var('chromium_git') + '/chromium/html-office-public.git' + '@' + 'eeff97614f65e0578529490d44d412032c3d7359',
298   'src/third_party/libwebm/source':
299    Var('chromium_git') + '/webm/libwebm.git' + '@' + '0d4cb404ea4195e5e21d04db2c955615535ce62e',
301   'src/third_party/pdfium':
302    'https://pdfium.googlesource.com/pdfium.git' + '@' +  Var('pdfium_revision'),
304   'src/third_party/boringssl/src':
305    'https://boringssl.googlesource.com/boringssl.git' + '@' +  Var('boringssl_revision'),
307   'src/third_party/py_trace_event/src':
308     Var('chromium_git') + '/external/py_trace_event.git' + '@' + 'dd463ea9e2c430de2b9e53dea57a77b4c3ac9b30',
312 deps_os = {
313   'win': {
314     'src/chrome/tools/test/reference_build/chrome_win':
315      Var('chromium_git') + '/chromium/reference_builds/chrome_win.git' + '@' + 'f8a3a845dfc845df6b14280f04f86a61959357ef',
317     'src/third_party/cygwin':
318      Var('chromium_git') + '/chromium/deps/cygwin.git' + '@' + 'c89e446b273697fadf3a10ff1007a97c0b7de6df',
320     'src/third_party/psyco_win32':
321      Var('chromium_git') + '/chromium/deps/psyco_win32.git' + '@' + 'f5af9f6910ee5a8075bbaeed0591469f1661d868',
323     'src/third_party/bison':
324      Var('chromium_git') + '/chromium/deps/bison.git' + '@' + '083c9a45e4affdd5464ee2b224c2df649c6e26c3',
326     'src/third_party/gperf':
327      Var('chromium_git') + '/chromium/deps/gperf.git' + '@' + 'd892d79f64f9449770443fb06da49b5a1e5d33c1',
329     'src/third_party/perl':
330      Var('chromium_git') + '/chromium/deps/perl.git' + '@' + 'ac0d98b5cee6c024b0cffeb4f8f45b6fc5ccdb78',
332     'src/third_party/lighttpd':
333      Var('chromium_git') + '/chromium/deps/lighttpd.git' + '@' + Var('lighttpd_revision'),
335     # Parses Windows PE/COFF executable format.
336     'src/third_party/pefile':
337      Var('chromium_git') + '/external/pefile.git' + '@' + '72c6ae42396cb913bcab63c15585dc3b5c3f92f1',
339     # NSS, for SSLClientSocketNSS.
340     'src/third_party/nss':
341      Var('chromium_git') + '/chromium/deps/nss.git' + '@' + Var('nss_revision'),
343     'src/third_party/swig/win':
344      Var('chromium_git') + '/chromium/deps/swig/win.git' + '@' + '986f013ba518541adf5c839811efb35630a31031',
346     # GNU binutils assembler for x86-32.
347     'src/third_party/gnu_binutils':
348       Var('chromium_git') + '/native_client/deps/third_party/gnu_binutils.git' + '@' + 'f4003433b61b25666565690caf3d7a7a1a4ec436',
349     # GNU binutils assembler for x86-64.
350     'src/third_party/mingw-w64/mingw/bin':
351       Var('chromium_git') + '/native_client/deps/third_party/mingw-w64/mingw/bin.git' + '@' + '3cc8b140b883a9fe4986d12cfd46c16a093d3527',
353     # Dependencies used by libjpeg-turbo
354     'src/third_party/yasm/binaries':
355      Var('chromium_git') + '/chromium/deps/yasm/binaries.git' + '@' + '52f9b3f4b0aa06da24ef8b123058bb61ee468881',
357     # Binaries for nacl sdk.
358     'src/third_party/nacl_sdk_binaries':
359      Var('chromium_git') + '/chromium/deps/nacl_sdk_binaries.git' + '@' + '759dfca03bdc774da7ecbf974f6e2b84f43699a5',
361     # Omaha code for src/app_installer/.
362     'src/third_party/omaha/src/omaha':
363      Var('chromium_git') + '/external/omaha.git' + '@' + '098c7a3d157218dab4eed595e8f2fbe5a20a0bae',
364   },
365   'ios': {
366     'src/third_party/google_toolbox_for_mac/src':
367       Var('chromium_git') + '/external/google-toolbox-for-mac.git' + '@' + Var('google_toolbox_for_mac_revision'),
369     'src/third_party/nss':
370      Var('chromium_git') + '/chromium/deps/nss.git' + '@' + Var('nss_revision'),
372     # class-dump utility to generate header files for undocumented SDKs
373     'src/testing/iossim/third_party/class-dump':
374      Var('chromium_git') + '/chromium/deps/class-dump.git' + '@' + '89bd40883c767584240b4dade8b74e6f57b9bdab',
376     # Code that's not needed due to not building everything
377     'src/chrome/test/data/perf/canvas_bench': None,
378     'src/chrome/test/data/perf/frame_rate/content': None,
379     'src/native_client': None,
380     'src/third_party/cld_2/src': None,
381     'src/third_party/ffmpeg': None,
382     'src/third_party/hunspell_dictionaries': None,
383     'src/third_party/hunspell': None,
384     'src/third_party/webgl': None,
385   },
386   'mac': {
387     'src/chrome/tools/test/reference_build/chrome_mac':
388      Var('chromium_git') + '/chromium/reference_builds/chrome_mac.git' + '@' + '8dc181329e7c5255f83b4b85dc2f71498a237955',
390     'src/third_party/google_toolbox_for_mac/src':
391       Var('chromium_git') + '/external/google-toolbox-for-mac.git' + '@' + Var('google_toolbox_for_mac_revision'),
394     'src/third_party/pdfsqueeze':
395       Var('chromium_git') + '/external/pdfsqueeze.git' + '@' + '5936b871e6a087b7e50d4cbcb122378d8a07499f',
397     'src/third_party/lighttpd':
398      Var('chromium_git') + '/chromium/deps/lighttpd.git' + '@' + Var('lighttpd_revision'),
400     'src/third_party/swig/mac':
401      Var('chromium_git') + '/chromium/deps/swig/mac.git' + '@' + '1b182eef16df2b506f1d710b34df65d55c1ac44e',
403     # NSS, for SSLClientSocketNSS.
404     'src/third_party/nss':
405      Var('chromium_git') + '/chromium/deps/nss.git' + '@' + Var('nss_revision'),
407     'src/chrome/installer/mac/third_party/xz/xz':
408      Var('chromium_git') + '/chromium/deps/xz.git' + '@' + 'eecaf55632ca72e90eb2641376bce7cdbc7284f7',
409   },
410   'unix': {
411     # Linux, really.
412     'src/chrome/tools/test/reference_build/chrome_linux':
413      Var('chromium_git') + '/chromium/reference_builds/chrome_linux64.git' + '@' + '033d053a528e820e1de3e2db766678d862a86b36',
415     'src/third_party/xdg-utils':
416      Var('chromium_git') + '/chromium/deps/xdg-utils.git' + '@' + 'd80274d5869b17b8c9067a1022e4416ee7ed5e0d',
418     'src/third_party/swig/linux':
419      Var('chromium_git') + '/chromium/deps/swig/linux.git' + '@' + '866b8e0e0e0cfe99ebe608260030916ca0c3f92d',
421     'src/third_party/lss':
422       Var('chromium_git') + '/external/linux-syscall-support/lss.git' + '@' + Var('lss_revision'),
424     # For Linux and Chromium OS.
425     'src/third_party/cros_system_api':
426      Var('chromium_git') + '/chromiumos/platform/system_api.git' + '@' + 'a21c902a409c2238c0a73a44e8fe11f1ed9535a5',
428     # Note that this is different from Android's freetype repo.
429     'src/third_party/freetype2/src':
430      Var('chromium_git') + '/chromium/src/third_party/freetype2.git' + '@' + '495a23fce9cd125f715dc20643d14fed226d76ac',
432     # Build tools for Chrome OS.
433     'src/third_party/chromite':
434      Var('chromium_git') + '/chromiumos/chromite.git' + '@' + 'dda64836fc8b02ed89fed167603a838007e99712',
436     # Dependency of chromite.git.
437     'src/third_party/pyelftools':
438      Var('chromium_git') + '/chromiumos/third_party/pyelftools.git' + '@' + 'bdc1d380acd88d4bfaf47265008091483b0d614e',
440     'src/third_party/undoview':
441      Var('chromium_git') + '/chromium/deps/undoview.git' + '@' + '3ba503e248f3cdbd81b78325a24ece0984637559',
443     'src/third_party/liblouis/src':
444      Var('chromium_git') + '/external/liblouis-github.git' + '@' + '5f9c03f2a3478561deb6ae4798175094be8a26c2',
446     # Used for embedded builds. CrOS & Linux use the system version.
447     'src/third_party/fontconfig/src':
448      Var('chromium_git') + '/external/fontconfig.git' + '@' + 'f16c3118e25546c1b749f9823c51827a60aeb5c1',
449   },
450   'android': {
451     'src/third_party/android_protobuf/src':
452      Var('chromium_git') + '/external/android_protobuf.git' + '@' + '94f522f907e3f34f70d9e7816b947e62fddbb267',
454     # Whenever you roll this please also change frameworks/webview in
455     # src/android_webview/buildbot/aosp_manifest.xml to point to the same revision.
456     'src/third_party/android_webview_glue/src':
457      Var('chromium_git') + '/external/android_webview_glue.git' + '@' + '7d62eab4ca242beacac4471c002e998ef5c218b8',
459     'src/third_party/android_tools':
460      Var('chromium_git') + '/android_tools.git' + '@' + 'ea50cccc11657404ce22cf928062ed1a3927eb39',
462     'src/third_party/apache-mime4j':
463      Var('chromium_git') + '/chromium/deps/apache-mime4j.git' + '@' + '28cb1108bff4b6cf0a2e86ff58b3d025934ebe3a',
465     'src/third_party/findbugs':
466      Var('chromium_git') + '/chromium/deps/findbugs.git' + '@' + '7f69fa78a6db6dc31866d09572a0e356e921bf12',
468     'src/third_party/freetype':
469      Var('chromium_git') + '/chromium/src/third_party/freetype.git' + '@' + 'a2b9955b49034a51dfbc8bf9f4e9d312149cecac',
471    'src/third_party/elfutils/src':
472      Var('chromium_git') + '/external/elfutils.git' + '@' + '249673729a7e5dbd5de4f3760bdcaa3d23d154d7',
474     'src/third_party/httpcomponents-client':
475      Var('chromium_git') + '/chromium/deps/httpcomponents-client.git' + '@' + '285c4dafc5de0e853fa845dce5773e223219601c',
477     'src/third_party/httpcomponents-core':
478      Var('chromium_git') + '/chromium/deps/httpcomponents-core.git' + '@' + '9f7180a96f8fa5cab23f793c14b413356d419e62',
480     'src/third_party/jarjar':
481      Var('chromium_git') + '/chromium/deps/jarjar.git' + '@' + '2e1ead4c68c450e0b77fe49e3f9137842b8b6920',
483     'src/third_party/jsr-305/src':
484       Var('chromium_git') + '/external/jsr-305.git' + '@' + '642c508235471f7220af6d5df2d3210e3bfc0919',
486     'src/third_party/junit/src':
487       Var('chromium_git') + '/external/junit.git' + '@' + 'c62e2df8dbecccb1b434d4ba8843b59e90b03266',
489     'src/third_party/lss':
490       Var('chromium_git') + '/external/linux-syscall-support/lss.git' + '@' + Var('lss_revision'),
492     'src/third_party/eyesfree/src/android/java/src/com/googlecode/eyesfree/braille':
493       Var('chromium_git') + '/external/eyes-free/braille/client/src/com/googlecode/eyesfree/braille.git' + '@' + '77bf6edb0138e3a38a2772248696f130dab45e34',
494   },
498 include_rules = [
499   # Everybody can use some things.
500   '+base',
501   '+build',
502   '+ipc',
504   # Everybody can use headers generated by tools/generate_library_loader.
505   '+library_loaders',
507   '+testing',
508   '+third_party/icu/source/common/unicode',
509   '+third_party/icu/source/i18n/unicode',
510   '+url',
514 # checkdeps.py shouldn't check include paths for files in these dirs:
515 skip_child_includes = [
516   'breakpad',
517   'delegate_execute',
518   'metro_driver',
519   'native_client_sdk',
520   'o3d',
521   'sdch',
522   'skia',
523   'testing',
524   'third_party',
525   'v8',
526   'win8',
530 hooks = [
531   {
532     # This clobbers when necessary (based on get_landmines.py). It must be the
533     # first hook so that other things that get/generate into the output
534     # directory will not subsequently be clobbered.
535     'name': 'landmines',
536     'pattern': '.',
537     'action': [
538         'python',
539         'src/build/landmines.py',
540     ],
541   },
542   {
543     # This downloads binaries for Native Client's newlib toolchain.
544     # Done in lieu of building the toolchain from scratch as it can take
545     # anywhere from 30 minutes to 4 hours depending on platform to build.
546     'name': 'nacltools',
547     'pattern': '.',
548     'action': [
549         'python', 'src/build/download_nacl_toolchains.py',
550         '--exclude', 'arm_trusted',
551     ],
552   },
553   {
554     # Downloads the Debian Wheezy sysroot to chrome/installer/linux if needed.
555     # This sysroot updates at about the same rate that the chrome build deps
556     # change. This script is a no-op except for linux users who are doing
557     # official chrome builds.
558     'name': 'sysroot',
559     'pattern': '.',
560     'action': [
561         'python',
562         'src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py',
563         '--linux-only',
564         '--arch=amd64'],
565   },
566   {
567     # Same as above, but for 32-bit Linux.
568     'name': 'sysroot',
569     'pattern': '.',
570     'action': [
571         'python',
572         'src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py',
573         '--linux-only',
574         '--arch=i386'],
575   },
576   {
577     # Same as above, but for ARM Linux.
578     'name': 'sysroot',
579     'pattern': '.',
580     'action': [
581         'python',
582         'src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py',
583         '--linux-only',
584         '--arch=arm'],
585   },
586   {
587     # Update the Windows toolchain if necessary.
588     'name': 'win_toolchain',
589     'pattern': '.',
590     'action': ['python', 'src/build/vs_toolchain.py', 'update'],
591   },
592   {
593     # Pull clang if needed or requested via GYP_DEFINES.
594     # Note: On Win, this should run after win_toolchain, as it may use it.
595     'name': 'clang',
596     'pattern': '.',
597     'action': ['python', 'src/tools/clang/scripts/update.py', '--if-needed'],
598   },
599   {
600     # Update LASTCHANGE. This is also run by export_tarball.py in
601     # src/tools/export_tarball - please keep them in sync.
602     'name': 'lastchange',
603     'pattern': '.',
604     'action': ['python', 'src/build/util/lastchange.py',
605                '-o', 'src/build/util/LASTCHANGE'],
606   },
607   {
608     # Update LASTCHANGE.blink. This is also run by export_tarball.py in
609     # src/tools/export_tarball - please keep them in sync.
610     'name': 'lastchange',
611     'pattern': '.',
612     'action': ['python', 'src/build/util/lastchange.py',
613                '-s', 'src/third_party/WebKit',
614                '-o', 'src/build/util/LASTCHANGE.blink'],
615   },
616   # Pull GN binaries. This needs to be before running GYP below.
617   {
618     'name': 'gn_win',
619     'pattern': '.',
620     'action': [ 'download_from_google_storage',
621                 '--no_resume',
622                 '--platform=win32',
623                 '--no_auth',
624                 '--bucket', 'chromium-gn',
625                 '-s', 'src/buildtools/win/gn.exe.sha1',
626     ],
627   },
628   {
629     'name': 'gn_mac',
630     'pattern': '.',
631     'action': [ 'download_from_google_storage',
632                 '--no_resume',
633                 '--platform=darwin',
634                 '--no_auth',
635                 '--bucket', 'chromium-gn',
636                 '-s', 'src/buildtools/mac/gn.sha1',
637     ],
638   },
639   {
640     'name': 'gn_linux32',
641     'pattern': '.',
642     'action': [ 'download_from_google_storage',
643                 '--no_resume',
644                 '--platform=linux*',
645                 '--no_auth',
646                 '--bucket', 'chromium-gn',
647                 '-s', 'src/buildtools/linux32/gn.sha1',
648     ],
649   },
650   {
651     'name': 'gn_linux64',
652     'pattern': '.',
653     'action': [ 'download_from_google_storage',
654                 '--no_resume',
655                 '--platform=linux*',
656                 '--no_auth',
657                 '--bucket', 'chromium-gn',
658                 '-s', 'src/buildtools/linux64/gn.sha1',
659     ],
660   },
661   # Pull clang-format binaries using checked-in hashes.
662   {
663     'name': 'clang_format_win',
664     'pattern': '.',
665     'action': [ 'download_from_google_storage',
666                 '--no_resume',
667                 '--platform=win32',
668                 '--no_auth',
669                 '--bucket', 'chromium-clang-format',
670                 '-s', 'src/buildtools/win/clang-format.exe.sha1',
671     ],
672   },
673   {
674     'name': 'clang_format_mac',
675     'pattern': '.',
676     'action': [ 'download_from_google_storage',
677                 '--no_resume',
678                 '--platform=darwin',
679                 '--no_auth',
680                 '--bucket', 'chromium-clang-format',
681                 '-s', 'src/buildtools/mac/clang-format.sha1',
682     ],
683   },
684   {
685     'name': 'clang_format_linux',
686     'pattern': '.',
687     'action': [ 'download_from_google_storage',
688                 '--no_resume',
689                 '--platform=linux*',
690                 '--no_auth',
691                 '--bucket', 'chromium-clang-format',
692                 '-s', 'src/buildtools/linux64/clang-format.sha1',
693     ],
694   },
695   # Pull binutils for linux, enabled debug fission for faster linking /
696   # debugging when used with clang on Ubuntu Precise.
697   # https://code.google.com/p/chromium/issues/detail?id=352046
698   {
699     'name': 'binutils',
700     'pattern': 'src/third_party/binutils',
701     'action': [
702         'python',
703         'src/third_party/binutils/download.py',
704     ],
705   },
706   # Pull eu-strip binaries using checked-in hashes.
707   {
708     'name': 'eu-strip',
709     'pattern': '.',
710     'action': [ 'download_from_google_storage',
711                 '--no_resume',
712                 '--platform=linux*',
713                 '--no_auth',
714                 '--bucket', 'chromium-eu-strip',
715                 '-s', 'src/build/linux/bin/eu-strip.sha1',
716     ],
717   },
718   {
719     'name': 'drmemory',
720     'pattern': '.',
721     'action': [ 'download_from_google_storage',
722                 '--no_resume',
723                 '--platform=win32',
724                 '--no_auth',
725                 '--bucket', 'chromium-drmemory',
726                 '-s', 'src/third_party/drmemory/drmemory-windows-sfx.exe.sha1',
727               ],
728   },
729   # Pull the Syzygy binaries, used for optimization and instrumentation.
730   {
731     'name': 'syzygy-binaries',
732     'pattern': '.',
733     'action': ['python',
734                'src/build/get_syzygy_binaries.py',
735                '--output-dir=src/third_party/syzygy/binaries',
736                '--revision=52a58e8bb19c5dcc97970bae4b8c00c5891f3568',
737                '--overwrite',
738     ],
739   },
740   {
741     'name': 'apache_win32',
742     'pattern': '\\.sha1',
743     'action': [ 'download_from_google_storage',
744                 '--no_resume',
745                 '--platform=win32',
746                 '--directory',
747                 '--recursive',
748                 '--no_auth',
749                 '--num_threads=16',
750                 '--bucket', 'chromium-apache-win32',
751                 'src/third_party/apache-win32',
752     ],
753   },
754   {
755     # A change to a .gyp, .gypi, or to GYP itself should run the generator.
756     'name': 'gyp',
757     'pattern': '.',
758     'action': ['python', 'src/build/gyp_chromium'],
759   },
760   {
761     # Verify committers' ~/.netc, gclient and git are properly configured for
762     # write access to the git repo. To be removed sometime after Chrome to git
763     # migration completes (let's say Sep 1 2014).
764     'name': 'check_git_config',
765     'pattern': '.',
766     'action': [
767         'python',
768         'src/tools/check_git_config.py',
769         '--running-as-hook',
770     ],
771   },
772   {
773     # Ensure that we don't accidentally reference any .pyc files whose
774     # corresponding .py files have already been deleted.
775     'name': 'remove_stale_pyc_files',
776     'pattern': 'src/tools/.*\\.py',
777     'action': [
778         'python',
779         'src/tools/remove_stale_pyc_files.py',
780         'src/tools',
781     ],
782   },