[Checkstyle] Enable boolean simplification and empty expression checks.
[chromium-blink-merge.git] / DEPS
blobd13f8917ae0886b6b9f1f4b737f30b6ac7f92491
1 # This file is automatically processed to create .DEPS.git which is the file
2 # that gclient uses under git.
4 # See http://code.google.com/p/chromium/wiki/UsingGit
6 # To test manually, run:
7 #   python tools/deps2git/deps2git.py -o .DEPS.git -w <gclientdir>
8 # where <gcliendir> is the absolute path to the directory containing the
9 # .gclient file (the parent of 'src').
11 # Then commit .DEPS.git locally (gclient doesn't like dirty trees) and run
12 #   gclient sync
13 # Verify the thing happened you wanted. Then revert your .DEPS.git change
14 # DO NOT CHECK IN CHANGES TO .DEPS.git upstream. It will be automatically
15 # updated by a bot when you modify this one.
17 # When adding a new dependency, please update the top-level .gitignore file
18 # to list the dependency's destination directory.
20 vars = {
21   # Use this googlecode_url variable only if there is an internal mirror for it.
22   # If you do not know, use the full path while defining your new deps entry.
23   'googlecode_url': 'http://%s.googlecode.com/svn',
24   'sourceforge_url': 'http://svn.code.sf.net/p/%(repo)s/code',
25   'llvm_url': 'http://src.chromium.org/llvm-project',
26   'llvm_git': 'https://llvm.googlesource.com',
27   'libcxx_revision': '48198f9110397fff47fe7c37cbfa296be7d44d3d',
28   'libcxxabi_revision': '4ad1009ab3a59fa7a6896d74d5e4de5885697f95',
29   'webkit_trunk': 'http://src.chromium.org/blink/trunk',
30   'webkit_revision': '582258c6bb4bece462eef41f8b5323c6096be6d1', # from svn revision 182369
31   'chromium_git': 'https://chromium.googlesource.com',
32   'chromiumos_git': 'https://chromium.googlesource.com/chromiumos',
33   'pdfium_git': 'https://pdfium.googlesource.com',
34   'skia_git': 'https://skia.googlesource.com',
35   'boringssl_git': 'https://boringssl.googlesource.com',
36   'libvpx_revision': '42ddeba4a7ad6382898ef2e57dc4bd9f9da57aca',
37   'sfntly_revision': '1bdaae8fc788a5ac8936d68bf24f37d977a13dac',
38   'skia_revision': '3c196def91726913a417e703ac482bb2dbbfff27',
39   # Three lines of non-changing comments so that
40   # the commit queue can handle CLs rolling Skia
41   # and V8 without interference from each other.
42   'v8_branch': 'trunk',
43   'v8_revision': 'd3df75b4472c9d5d4d2615aaea74d2adce4160f8', # from svn revision 23989
44   # Three lines of non-changing comments so that
45   # the commit queue can handle CLs rolling WebRTC
46   # and V8 without interference from each other.
47   # Three lines of non-changing comments so that
48   # the commit queue can handle CLs rolling swarming_client
49   # and whatever else without interference from each other.
50   'swarming_revision': '926dccd2ee01127e6c2c61a97e4d9c289e0383ee',
51   # Three lines of non-changing comments so that
52   # the commit queue can handle CLs rolling ANGLE
53   # and whatever else without interference from each other.
54   "angle_revision": "af875527dd30df822016ff90307de938195176c3",
55   # Three lines of non-changing comments so that
56   # the commit queue can handle CLs rolling build tools
57   # and whatever else without interference from each other.
58   'buildtools_revision': 'ac93c78aa1a5b1c5fe5ce01abb3063d750aaf2f3',
59   # Three lines of non-changing comments so that
60   # the commit queue can handle CLs rolling PDFIum
61   # and whatever else without interference from each other.
62   'pdfium_revision': '2d282243dbd1edd51d42e13f563903a1a76ce8f8',
63   # Three lines of non-changing comments so that
64   # the commit queue can handle CLs rolling openmax_dl
65   # and whatever else without interference from each other.
66   'openmax_dl_revision': '79e64bc9243e5ff11822434cf39b9fabefff3bfb',
67   # Three lines of non-changing comments so that
68   # the commit queue can handle CLs rolling BoringSSL
69   # and whatever else without interference from each other.
70   'boringssl_revision': 'a70c75cfc0ca32a43985e3f24d737ca9cafcb910',
71   # Three lines of non-changing comments so that
72   # the commit queue can handle CLs rolling nss
73   # and whatever else without interference from each other.
74   'nss_revision': '7b5b6ec41cf9105bd6e1c9a5157982f821282a4c',
75   # Three lines of non-changing comments so that
76   # the commit queue can handle CLs rolling google-toolbox-for-mac
77   # and whatever else without interference from each other.
78   'google_toolbox_for_mac_revision': 'a09526298f9dd1ec49d3b3ac5608d2a257b94cef',
79   # Three lines of non-changing comments so that
80   # the commit queue can handle CLs rolling lighttpd
81   # and whatever else without interference from each other.
82   'lighttpd_revision': '9dfa55d15937a688a92cbf2b7a8621b0927d06eb',
83   # Three lines of non-changing comments so that
84   # the commit queue can handle CLs rolling lss
85   # and whatever else without interference from each other.
86   'lss_revision': '952107fa7cea0daaabead28c0e92d579bee517eb',
87   # Three lines of non-changing comments so that
88   # the commit queue can handle CLs rolling NaCl
89   # and whatever else without interference from each other.
90   'nacl_revision': '5e4816da8d5258d7f917f0e859444755c6509410', # from svn revision r13759
93 deps = {
94   'src/breakpad/src':
95    Var('chromium_git') + '/external/google-breakpad/src.git' + '@' + '9b7051fd52f7377dc08e88133e3c0d3da5f105c3', # from svn revision 1375
97   'src/buildtools':
98    Var('chromium_git') + '/chromium/buildtools.git' + '@' +  Var('buildtools_revision'),
100   'src/sdch/open-vcdiff':
101    Var('chromium_git') + '/external/open-vcdiff.git' + '@' + '438f2a5be6d809bc21611a94cd37bfc8c28ceb33', # from svn revision 41
103   'src/testing/gtest':
104    Var('chromium_git') + '/external/googletest.git' + '@' + '4650552ff637bb44ecf7784060091cbed3252211', # from svn revision 692
106   'src/testing/gmock':
107    Var('chromium_git') + '/external/googlemock.git' + '@' + '896ba0e03f520fb9b6ed582bde2bd00847e3c3f2', # from svn revision 485
109   'src/third_party/angle':
110    Var('chromium_git') + '/angle/angle.git' + '@' +  Var('angle_revision'),
112   'src/third_party/colorama/src':
113    Var('chromium_git') + '/external/colorama.git' + '@' + '799604a1041e9b3bc5d2789ecbd7e8db2e18e6b8',
115   'src/third_party/trace-viewer':
116    Var('chromium_git') + '/external/trace-viewer.git' + '@' + '5b0446a2f335aba1629fb629f02fb6b5253ef516',
118   'src/third_party/WebKit':
119    Var('chromium_git') + '/chromium/blink.git' + '@' +  Var('webkit_revision'),
121   'src/third_party/icu':
122    Var('chromium_git') + '/chromium/deps/icu52.git' + '@' + 'd2abf6c1e1f986f4a8db0341b8a8c55c55ec1174', # from svn revision 292003
124   'src/third_party/libexif/sources':
125    Var('chromium_git') + '/chromium/deps/libexif/sources.git' + '@' + 'ed98343daabd7b4497f97fda972e132e6877c48a',
127   'src/third_party/hunspell':
128    Var('chromium_git') + '/chromium/deps/hunspell.git' + '@' + 'c956c0e97af00ef789afb2f64d02c9a5a50e6eb1',
130   'src/third_party/hunspell_dictionaries':
131    Var('chromium_git') + '/chromium/deps/hunspell_dictionaries.git' + '@' + '4560bdd463a3500e2334e85c8a0e9e5d5d6774e7',
133   'src/third_party/safe_browsing/testing':
134     Var('chromium_git') + '/external/google-safe-browsing/testing.git' + '@' + '9d7e8064f3ca2e45891470c9b5b1dce54af6a9d6',
136   'src/third_party/cacheinvalidation/src':
137     Var('chromium_git') + '/external/google-cache-invalidation-api/src.git' + '@' + 'c91bd9d9fed06bf440be64f87b94a2effdb32bc4', # from svn revision 341
139   'src/third_party/leveldatabase/src':
140     Var('chromium_git') + '/external/leveldb.git' + '@' + '3f77584eb3f9754bbb7079070873ece3f30a1e6b',
142   'src/third_party/libc++/trunk':
143    Var('chromium_git') + '/chromium/llvm-project/libcxx.git' + '@' +  Var('libcxx_revision'),
145   'src/third_party/libc++abi/trunk':
146    Var('chromium_git') + '/chromium/llvm-project/libcxxabi.git' + '@' +  Var('libcxxabi_revision'),
148   'src/third_party/snappy/src':
149     Var('chromium_git') + '/external/snappy.git' + '@' + '762bb32f0c9d2f31ba4958c7c0933d22e80c20bf',
151   'src/tools/grit':
152     Var('chromium_git') + '/external/grit-i18n.git' + '@' + '740badd5e3e44434a9a47b5d16749daac1e8ea80', # from svn revision 176
154   'src/tools/gyp':
155     Var('chromium_git') + '/external/gyp.git' + '@' + '46282cedf40ff7fe803be4af357b9d59050f02e4', # from svn revision 1977
157   'src/tools/swarming_client':
158    Var('chromium_git') + '/external/swarming.client.git' + '@' +  Var('swarming_revision'),
160   'src/v8':
161     Var('chromium_git') + '/external/v8.git' + '@' +  Var('v8_revision'),
163   'src/native_client':
164    Var('chromium_git') + '/native_client/src/native_client.git' + '@' + Var('nacl_revision'),
166   'src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin':
167    Var('chromium_git') + '/native_client/src/native_client/tests/prebuilt.git' + '@' + '3e17365176c94624f46cace174f61834b7f3c35d',
169   'src/third_party/sfntly/cpp/src':
170     Var('chromium_git') + '/external/sfntly/cpp/src.git' + '@' +  Var('sfntly_revision'),
172   'src/third_party/skia':
173    Var('chromium_git') + '/skia.git' + '@' +  Var('skia_revision'),
175   'src/third_party/ots':
176     Var('chromium_git') + '/external/ots.git' + '@' + '98897009f3ea8a5fa3e20a4a74977da7aaa8e61a',
178   'src/third_party/brotli/src':
179    Var('chromium_git') + '/external/font-compression-reference.git' + '@' + '6cef49677dc4c650ef6e3f56041e0a41803afa8c',
181   'src/tools/page_cycler/acid3':
182    Var('chromium_git') + '/chromium/deps/acid3.git' + '@' + '6be0a66a1ebd7ebc5abc1b2f405a945f6d871521',
184   'src/chrome/test/data/perf/canvas_bench':
185    Var('chromium_git') + '/chromium/canvas_bench.git' + '@' + 'a7b40ea5ae0239517d78845a5fc9b12976bfc732',
187   'src/chrome/test/data/perf/frame_rate/content':
188    Var('chromium_git') + '/chromium/frame_rate/content.git' + '@' + 'c10272c88463efeef6bb19c9ec07c42bc8fe22b9',
190   'src/third_party/bidichecker':
191     Var('chromium_git') + '/external/bidichecker/lib.git' + '@' + '97f2aa645b74c28c57eca56992235c79850fa9e0',
193   'src/third_party/webgl/src':
194    Var('chromium_git') + '/external/khronosgroup/webgl.git' + '@' + 'b1a7210dc4034793e34a2149cb571e85700a85f2',
196   'src/third_party/swig/Lib':
197    Var('chromium_git') + '/chromium/deps/swig/Lib.git' + '@' + 'f2a695d52e61e6a8d967731434f165ed400f0d69',
199   'src/third_party/webdriver/pylib':
200     Var('chromium_git') + '/external/selenium/py.git' + '@' + '5fd78261a75fe08d27ca4835fb6c5ce4b42275bd',
202   'src/third_party/libvpx':
203    Var('chromium_git') + '/chromium/deps/libvpx.git' + '@' +  Var('libvpx_revision'),
205   'src/third_party/ffmpeg':
206    Var('chromium_git') + '/chromium/third_party/ffmpeg.git' + '@' + '62512b980ce409fda75037e893a0fe0f5be30326',
208   'src/third_party/libjingle/source/talk':
209     Var('chromium_git') + '/external/webrtc/trunk/talk.git' + '@' + 'b25f2cd3bd9b8444d2a1d48ca26e2721b42c78e1',
211   'src/third_party/usrsctp/usrsctplib':
212     Var('chromium_git') + '/external/usrsctplib.git' + '@' + '8975bd5397c2ec97f50e0b87b544054e0536bfe1',
214   'src/third_party/libsrtp':
215    Var('chromium_git') + '/chromium/deps/libsrtp.git' + '@' + 'dcc1fc62771b4f25fa5f91cddec8e9a491d0ee6d',
217   'src/third_party/speex':
218    Var('chromium_git') + '/chromium/deps/speex.git' + '@' + '5260621c36c227209c7ba64ea71ca3418cf9e2b4',
220   'src/third_party/yasm/source/patched-yasm':
221    Var('chromium_git') + '/chromium/deps/yasm/patched-yasm.git' + '@' + 'c960eb11ccda80b10ed50be39df4f0663b371d1d',
223   'src/third_party/libjpeg_turbo':
224    Var('chromium_git') + '/chromium/deps/libjpeg_turbo.git' + '@' + '034e9a9747e0983bc19808ea70e469bc8342081f',
226   'src/third_party/flac':
227    Var('chromium_git') + '/chromium/deps/flac.git' + '@' + '0635a091379d9677f1ddde5f2eec85d0f096f219',
229   'src/third_party/pyftpdlib/src':
230     Var('chromium_git') + '/external/pyftpdlib.git' + '@' + '2be6d65e31c7ee6320d059f581f05ae8d89d7e45',
232   'src/third_party/scons-2.0.1':
233    Var('chromium_git') + '/native_client/src/third_party/scons-2.0.1.git' + '@' + '1c1550e17fc26355d08627fbdec13d8291227067',
235   'src/third_party/webrtc':
236     Var('chromium_git') + '/external/webrtc/trunk/webrtc.git' + '@' + '70861e04b3580c1350c5479c9ee26469f38ff782',
238   'src/third_party/openmax_dl':
239     Var('chromium_git') + '/external/webrtc/deps/third_party/openmax.git' + '@' +  Var('openmax_dl_revision'),
241   'src/third_party/jsoncpp/source/include':
242     Var('chromium_git') + '/external/jsoncpp/jsoncpp/include.git' + '@' + 'b0dd48e02b6e6248328db78a65b5c601f150c349',
244   'src/third_party/jsoncpp/source/src/lib_json':
245     Var('chromium_git') + '/external/jsoncpp/jsoncpp/src/lib_json.git' + '@' + 'a8caa51ba2f80971a45880425bf2ae864a786784',
247   'src/third_party/libyuv':
248     Var('chromium_git') + '/external/libyuv.git' + '@' + '455c66b4375d72984b79249616d0a708ad568894',
250   'src/third_party/smhasher/src':
251     Var('chromium_git') + '/external/smhasher.git' + '@' + 'e87738e57558e0ec472b2fc3a643b838e5b6e88f',
253   'src/third_party/libaddressinput/src':
254     Var('chromium_git') + '/external/libaddressinput.git' + '@' + '945d96387a716d0d82b195fa69a5e9a701249517', # from svn revision 334
256   'src/third_party/libphonenumber/src/phonenumbers':
257     Var('chromium_git') + '/external/libphonenumber/cpp/src/phonenumbers.git' + '@' + '8d8b5b3b2035197795d27573d4cf566b5d9ad689',
258   'src/third_party/libphonenumber/src/test':
259     Var('chromium_git') + '/external/libphonenumber/cpp/test.git' + '@' + '883b7b86541d64b2691f7c0e65facb0b08db73e8',
260   'src/third_party/libphonenumber/src/resources':
261     Var('chromium_git') + '/external/libphonenumber/resources.git' + '@' + 'de095548d2ae828a414e01f3951bfefba902b4e4',
263   'src/tools/deps2git':
264    Var('chromium_git') + '/chromium/tools/deps2git.git' + '@' + 'f04828eb0b5acd3e7ad983c024870f17f17b06d9',
266   'src/third_party/webpagereplay':
267    Var('chromium_git') + '/external/web-page-replay.git' + '@' + '2f7b704b8b567983c040f555d3e46f9766db8e87',
269   'src/third_party/pywebsocket/src':
270     Var('chromium_git') + '/external/pywebsocket/src.git' + '@' + 'cb349e87ddb30ff8d1fa1a89be39cec901f4a29c',
272   'src/third_party/opus/src':
273    Var('chromium_git') + '/chromium/deps/opus.git' + '@' + 'cae696156f1e60006e39821e79a1811ae1933c69',
275   'src/media/cdm/ppapi/api':
276    Var('chromium_git') + '/chromium/cdm.git' + '@' + '41c8183a3966a17b440dbe606cb2840e1b7ce884',
278   'src/third_party/mesa/src':
279    Var('chromium_git') + '/chromium/deps/mesa.git' + '@' + '457812d99a213dedf1c4cd38018ff48118d0c44f',
281   'src/third_party/cld_2/src':
282     Var('chromium_git') + '/external/cld2.git' + '@' + 'bb5c092e8c02dcc2319c5056aff2182199d51c2f',
284   'src/chrome/browser/resources/pdf/html_office':
285     Var('chromium_git') + '/chromium/html-office-public.git' + '@' + 'eeff97614f65e0578529490d44d412032c3d7359',
287   'src/third_party/libwebm/source':
288    Var('chromium_git') + '/webm/libwebm.git' + '@' + '0d4cb404ea4195e5e21d04db2c955615535ce62e',
290   'src/third_party/pdfium':
291    'https://pdfium.googlesource.com/pdfium.git' + '@' +  Var('pdfium_revision'),
293   'src/third_party/boringssl/src':
294    'https://boringssl.googlesource.com/boringssl.git' + '@' +  Var('boringssl_revision'),
298 deps_os = {
299   'win': {
300     'src/chrome/tools/test/reference_build/chrome_win':
301      Var('chromium_git') + '/chromium/reference_builds/chrome_win.git' + '@' + 'f8a3a845dfc845df6b14280f04f86a61959357ef',
303     'src/third_party/cygwin':
304      Var('chromium_git') + '/chromium/deps/cygwin.git' + '@' + 'c89e446b273697fadf3a10ff1007a97c0b7de6df',
306     'src/third_party/psyco_win32':
307      Var('chromium_git') + '/chromium/deps/psyco_win32.git' + '@' + 'f5af9f6910ee5a8075bbaeed0591469f1661d868',
309     'src/third_party/bison':
310      Var('chromium_git') + '/chromium/deps/bison.git' + '@' + '083c9a45e4affdd5464ee2b224c2df649c6e26c3',
312     'src/third_party/gperf':
313      Var('chromium_git') + '/chromium/deps/gperf.git' + '@' + 'd892d79f64f9449770443fb06da49b5a1e5d33c1',
315     'src/third_party/perl':
316      Var('chromium_git') + '/chromium/deps/perl.git' + '@' + 'ac0d98b5cee6c024b0cffeb4f8f45b6fc5ccdb78',
318     'src/third_party/lighttpd':
319      Var('chromium_git') + '/chromium/deps/lighttpd.git' + '@' + Var('lighttpd_revision'),
321     # Parses Windows PE/COFF executable format.
322     'src/third_party/pefile':
323      Var('chromium_git') + '/external/pefile.git' + '@' + '72c6ae42396cb913bcab63c15585dc3b5c3f92f1',
325     # NSS, for SSLClientSocketNSS.
326     'src/third_party/nss':
327      Var('chromium_git') + '/chromium/deps/nss.git' + '@' + Var('nss_revision'),
329     'src/third_party/swig/win':
330      Var('chromium_git') + '/chromium/deps/swig/win.git' + '@' + '986f013ba518541adf5c839811efb35630a31031',
332     # GNU binutils assembler for x86-32.
333     'src/third_party/gnu_binutils':
334       Var('chromium_git') + '/native_client/deps/third_party/gnu_binutils.git' + '@' + 'f4003433b61b25666565690caf3d7a7a1a4ec436',
335     # GNU binutils assembler for x86-64.
336     'src/third_party/mingw-w64/mingw/bin':
337       Var('chromium_git') + '/native_client/deps/third_party/mingw-w64/mingw/bin.git' + '@' + '3cc8b140b883a9fe4986d12cfd46c16a093d3527',
339     # Dependencies used by libjpeg-turbo
340     'src/third_party/yasm/binaries':
341      Var('chromium_git') + '/chromium/deps/yasm/binaries.git' + '@' + '52f9b3f4b0aa06da24ef8b123058bb61ee468881',
343     # Binaries for nacl sdk.
344     'src/third_party/nacl_sdk_binaries':
345      Var('chromium_git') + '/chromium/deps/nacl_sdk_binaries.git' + '@' + '759dfca03bdc774da7ecbf974f6e2b84f43699a5',
346   },
347   'ios': {
348     'src/third_party/google_toolbox_for_mac/src':
349       Var('chromium_git') + '/external/google-toolbox-for-mac.git' + '@' + Var('google_toolbox_for_mac_revision'),
351     'src/third_party/nss':
352      Var('chromium_git') + '/chromium/deps/nss.git' + '@' + Var('nss_revision'),
354     # class-dump utility to generate header files for undocumented SDKs
355     'src/testing/iossim/third_party/class-dump':
356      Var('chromium_git') + '/chromium/deps/class-dump.git' + '@' + '89bd40883c767584240b4dade8b74e6f57b9bdab',
358     # Code that's not needed due to not building everything
359     'src/build/util/support': None,
360     'src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin': None,
361     'src/chrome/test/data/perf/canvas_bench': None,
362     'src/chrome/test/data/perf/frame_rate/content': None,
363     'src/media/cdm/ppapi/api': None,
364     'src/native_client': None,
365     'src/third_party/bidichecker': None,
366     'src/third_party/brotli/src': None,
367     'src/third_party/cld_2/src': None,
368     'src/third_party/ffmpeg': None,
369     'src/third_party/hunspell_dictionaries': None,
370     'src/third_party/hunspell': None,
371     'src/third_party/libc++/trunk': None,
372     'src/third_party/libc++abi/trunk': None,
373     'src/third_party/libexif/sources': None,
374     'src/third_party/libjpeg_turbo': None,
375     'src/third_party/libsrtp': None,
376     'src/third_party/opus/src': None,
377     'src/third_party/openmax_dl': None,
378     'src/third_party/ots': None,
379     'src/third_party/pymox/src': None,
380     'src/third_party/safe_browsing/testing': None,
381     'src/third_party/scons-2.0.1': None,
382     'src/third_party/sfntly/cpp/src': None,
383     'src/third_party/speex': None,
384     'src/third_party/swig/Lib': None,
385     'src/third_party/usrsctp/usrsctplib': None,
386     'src/third_party/v8-i18n': None,
387     'src/third_party/webdriver/pylib': None,
388     'src/third_party/webgl': None,
389     'src/third_party/webpagereplay': None,
390     'src/third_party/WebKit/LayoutTests/w3c/web-platform-tests': None,
391     'src/third_party/WebKit/LayoutTests/w3c/csswg-test': None,
392     'src/third_party/yasm/source/patched-yasm': None,
393     'src/tools/page_cycler/acid3': None,
394   },
395   'mac': {
396     'src/chrome/tools/test/reference_build/chrome_mac':
397      Var('chromium_git') + '/chromium/reference_builds/chrome_mac.git' + '@' + '8dc181329e7c5255f83b4b85dc2f71498a237955',
399     'src/third_party/google_toolbox_for_mac/src':
400       Var('chromium_git') + '/external/google-toolbox-for-mac.git' + '@' + Var('google_toolbox_for_mac_revision'),
403     'src/third_party/pdfsqueeze':
404       Var('chromium_git') + '/external/pdfsqueeze.git' + '@' + '5936b871e6a087b7e50d4cbcb122378d8a07499f',
406     'src/third_party/lighttpd':
407      Var('chromium_git') + '/chromium/deps/lighttpd.git' + '@' + Var('lighttpd_revision'),
409     'src/third_party/swig/mac':
410      Var('chromium_git') + '/chromium/deps/swig/mac.git' + '@' + '1b182eef16df2b506f1d710b34df65d55c1ac44e',
412     # NSS, for SSLClientSocketNSS.
413     'src/third_party/nss':
414      Var('chromium_git') + '/chromium/deps/nss.git' + '@' + Var('nss_revision'),
416     'src/chrome/installer/mac/third_party/xz/xz':
417      Var('chromium_git') + '/chromium/deps/xz.git' + '@' + 'eecaf55632ca72e90eb2641376bce7cdbc7284f7',
418   },
419   'unix': {
420     # Linux, really.
421     'src/chrome/tools/test/reference_build/chrome_linux':
422      Var('chromium_git') + '/chromium/reference_builds/chrome_linux64.git' + '@' + '033d053a528e820e1de3e2db766678d862a86b36',
424     'src/third_party/xdg-utils':
425      Var('chromium_git') + '/chromium/deps/xdg-utils.git' + '@' + 'd80274d5869b17b8c9067a1022e4416ee7ed5e0d',
427     'src/third_party/swig/linux':
428      Var('chromium_git') + '/chromium/deps/swig/linux.git' + '@' + '866b8e0e0e0cfe99ebe608260030916ca0c3f92d',
430     'src/third_party/lss':
431       Var('chromium_git') + '/external/linux-syscall-support/lss.git' + '@' + Var('lss_revision'),
433     # For Linux and Chromium OS.
434     'src/third_party/cros_system_api':
435      Var('chromium_git') + '/chromiumos/platform/system_api.git' + '@' + '3a7cfa4ba91518b8dd03282d09996d2f42ec6a2b',
437     # Note that this is different from Android's freetype repo.
438     'src/third_party/freetype2/src':
439      Var('chromium_git') + '/chromium/src/third_party/freetype2.git' + '@' + 'd699c2994ecc178c4ed05ac2086061b2034c2178',
441     # Build tools for Chrome OS.
442     'src/third_party/chromite':
443      Var('chromium_git') + '/chromiumos/chromite.git' + '@' + '8e92d5c24da7967e27ab2498abc2d2f7ac6ec65a',
445     # Dependency of chromite.git.
446     'src/third_party/pyelftools':
447      Var('chromium_git') + '/chromiumos/third_party/pyelftools.git' + '@' + 'bdc1d380acd88d4bfaf47265008091483b0d614e',
449     'src/third_party/undoview':
450      Var('chromium_git') + '/chromium/deps/undoview.git' + '@' + '3ba503e248f3cdbd81b78325a24ece0984637559',
452     'src/third_party/liblouis/src':
453      Var('chromium_git') + '/external/liblouis-github.git' + '@' + '5f9c03f2a3478561deb6ae4798175094be8a26c2',
455     # Used for embedded builds. CrOS & Linux use the system version.
456     'src/third_party/fontconfig/src':
457      Var('chromium_git') + '/external/fontconfig.git' + '@' + 'f16c3118e25546c1b749f9823c51827a60aeb5c1',
458   },
459   'android': {
460     'src/third_party/android_protobuf/src':
461      Var('chromium_git') + '/external/android_protobuf.git' + '@' + '94f522f907e3f34f70d9e7816b947e62fddbb267',
463     # Whenever you roll this please also change frameworks/webview in
464     # src/android_webview/buildbot/aosp_manifest.xml to point to the same revision.
465     'src/third_party/android_webview_glue/src':
466      Var('chromium_git') + '/external/android_webview_glue.git' + '@' + '60e4952d02f2bfa3f0705043b792c01f79ffbfa6',
468     'src/third_party/android_tools':
469      Var('chromium_git') + '/android_tools.git' + '@' + 'd2b86205ff973a3844020feacb35ca6b1d82efbe',
471     'src/third_party/apache-mime4j':
472      Var('chromium_git') + '/chromium/deps/apache-mime4j.git' + '@' + '28cb1108bff4b6cf0a2e86ff58b3d025934ebe3a',
474     'src/third_party/findbugs':
475      Var('chromium_git') + '/chromium/deps/findbugs.git' + '@' + '7f69fa78a6db6dc31866d09572a0e356e921bf12',
477     'src/third_party/freetype':
478      Var('chromium_git') + '/chromium/src/third_party/freetype.git' + '@' + 'a2b9955b49034a51dfbc8bf9f4e9d312149cecac',
480     'src/third_party/guava/src':
481      Var('chromium_git') + '/external/guava-libraries.git' + '@' + 'c523556ab7d0f05afadebd20e7768d4c16af8771',
483    'src/third_party/elfutils/src':
484      Var('chromium_git') + '/external/elfutils.git' + '@' + '249673729a7e5dbd5de4f3760bdcaa3d23d154d7',
486     'src/third_party/httpcomponents-client':
487      Var('chromium_git') + '/chromium/deps/httpcomponents-client.git' + '@' + '285c4dafc5de0e853fa845dce5773e223219601c',
489     'src/third_party/httpcomponents-core':
490      Var('chromium_git') + '/chromium/deps/httpcomponents-core.git' + '@' + '9f7180a96f8fa5cab23f793c14b413356d419e62',
492     'src/third_party/jarjar':
493      Var('chromium_git') + '/chromium/deps/jarjar.git' + '@' + '2e1ead4c68c450e0b77fe49e3f9137842b8b6920',
495     'src/third_party/jsr-305/src':
496       Var('chromium_git') + '/external/jsr-305.git' + '@' + '642c508235471f7220af6d5df2d3210e3bfc0919',
498     'src/third_party/junit/src':
499       Var('chromium_git') + '/external/junit.git' + '@' + 'c62e2df8dbecccb1b434d4ba8843b59e90b03266',
501     'src/third_party/lss':
502       Var('chromium_git') + '/external/linux-syscall-support/lss.git' + '@' + Var('lss_revision'),
504     'src/third_party/eyesfree/src/android/java/src/com/googlecode/eyesfree/braille':
505       Var('chromium_git') + '/external/eyes-free/braille/client/src/com/googlecode/eyesfree/braille.git' + '@' + '77bf6edb0138e3a38a2772248696f130dab45e34',
506   },
510 include_rules = [
511   # Everybody can use some things.
512   '+base',
513   '+build',
514   '+ipc',
516   # Everybody can use headers generated by tools/generate_library_loader.
517   '+library_loaders',
519   '+testing',
520   '+third_party/icu/source/common/unicode',
521   '+third_party/icu/source/i18n/unicode',
522   '+url',
526 # checkdeps.py shouldn't check include paths for files in these dirs:
527 skip_child_includes = [
528   'breakpad',
529   'delegate_execute',
530   'metro_driver',
531   'native_client_sdk',
532   'o3d',
533   'sdch',
534   'skia',
535   'testing',
536   'third_party',
537   'v8',
538   'win8',
542 hooks = [
543   {
544     # This clobbers when necessary (based on get_landmines.py). It must be the
545     # first hook so that other things that get/generate into the output
546     # directory will not subsequently be clobbered.
547     'name': 'landmines',
548     'pattern': '.',
549     'action': [
550         'python',
551         'src/build/landmines.py',
552     ],
553   },
554   {
555     # This downloads binaries for Native Client's newlib toolchain.
556     # Done in lieu of building the toolchain from scratch as it can take
557     # anywhere from 30 minutes to 4 hours depending on platform to build.
558     'name': 'nacltools',
559     'pattern': '.',
560     'action': [
561         'python', 'src/build/download_nacl_toolchains.py',
562         '--exclude', 'arm_trusted',
563     ],
564   },
565   {
566     # Downloads an ARM sysroot image to src/arm-sysroot. This image updates
567     # at about the same rate that the chrome build deps change.
568     # This script is a no-op except for linux users who have
569     # target_arch=arm in their GYP_DEFINES.
570     'name': 'sysroot',
571     'pattern': '.',
572     'action': ['python', 'src/build/linux/install-arm-sysroot.py',
573                '--linux-only'],
574   },
575   {
576     # Downloads the Debian Wheezy sysroot to chrome/installer/linux if needed.
577     # This sysroot updates at about the same rate that the chrome build deps
578     # change. This script is a no-op except for linux users who are doing
579     # official chrome builds.
580     'name': 'sysroot',
581     'pattern': '.',
582     'action': [
583         'python',
584         'src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py',
585         '--linux-only',
586         '--arch=amd64'],
587   },
588   {
589     # Same as above, but for 32-bit Linux.
590     'name': 'sysroot',
591     'pattern': '.',
592     'action': [
593         'python',
594         'src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py',
595         '--linux-only',
596         '--arch=i386'],
597   },
598   {
599     # Pull clang if on Mac or clang is requested via GYP_DEFINES.
600     'name': 'clang',
601     'pattern': '.',
602     'action': ['python', 'src/tools/clang/scripts/update.py', '--if-needed'],
603   },
604   {
605     # Update the Windows toolchain if necessary.
606     'name': 'win_toolchain',
607     'pattern': '.',
608     'action': ['python', 'src/build/vs_toolchain.py', 'update'],
609   },
610   {
611     # Update LASTCHANGE. This is also run by export_tarball.py in
612     # src/tools/export_tarball - please keep them in sync.
613     'name': 'lastchange',
614     'pattern': '.',
615     'action': ['python', 'src/build/util/lastchange.py',
616                '-o', 'src/build/util/LASTCHANGE'],
617   },
618   {
619     # Update LASTCHANGE.blink. This is also run by export_tarball.py in
620     # src/tools/export_tarball - please keep them in sync.
621     'name': 'lastchange',
622     'pattern': '.',
623     'action': ['python', 'src/build/util/lastchange.py',
624                '-s', 'src/third_party/WebKit',
625                '-o', 'src/build/util/LASTCHANGE.blink'],
626   },
627   # Pull GN binaries. This needs to be before running GYP below.
628   {
629     'name': 'gn_win',
630     'pattern': '.',
631     'action': [ 'download_from_google_storage',
632                 '--no_resume',
633                 '--platform=win32',
634                 '--no_auth',
635                 '--bucket', 'chromium-gn',
636                 '-s', 'src/buildtools/win/gn.exe.sha1',
637     ],
638   },
639   {
640     'name': 'gn_mac',
641     'pattern': '.',
642     'action': [ 'download_from_google_storage',
643                 '--no_resume',
644                 '--platform=darwin',
645                 '--no_auth',
646                 '--bucket', 'chromium-gn',
647                 '-s', 'src/buildtools/mac/gn.sha1',
648     ],
649   },
650   {
651     'name': 'gn_linux32',
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/linux32/gn.sha1',
659     ],
660   },
661   {
662     'name': 'gn_linux64',
663     'pattern': '.',
664     'action': [ 'download_from_google_storage',
665                 '--no_resume',
666                 '--platform=linux*',
667                 '--no_auth',
668                 '--bucket', 'chromium-gn',
669                 '-s', 'src/buildtools/linux64/gn.sha1',
670     ],
671   },
672   {
673     # Remove GN binaries from tools/gn/bin that aren't used anymore.
674     # TODO(brettw) remove after the end of July, 2014.
675     'name': 'remove_old_gn_binaries',
676     'pattern': '.',
677     'action': ['python', 'src/tools/gn/bin/rm_binaries.py'],
678   },
679   # Pull clang-format binaries using checked-in hashes.
680   {
681     'name': 'clang_format_win',
682     'pattern': '.',
683     'action': [ 'download_from_google_storage',
684                 '--no_resume',
685                 '--platform=win32',
686                 '--no_auth',
687                 '--bucket', 'chromium-clang-format',
688                 '-s', 'src/buildtools/win/clang-format.exe.sha1',
689     ],
690   },
691   {
692     'name': 'clang_format_mac',
693     'pattern': '.',
694     'action': [ 'download_from_google_storage',
695                 '--no_resume',
696                 '--platform=darwin',
697                 '--no_auth',
698                 '--bucket', 'chromium-clang-format',
699                 '-s', 'src/buildtools/mac/clang-format.sha1',
700     ],
701   },
702   {
703     'name': 'clang_format_linux',
704     'pattern': '.',
705     'action': [ 'download_from_google_storage',
706                 '--no_resume',
707                 '--platform=linux*',
708                 '--no_auth',
709                 '--bucket', 'chromium-clang-format',
710                 '-s', 'src/buildtools/linux64/clang-format.sha1',
711     ],
712   },
713   # Pull binutils for linux, enabled debug fission for faster linking /
714   # debugging when used with clang on Ubuntu Precise.
715   # https://code.google.com/p/chromium/issues/detail?id=352046
716   {
717     'name': 'binutils',
718     'pattern': 'src/third_party/binutils',
719     'action': [
720         'python',
721         'src/third_party/binutils/download.py',
722     ],
723   },
724   # Pull eu-strip binaries using checked-in hashes.
725   {
726     'name': 'eu-strip',
727     'pattern': '.',
728     'action': [ 'download_from_google_storage',
729                 '--no_resume',
730                 '--platform=linux*',
731                 '--no_auth',
732                 '--bucket', 'chromium-eu-strip',
733                 '-s', 'src/build/linux/bin/eu-strip.sha1',
734     ],
735   },
736   {
737     'name': 'drmemory',
738     'pattern': '.',
739     'action': [ 'download_from_google_storage',
740                 '--no_resume',
741                 '--platform=win32',
742                 '--no_auth',
743                 '--bucket', 'chromium-drmemory',
744                 '-s', 'src/third_party/drmemory/drmemory-windows-sfx.exe.sha1',
745               ],
746   },
747   # Pull the Syzygy binaries, used for optimization and instrumentation.
748   {
749     'name': 'syzygy-binaries',
750     'pattern': '.',
751     'action': ['python',
752                'src/build/get_syzygy_binaries.py',
753                '--output-dir=src/third_party/syzygy/binaries',
754                '--revision=363bc02a09c380b6f5f397606cc0744d85d54a51',
755                '--overwrite',
756     ],
757   },
758   {
759     'name': 'apache_win32',
760     'pattern': '\\.sha1',
761     'action': [ 'download_from_google_storage',
762                 '--no_resume',
763                 '--platform=win32',
764                 '--directory',
765                 '--recursive',
766                 '--no_auth',
767                 '--num_threads=16',
768                 '--bucket', 'chromium-apache-win32',
769                 'src/third_party/apache-win32',
770     ],
771   },
772   {
773     # A change to a .gyp, .gypi, or to GYP itself should run the generator.
774     'name': 'gyp',
775     'pattern': '.',
776     'action': ['python', 'src/build/gyp_chromium'],
777   },
778   {
779     # Verify committers' ~/.netc, gclient and git are properly configured for
780     # write access to the git repo. To be removed sometime after Chrome to git
781     # migration completes (let's say Sep 1 2014).
782     'name': 'check_git_config',
783     'pattern': '.',
784     'action': [
785         'python',
786         'src/tools/check_git_config.py',
787         '--running-as-hook',
788     ],
789   },
790   {
791     # Ensure that we don't accidentally reference any .pyc files whose
792     # corresponding .py files have already been deleted.
793     'name': 'remove_stale_pyc_files',
794     'pattern': 'src/tools/.*\\.py',
795     'action': [
796         'python',
797         'src/tools/remove_stale_pyc_files.py',
798         'src/tools',
799     ],
800   },