Make monacl_syscall_win64 conditionally built.
[chromium-blink-merge.git] / DEPS
bloba9ca0b731ed22fdaa4bca6b019dbb86bd9156df5
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': 'b82565b880f84ef3d70271b89e591f6b7e8f3c8e', # from svn revision 187986
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': 'd3f3dcefb055656807e8a2f65a322bbb13cd05a4',
46   'sfntly_revision': '1bdaae8fc788a5ac8936d68bf24f37d977a13dac',
47   'skia_revision': 'f4e5995ac70d4614e0a05b92a8a03e2b7d76bd9c',
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': '2e08d2a7aa9d65d269d8c57aba82eb38a8cb0a18',
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': '119b0841bf15a6a0572cc09167789ca2c8e270c4',
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': 'cd1db9e6c937a69f8efb5f73a3fcad14a737c436',
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': '23a4e2f545c7b6340d7e5a2b74801941b0a86535',
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': 'a48ead9b7e3dc01f1bde83f69062eebd960edfdc',
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': '1a4171cedda887acc49408a8ea06bea740e74481',
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': 'aac2f6a6a00921499ed85787aace287724fbc07e',
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': 'bb4e75a43d007518ae7d618665ea2f25b0c60b63',
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': '57cd0f2bac7fedefd895f521f08f557918bceb91', # from svn revision r14206
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' + '@' + '3a09bb0766eba3ef1766a1617caf1bb5460de85e', # from svn revision 1409
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' + '@' + '8245545b6dc9c4703e6496d1efd19e975ad2b038', # from svn revision 700
123   'src/testing/gmock':
124    Var('chromium_git') + '/external/googlemock.git' + '@' + '29763965ab52f24565299976b936d1265cb6a271', # from svn revision 501
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' + '@' + '2a348ed4cbdf27a8c9f0431d34ecbabf66182f08',
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/icu.git' + '@' + '51c1a4ce5f362676aa1f1cfdb5b7e52edabfa5aa',
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' + '@' + '251ebf5dc70129ad3c38193fe6c99a5b0ec6b9fa',
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' + '@' + 'a5890a8118c0c80cc0560e6d8d5cf65e5d725509', # from svn revision 185
171   'src/tools/gyp':
172     Var('chromium_git') + '/external/gyp.git' + '@' + '82b08049cc0b1f9e0bdcc0702ac6b523360f635f', # from svn revision 2020
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' + '@' + '8c9c83426beb4a58da34be76ea1fccb4054c4703',
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' + '@' + 'cff04f76d09ab148bf79361ed7bd8f8d8ee74761',
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' + '@' + 'b9d631d0ad277109678e86d729acc889793b4b94',
222   'src/third_party/libjingle/source/talk':
223     Var('chromium_git') + '/external/webrtc/trunk/talk.git' + '@' + '1aaae712f168d0a023c20c936867a766a4f65674', # from svn revision 7972
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' + '@' + '4671120cd8558ce62ee8672ebf3eb6f5216f909b',
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' + '@' + 'c2c971d6010319299ea83965cfc0f2c1a209ae4e', # from svn revision 7972
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' + '@' + 'd204db647e591ccf0e2589236ecea90330d65a66', # from svn revision 1171
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' + '@' + '678a7f55a2ae7ccf417b4809e602b808b56a8ddb',
267   # These are all at libphonenumber r728.
268   'src/third_party/libphonenumber/src/phonenumbers':
269     Var('chromium_git') + '/external/libphonenumber/cpp/src/phonenumbers.git' + '@' + '0d6e3e50e17c94262ad1ca3b7d52b11223084bca',
270   'src/third_party/libphonenumber/src/test':
271     Var('chromium_git') + '/external/libphonenumber/cpp/test.git' + '@' + 'f351a7e007f9c9995494499120bbc361ca808a16',
272   'src/third_party/libphonenumber/src/resources':
273     Var('chromium_git') + '/external/libphonenumber/resources.git' + '@' + 'b6dfdc7952571ff7ee72643cd88c988cbe966396',
275   'src/tools/deps2git':
276    Var('chromium_git') + '/chromium/tools/deps2git.git' + '@' + 'f04828eb0b5acd3e7ad983c024870f17f17b06d9',
278   'src/third_party/webpagereplay':
279    Var('chromium_git') + '/external/web-page-replay.git' + '@' + '2f7b704b8b567983c040f555d3e46f9766db8e87',
281   'src/third_party/pywebsocket/src':
282     Var('chromium_git') + '/external/pywebsocket/src.git' + '@' + 'cb349e87ddb30ff8d1fa1a89be39cec901f4a29c',
284   'src/third_party/opus/src':
285    Var('chromium_git') + '/chromium/deps/opus.git' + '@' + 'cae696156f1e60006e39821e79a1811ae1933c69',
287   'src/media/cdm/ppapi/api':
288    Var('chromium_git') + '/chromium/cdm.git' + '@' + 'f924b6382b05c57677455ac40f210b33809591ef', # from svn revision 292736
290   'src/third_party/mesa/src':
291    Var('chromium_git') + '/chromium/deps/mesa.git' + '@' + '071d25db04c23821a12a8b260ab9d96a097402f0',
293   'src/third_party/cld_2/src':
294     Var('chromium_git') + '/external/cld2.git' + '@' + '14d9ef8d4766326f8aa7de54402d1b9c782d4481', # from svn revision 193
296   'src/chrome/browser/resources/pdf/html_office':
297     Var('chromium_git') + '/chromium/html-office-public.git' + '@' + 'eeff97614f65e0578529490d44d412032c3d7359',
299   'src/third_party/pdfium':
300    'https://pdfium.googlesource.com/pdfium.git' + '@' +  Var('pdfium_revision'),
302   'src/third_party/boringssl/src':
303    'https://boringssl.googlesource.com/boringssl.git' + '@' +  Var('boringssl_revision'),
305   'src/third_party/py_trace_event/src':
306     Var('chromium_git') + '/external/py_trace_event.git' + '@' + 'dd463ea9e2c430de2b9e53dea57a77b4c3ac9b30',
310 deps_os = {
311   'win': {
312     'src/chrome/tools/test/reference_build/chrome_win':
313      Var('chromium_git') + '/chromium/reference_builds/chrome_win.git' + '@' + 'f8a3a845dfc845df6b14280f04f86a61959357ef',
315     'src/third_party/cygwin':
316      Var('chromium_git') + '/chromium/deps/cygwin.git' + '@' + 'c89e446b273697fadf3a10ff1007a97c0b7de6df',
318     'src/third_party/psyco_win32':
319      Var('chromium_git') + '/chromium/deps/psyco_win32.git' + '@' + 'f5af9f6910ee5a8075bbaeed0591469f1661d868',
321     'src/third_party/bison':
322      Var('chromium_git') + '/chromium/deps/bison.git' + '@' + '083c9a45e4affdd5464ee2b224c2df649c6e26c3',
324     'src/third_party/gperf':
325      Var('chromium_git') + '/chromium/deps/gperf.git' + '@' + 'd892d79f64f9449770443fb06da49b5a1e5d33c1',
327     'src/third_party/perl':
328      Var('chromium_git') + '/chromium/deps/perl.git' + '@' + 'ac0d98b5cee6c024b0cffeb4f8f45b6fc5ccdb78',
330     'src/third_party/lighttpd':
331      Var('chromium_git') + '/chromium/deps/lighttpd.git' + '@' + Var('lighttpd_revision'),
333     # Parses Windows PE/COFF executable format.
334     'src/third_party/pefile':
335      Var('chromium_git') + '/external/pefile.git' + '@' + '72c6ae42396cb913bcab63c15585dc3b5c3f92f1',
337     # NSS, for SSLClientSocketNSS.
338     'src/third_party/nss':
339      Var('chromium_git') + '/chromium/deps/nss.git' + '@' + Var('nss_revision'),
341     'src/third_party/swig/win':
342      Var('chromium_git') + '/chromium/deps/swig/win.git' + '@' + '986f013ba518541adf5c839811efb35630a31031',
344     # GNU binutils assembler for x86-32.
345     'src/third_party/gnu_binutils':
346       Var('chromium_git') + '/native_client/deps/third_party/gnu_binutils.git' + '@' + 'f4003433b61b25666565690caf3d7a7a1a4ec436',
347     # GNU binutils assembler for x86-64.
348     'src/third_party/mingw-w64/mingw/bin':
349       Var('chromium_git') + '/native_client/deps/third_party/mingw-w64/mingw/bin.git' + '@' + '3cc8b140b883a9fe4986d12cfd46c16a093d3527',
351     # Dependencies used by libjpeg-turbo
352     'src/third_party/yasm/binaries':
353      Var('chromium_git') + '/chromium/deps/yasm/binaries.git' + '@' + '52f9b3f4b0aa06da24ef8b123058bb61ee468881',
355     # Binaries for nacl sdk.
356     'src/third_party/nacl_sdk_binaries':
357      Var('chromium_git') + '/chromium/deps/nacl_sdk_binaries.git' + '@' + '759dfca03bdc774da7ecbf974f6e2b84f43699a5',
359     # Omaha code for src/app_installer/.
360     'src/third_party/omaha/src/omaha':
361      Var('chromium_git') + '/external/omaha.git' + '@' + '098c7a3d157218dab4eed595e8f2fbe5a20a0bae',
362   },
363   'ios': {
364     'src/third_party/google_toolbox_for_mac/src':
365       Var('chromium_git') + '/external/google-toolbox-for-mac.git' + '@' + Var('google_toolbox_for_mac_revision'),
367     'src/third_party/nss':
368      Var('chromium_git') + '/chromium/deps/nss.git' + '@' + Var('nss_revision'),
370     # class-dump utility to generate header files for undocumented SDKs
371     'src/testing/iossim/third_party/class-dump':
372      Var('chromium_git') + '/chromium/deps/class-dump.git' + '@' + '89bd40883c767584240b4dade8b74e6f57b9bdab',
374     # Code that's not needed due to not building everything
375     'src/chrome/test/data/perf/canvas_bench': None,
376     'src/chrome/test/data/perf/frame_rate/content': None,
377     'src/native_client': None,
378     'src/third_party/ffmpeg': None,
379     'src/third_party/hunspell_dictionaries': None,
380     'src/third_party/hunspell': None,
381     'src/third_party/webgl': None,
382   },
383   'mac': {
384     'src/chrome/tools/test/reference_build/chrome_mac':
385      Var('chromium_git') + '/chromium/reference_builds/chrome_mac.git' + '@' + '8dc181329e7c5255f83b4b85dc2f71498a237955',
387     'src/third_party/google_toolbox_for_mac/src':
388       Var('chromium_git') + '/external/google-toolbox-for-mac.git' + '@' + Var('google_toolbox_for_mac_revision'),
391     'src/third_party/pdfsqueeze':
392       Var('chromium_git') + '/external/pdfsqueeze.git' + '@' + '5936b871e6a087b7e50d4cbcb122378d8a07499f',
394     'src/third_party/lighttpd':
395      Var('chromium_git') + '/chromium/deps/lighttpd.git' + '@' + Var('lighttpd_revision'),
397     'src/third_party/swig/mac':
398      Var('chromium_git') + '/chromium/deps/swig/mac.git' + '@' + '1b182eef16df2b506f1d710b34df65d55c1ac44e',
400     # NSS, for SSLClientSocketNSS.
401     'src/third_party/nss':
402      Var('chromium_git') + '/chromium/deps/nss.git' + '@' + Var('nss_revision'),
404     'src/chrome/installer/mac/third_party/xz/xz':
405      Var('chromium_git') + '/chromium/deps/xz.git' + '@' + 'eecaf55632ca72e90eb2641376bce7cdbc7284f7',
406   },
407   'unix': {
408     # Linux, really.
409     'src/chrome/tools/test/reference_build/chrome_linux':
410      Var('chromium_git') + '/chromium/reference_builds/chrome_linux64.git' + '@' + '033d053a528e820e1de3e2db766678d862a86b36',
412     'src/third_party/xdg-utils':
413      Var('chromium_git') + '/chromium/deps/xdg-utils.git' + '@' + 'd80274d5869b17b8c9067a1022e4416ee7ed5e0d',
415     'src/third_party/swig/linux':
416      Var('chromium_git') + '/chromium/deps/swig/linux.git' + '@' + '866b8e0e0e0cfe99ebe608260030916ca0c3f92d',
418     'src/third_party/lss':
419       Var('chromium_git') + '/external/linux-syscall-support/lss.git' + '@' + Var('lss_revision'),
421     # For Linux and Chromium OS.
422     'src/third_party/cros_system_api':
423      Var('chromium_git') + '/chromiumos/platform/system_api.git' + '@' + 'eb5b6c3152ddf0b8212cc35d384c231e20aaeb62',
425     # Note that this is different from Android's freetype repo.
426     'src/third_party/freetype2/src':
427      Var('chromium_git') + '/chromium/src/third_party/freetype2.git' + '@' + '495a23fce9cd125f715dc20643d14fed226d76ac',
429     # Build tools for Chrome OS.
430     'src/third_party/chromite':
431      Var('chromium_git') + '/chromiumos/chromite.git' + '@' + 'c1bb274a82c13f76c3d8560808423605bfd84d76',
433     # Dependency of chromite.git.
434     'src/third_party/pyelftools':
435      Var('chromium_git') + '/chromiumos/third_party/pyelftools.git' + '@' + '19b3e610c86fcadb837d252c794cb5e8008826ae',
437     'src/third_party/undoview':
438      Var('chromium_git') + '/chromium/deps/undoview.git' + '@' + '3ba503e248f3cdbd81b78325a24ece0984637559',
440     'src/third_party/liblouis/src':
441      Var('chromium_git') + '/external/liblouis-github.git' + '@' + '5f9c03f2a3478561deb6ae4798175094be8a26c2',
443     # Used for embedded builds. CrOS & Linux use the system version.
444     'src/third_party/fontconfig/src':
445      Var('chromium_git') + '/external/fontconfig.git' + '@' + 'f16c3118e25546c1b749f9823c51827a60aeb5c1',
447     'src/third_party/stp/src':
448      Var('chromium_git') + '/external/github.com/stp/stp.git' + '@' + 'fc94a599207752ab4d64048204f0c88494811b62',
449   },
450   'android': {
451     'src/third_party/android_protobuf/src':
452      Var('chromium_git') + '/external/android_protobuf.git' + '@' + '94f522f907e3f34f70d9e7816b947e62fddbb267',
454     'src/third_party/android_tools':
455      Var('chromium_git') + '/android_tools.git' + '@' + '8fe116f93f350dcf73c6fe70db893985bf1b91d5',
457     'src/third_party/apache-mime4j':
458      Var('chromium_git') + '/chromium/deps/apache-mime4j.git' + '@' + '28cb1108bff4b6cf0a2e86ff58b3d025934ebe3a',
460     'src/third_party/appurify-python/src':
461      Var('chromium_git') + '/external/github.com/appurify/appurify-python.git' + '@' + 'ee7abd5c5ae3106f72b2a0b9d2cb55094688e867',
463     'src/third_party/findbugs':
464      Var('chromium_git') + '/chromium/deps/findbugs.git' + '@' + '7f69fa78a6db6dc31866d09572a0e356e921bf12',
466     'src/third_party/freetype':
467      Var('chromium_git') + '/chromium/src/third_party/freetype.git' + '@' + 'fd6919ac23f74b876c209aba5eaa2be662086391',
469    'src/third_party/elfutils/src':
470      Var('chromium_git') + '/external/elfutils.git' + '@' + '249673729a7e5dbd5de4f3760bdcaa3d23d154d7',
472     'src/third_party/httpcomponents-client':
473      Var('chromium_git') + '/chromium/deps/httpcomponents-client.git' + '@' + '285c4dafc5de0e853fa845dce5773e223219601c',
475     'src/third_party/httpcomponents-core':
476      Var('chromium_git') + '/chromium/deps/httpcomponents-core.git' + '@' + '9f7180a96f8fa5cab23f793c14b413356d419e62',
478     'src/third_party/jarjar':
479      Var('chromium_git') + '/chromium/deps/jarjar.git' + '@' + '2e1ead4c68c450e0b77fe49e3f9137842b8b6920',
481     'src/third_party/jsr-305/src':
482       Var('chromium_git') + '/external/jsr-305.git' + '@' + '642c508235471f7220af6d5df2d3210e3bfc0919',
484     'src/third_party/junit/src':
485       Var('chromium_git') + '/external/junit.git' + '@' + '45a44647e7306262162e1346b750c3209019f2e1',
487     'src/third_party/mockito/src':
488       Var('chromium_git') + '/external/mockito/mockito.git' + '@' + 'ed99a52e94a84bd7c467f2443b475a22fcc6ba8e',
490     'src/third_party/lss':
491       Var('chromium_git') + '/external/linux-syscall-support/lss.git' + '@' + Var('lss_revision'),
493     'src/third_party/requests/src':
494       Var('chromium_git') + '/external/github.com/kennethreitz/requests.git' + '@' + 'f172b30356d821d180fa4ecfa3e71c7274a32de4',
496   },
500 include_rules = [
501   # Everybody can use some things.
502   '+base',
503   '+build',
504   '+ipc',
506   # Everybody can use headers generated by tools/generate_library_loader.
507   '+library_loaders',
509   '+testing',
510   '+third_party/icu/source/common/unicode',
511   '+third_party/icu/source/i18n/unicode',
512   '+url',
516 # checkdeps.py shouldn't check include paths for files in these dirs:
517 skip_child_includes = [
518   'breakpad',
519   'delegate_execute',
520   'metro_driver',
521   'native_client_sdk',
522   'o3d',
523   'sdch',
524   'skia',
525   'testing',
526   'third_party',
527   'v8',
528   'win8',
532 hooks = [
533   {
534     # This clobbers when necessary (based on get_landmines.py). It must be the
535     # first hook so that other things that get/generate into the output
536     # directory will not subsequently be clobbered.
537     'name': 'landmines',
538     'pattern': '.',
539     'action': [
540         'python',
541         'src/build/landmines.py',
542     ],
543   },
544   {
545     # This downloads binaries for Native Client's newlib toolchain.
546     # Done in lieu of building the toolchain from scratch as it can take
547     # anywhere from 30 minutes to 4 hours depending on platform to build.
548     'name': 'nacltools',
549     'pattern': '.',
550     'action': [
551         'python',
552         'src/build/download_nacl_toolchains.py',
553         '--mode', 'nacl_core_sdk',
554         'sync',
555     ],
556   },
557   {
558     # This downloads SDK extras and puts them in the
559     # third_party/android_tools/sdk/extras directory on the bots. Developers
560     # need to manually install these packages and accept the ToS.
561     'name': 'sdkextras',
562     'pattern': '.',
563     # When adding a new sdk extras package to download, add the package
564     # directory and zip file to .gitignore in third_party/android_tools.
565     'action': ['python', 'src/build/download_sdk_extras.py',
566                'google_google_play_services_21.0.0.zip'],
567   },
568   {
569     # Downloads the Debian Wheezy sysroot to chrome/installer/linux if needed.
570     # This sysroot updates at about the same rate that the chrome build deps
571     # change. This script is a no-op except for linux users who are doing
572     # official chrome builds.
573     'name': 'sysroot',
574     'pattern': '.',
575     'action': [
576         'python',
577         'src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py',
578         '--linux-only',
579         '--arch=amd64'],
580   },
581   {
582     # Same as above, but for 32-bit Linux.
583     'name': 'sysroot',
584     'pattern': '.',
585     'action': [
586         'python',
587         'src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py',
588         '--linux-only',
589         '--arch=i386'],
590   },
591   {
592     # Same as above, but for ARM Linux.
593     'name': 'sysroot',
594     'pattern': '.',
595     'action': [
596         'python',
597         'src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py',
598         '--linux-only',
599         '--arch=arm'],
600   },
601   {
602     # Update the Windows toolchain if necessary.
603     'name': 'win_toolchain',
604     'pattern': '.',
605     'action': ['python', 'src/build/vs_toolchain.py', 'update'],
606   },
607   {
608     # Pull clang if needed or requested via GYP_DEFINES.
609     # Note: On Win, this should run after win_toolchain, as it may use it.
610     'name': 'clang',
611     'pattern': '.',
612     'action': ['python', 'src/tools/clang/scripts/update.py', '--if-needed'],
613   },
614   {
615     # Update LASTCHANGE. This is also run by export_tarball.py in
616     # src/tools/export_tarball - please keep them in sync.
617     'name': 'lastchange',
618     'pattern': '.',
619     'action': ['python', 'src/build/util/lastchange.py',
620                '-o', 'src/build/util/LASTCHANGE'],
621   },
622   {
623     # Update LASTCHANGE.blink. This is also run by export_tarball.py in
624     # src/tools/export_tarball - please keep them in sync.
625     'name': 'lastchange',
626     'pattern': '.',
627     'action': ['python', 'src/build/util/lastchange.py',
628                '-s', 'src/third_party/WebKit',
629                '-o', 'src/build/util/LASTCHANGE.blink'],
630   },
631   # Pull GN binaries. This needs to be before running GYP below.
632   {
633     'name': 'gn_win',
634     'pattern': '.',
635     'action': [ 'download_from_google_storage',
636                 '--no_resume',
637                 '--platform=win32',
638                 '--no_auth',
639                 '--bucket', 'chromium-gn',
640                 '-s', 'src/buildtools/win/gn.exe.sha1',
641     ],
642   },
643   {
644     'name': 'gn_mac',
645     'pattern': '.',
646     'action': [ 'download_from_google_storage',
647                 '--no_resume',
648                 '--platform=darwin',
649                 '--no_auth',
650                 '--bucket', 'chromium-gn',
651                 '-s', 'src/buildtools/mac/gn.sha1',
652     ],
653   },
654   {
655     'name': 'gn_linux32',
656     'pattern': '.',
657     'action': [ 'download_from_google_storage',
658                 '--no_resume',
659                 '--platform=linux*',
660                 '--no_auth',
661                 '--bucket', 'chromium-gn',
662                 '-s', 'src/buildtools/linux32/gn.sha1',
663     ],
664   },
665   {
666     'name': 'gn_linux64',
667     'pattern': '.',
668     'action': [ 'download_from_google_storage',
669                 '--no_resume',
670                 '--platform=linux*',
671                 '--no_auth',
672                 '--bucket', 'chromium-gn',
673                 '-s', 'src/buildtools/linux64/gn.sha1',
674     ],
675   },
676   # Pull clang-format binaries using checked-in hashes.
677   {
678     'name': 'clang_format_win',
679     'pattern': '.',
680     'action': [ 'download_from_google_storage',
681                 '--no_resume',
682                 '--platform=win32',
683                 '--no_auth',
684                 '--bucket', 'chromium-clang-format',
685                 '-s', 'src/buildtools/win/clang-format.exe.sha1',
686     ],
687   },
688   {
689     'name': 'clang_format_mac',
690     'pattern': '.',
691     'action': [ 'download_from_google_storage',
692                 '--no_resume',
693                 '--platform=darwin',
694                 '--no_auth',
695                 '--bucket', 'chromium-clang-format',
696                 '-s', 'src/buildtools/mac/clang-format.sha1',
697     ],
698   },
699   {
700     'name': 'clang_format_linux',
701     'pattern': '.',
702     'action': [ 'download_from_google_storage',
703                 '--no_resume',
704                 '--platform=linux*',
705                 '--no_auth',
706                 '--bucket', 'chromium-clang-format',
707                 '-s', 'src/buildtools/linux64/clang-format.sha1',
708     ],
709   },
710   # Pull binutils for linux, enabled debug fission for faster linking /
711   # debugging when used with clang on Ubuntu Precise.
712   # https://code.google.com/p/chromium/issues/detail?id=352046
713   {
714     'name': 'binutils',
715     'pattern': 'src/third_party/binutils',
716     'action': [
717         'python',
718         'src/third_party/binutils/download.py',
719     ],
720   },
721   # Pull eu-strip binaries using checked-in hashes.
722   {
723     'name': 'eu-strip',
724     'pattern': '.',
725     'action': [ 'download_from_google_storage',
726                 '--no_resume',
727                 '--platform=linux*',
728                 '--no_auth',
729                 '--bucket', 'chromium-eu-strip',
730                 '-s', 'src/build/linux/bin/eu-strip.sha1',
731     ],
732   },
733   {
734     'name': 'drmemory',
735     'pattern': '.',
736     'action': [ 'download_from_google_storage',
737                 '--no_resume',
738                 '--platform=win32',
739                 '--no_auth',
740                 '--bucket', 'chromium-drmemory',
741                 '-s', 'src/third_party/drmemory/drmemory-windows-sfx.exe.sha1',
742               ],
743   },
744   # Pull the Syzygy binaries, used for optimization and instrumentation.
745   {
746     'name': 'syzygy-binaries',
747     'pattern': '.',
748     'action': ['python',
749                'src/build/get_syzygy_binaries.py',
750                '--output-dir=src/third_party/syzygy/binaries',
751                '--revision=b92d590a9670f92b1223bcc9a334771ce95611cd',
752                '--overwrite',
753     ],
754   },
755   {
756     'name': 'apache_win32',
757     'pattern': '\\.sha1',
758     'action': [ 'download_from_google_storage',
759                 '--no_resume',
760                 '--platform=win32',
761                 '--directory',
762                 '--recursive',
763                 '--no_auth',
764                 '--num_threads=16',
765                 '--bucket', 'chromium-apache-win32',
766                 'src/third_party/apache-win32',
767     ],
768   },
769   # Pull the mojo_shell binary, used for mojo development
770   {
771     'name': 'download_mojo_shell',
772     'pattern': '',
773     'action': [ 'python', 'src/mojo/public/tools/download_shell_binary.py' ],
774   },
775   {
776     # A change to a .gyp, .gypi, or to GYP itself should run the generator.
777     'name': 'gyp',
778     'pattern': '.',
779     'action': ['python', 'src/build/gyp_chromium'],
780   },
781   {
782     # Verify committers' ~/.netc, gclient and git are properly configured for
783     # write access to the git repo. To be removed sometime after Chrome to git
784     # migration completes (let's say Sep 1 2014).
785     'name': 'check_git_config',
786     'pattern': '.',
787     'action': [
788         'python',
789         'src/tools/check_git_config.py',
790         '--running-as-hook',
791     ],
792   },
793   {
794     # Ensure that we don't accidentally reference any .pyc files whose
795     # corresponding .py files have already been deleted.
796     'name': 'remove_stale_pyc_files',
797     'pattern': 'src/tools/.*\\.py',
798     'action': [
799         'python',
800         'src/tools/remove_stale_pyc_files.py',
801         'src/tools',
802     ],
803   },