Reject JWK that contains non base64url characters (including padding).
[chromium-blink-merge.git] / DEPS
blobd6af369614080e00ef0b968e6823277ce0e73d22
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': '47f1b8077442e4348313dbc878247d571d302eb0', # from svn revision 185830
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': '947556f6583e62b1ae19dcda94e0dea78babda2b',
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': '43c0584a4b83eefc27c519f577b62f3960a1772d',
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': '5b827c923a90260bfd3fcd8601884b80c0c43a04',
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": "746d0ea79208b514e95e626310bec513fa666ca4",
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': '6ea835db27479b9a5742e48b5e4466af7c2534ff',
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': '1dc4f4112d72c63e465d6f09695ebea1119d39a6',
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': '69a01608f33ab6fe2c3485d94aef1fe9eacf5364',
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': '258342ecf9c65105189092ef6339dc4e7779a7ae',
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': '08bd0ea32e2c5550ba98a1f729394ba0b4921163', # from svn revision r14112
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' + '@' + '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' + '@' + '011451c5eec3a0230ff64db445ef87d8cf014f23',
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' + '@' + 'dd727641e190d60e4593bcb3a35c7f51eb4925c5', # from svn revision 292996
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' + '@' + '803d69203a62faf50f1b77897310a3a1fcae712b',
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' + '@' + 'b13d8f243da15ded051e87e663c4f2c2fcc5804c', # from svn revision 1994
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' + '@' + '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' + '@' + 'fed7b07985de8d293761040aa1edcdfd3c2579e4',
222   'src/third_party/libjingle/source/talk':
223     Var('chromium_git') + '/external/webrtc/trunk/talk.git' + '@' + '4ebccc9e97c8c9792ea040f092451e1d992774de', # from svn revision 7728
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' + '@' + '41266d1ce1996bf9e7d5ac0e632bd6341efe5f73', # from svn revision 7727
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   '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' + '@' + '14d9ef8d4766326f8aa7de54402d1b9c782d4481', # from svn revision 193
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/ffmpeg': None,
381     'src/third_party/hunspell_dictionaries': None,
382     'src/third_party/hunspell': None,
383     'src/third_party/webgl': None,
384   },
385   'mac': {
386     'src/chrome/tools/test/reference_build/chrome_mac':
387      Var('chromium_git') + '/chromium/reference_builds/chrome_mac.git' + '@' + '8dc181329e7c5255f83b4b85dc2f71498a237955',
389     'src/third_party/google_toolbox_for_mac/src':
390       Var('chromium_git') + '/external/google-toolbox-for-mac.git' + '@' + Var('google_toolbox_for_mac_revision'),
393     'src/third_party/pdfsqueeze':
394       Var('chromium_git') + '/external/pdfsqueeze.git' + '@' + '5936b871e6a087b7e50d4cbcb122378d8a07499f',
396     'src/third_party/lighttpd':
397      Var('chromium_git') + '/chromium/deps/lighttpd.git' + '@' + Var('lighttpd_revision'),
399     'src/third_party/swig/mac':
400      Var('chromium_git') + '/chromium/deps/swig/mac.git' + '@' + '1b182eef16df2b506f1d710b34df65d55c1ac44e',
402     # NSS, for SSLClientSocketNSS.
403     'src/third_party/nss':
404      Var('chromium_git') + '/chromium/deps/nss.git' + '@' + Var('nss_revision'),
406     'src/chrome/installer/mac/third_party/xz/xz':
407      Var('chromium_git') + '/chromium/deps/xz.git' + '@' + 'eecaf55632ca72e90eb2641376bce7cdbc7284f7',
408   },
409   'unix': {
410     # Linux, really.
411     'src/chrome/tools/test/reference_build/chrome_linux':
412      Var('chromium_git') + '/chromium/reference_builds/chrome_linux64.git' + '@' + '033d053a528e820e1de3e2db766678d862a86b36',
414     'src/third_party/xdg-utils':
415      Var('chromium_git') + '/chromium/deps/xdg-utils.git' + '@' + 'd80274d5869b17b8c9067a1022e4416ee7ed5e0d',
417     'src/third_party/swig/linux':
418      Var('chromium_git') + '/chromium/deps/swig/linux.git' + '@' + '866b8e0e0e0cfe99ebe608260030916ca0c3f92d',
420     'src/third_party/lss':
421       Var('chromium_git') + '/external/linux-syscall-support/lss.git' + '@' + Var('lss_revision'),
423     # For Linux and Chromium OS.
424     'src/third_party/cros_system_api':
425      Var('chromium_git') + '/chromiumos/platform/system_api.git' + '@' + '6137749888584b497e2e4282bac985bb1dd29291',
427     # Note that this is different from Android's freetype repo.
428     'src/third_party/freetype2/src':
429      Var('chromium_git') + '/chromium/src/third_party/freetype2.git' + '@' + '495a23fce9cd125f715dc20643d14fed226d76ac',
431     # Build tools for Chrome OS.
432     'src/third_party/chromite':
433      Var('chromium_git') + '/chromiumos/chromite.git' + '@' + '147e93dd028bca61352fd82d59ca1fe267db187a',
435     # Dependency of chromite.git.
436     'src/third_party/pyelftools':
437      Var('chromium_git') + '/chromiumos/third_party/pyelftools.git' + '@' + 'bdc1d380acd88d4bfaf47265008091483b0d614e',
439     'src/third_party/undoview':
440      Var('chromium_git') + '/chromium/deps/undoview.git' + '@' + '3ba503e248f3cdbd81b78325a24ece0984637559',
442     'src/third_party/liblouis/src':
443      Var('chromium_git') + '/external/liblouis-github.git' + '@' + '5f9c03f2a3478561deb6ae4798175094be8a26c2',
445     # Used for embedded builds. CrOS & Linux use the system version.
446     'src/third_party/fontconfig/src':
447      Var('chromium_git') + '/external/fontconfig.git' + '@' + 'f16c3118e25546c1b749f9823c51827a60aeb5c1',
448   },
449   'android': {
450     'src/third_party/android_protobuf/src':
451      Var('chromium_git') + '/external/android_protobuf.git' + '@' + '94f522f907e3f34f70d9e7816b947e62fddbb267',
453     # Whenever you roll this please also change frameworks/webview in
454     # src/android_webview/buildbot/aosp_manifest.xml to point to the same revision.
455     'src/third_party/android_webview_glue/src':
456      Var('chromium_git') + '/external/android_webview_glue.git' + '@' + '4e0495ed16a0da2afa1d16bc34a71345172a258f',
458     'src/third_party/android_tools':
459      Var('chromium_git') + '/android_tools.git' + '@' + 'ea50cccc11657404ce22cf928062ed1a3927eb39',
461     'src/third_party/apache-mime4j':
462      Var('chromium_git') + '/chromium/deps/apache-mime4j.git' + '@' + '28cb1108bff4b6cf0a2e86ff58b3d025934ebe3a',
464     'src/third_party/appurify-python/src/':
465      Var('chromium_git') + '/external/github.com/appurify/appurify-python' + '@' + 'ee7abd5c5ae3106f72b2a0b9d2cb55094688e867',
467     'src/third_party/findbugs':
468      Var('chromium_git') + '/chromium/deps/findbugs.git' + '@' + '7f69fa78a6db6dc31866d09572a0e356e921bf12',
470     'src/third_party/freetype':
471      Var('chromium_git') + '/chromium/src/third_party/freetype.git' + '@' + 'a2b9955b49034a51dfbc8bf9f4e9d312149cecac',
473    'src/third_party/elfutils/src':
474      Var('chromium_git') + '/external/elfutils.git' + '@' + '249673729a7e5dbd5de4f3760bdcaa3d23d154d7',
476     'src/third_party/httpcomponents-client':
477      Var('chromium_git') + '/chromium/deps/httpcomponents-client.git' + '@' + '285c4dafc5de0e853fa845dce5773e223219601c',
479     'src/third_party/httpcomponents-core':
480      Var('chromium_git') + '/chromium/deps/httpcomponents-core.git' + '@' + '9f7180a96f8fa5cab23f793c14b413356d419e62',
482     'src/third_party/jarjar':
483      Var('chromium_git') + '/chromium/deps/jarjar.git' + '@' + '2e1ead4c68c450e0b77fe49e3f9137842b8b6920',
485     'src/third_party/jsr-305/src':
486       Var('chromium_git') + '/external/jsr-305.git' + '@' + '642c508235471f7220af6d5df2d3210e3bfc0919',
488     'src/third_party/junit/src':
489       Var('chromium_git') + '/external/junit.git' + '@' + 'c62e2df8dbecccb1b434d4ba8843b59e90b03266',
491     'src/third_party/lss':
492       Var('chromium_git') + '/external/linux-syscall-support/lss.git' + '@' + Var('lss_revision'),
494     'src/third_party/eyesfree/src/android/java/src/com/googlecode/eyesfree/braille':
495       Var('chromium_git') + '/external/eyes-free/braille/client/src/com/googlecode/eyesfree/braille.git' + '@' + '77bf6edb0138e3a38a2772248696f130dab45e34',
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     ],
554   },
555   {
556     # Downloads the Debian Wheezy sysroot to chrome/installer/linux if needed.
557     # This sysroot updates at about the same rate that the chrome build deps
558     # change. This script is a no-op except for linux users who are doing
559     # official chrome builds.
560     'name': 'sysroot',
561     'pattern': '.',
562     'action': [
563         'python',
564         'src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py',
565         '--linux-only',
566         '--arch=amd64'],
567   },
568   {
569     # Same as above, but for 32-bit Linux.
570     'name': 'sysroot',
571     'pattern': '.',
572     'action': [
573         'python',
574         'src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py',
575         '--linux-only',
576         '--arch=i386'],
577   },
578   {
579     # Same as above, but for ARM Linux.
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=arm'],
587   },
588   {
589     # Update the Windows toolchain if necessary.
590     'name': 'win_toolchain',
591     'pattern': '.',
592     'action': ['python', 'src/build/vs_toolchain.py', 'update'],
593   },
594   {
595     # Pull clang if needed or requested via GYP_DEFINES.
596     # Note: On Win, this should run after win_toolchain, as it may use it.
597     'name': 'clang',
598     'pattern': '.',
599     'action': ['python', 'src/tools/clang/scripts/update.py', '--if-needed'],
600   },
601   {
602     # Update LASTCHANGE. This is also run by export_tarball.py in
603     # src/tools/export_tarball - please keep them in sync.
604     'name': 'lastchange',
605     'pattern': '.',
606     'action': ['python', 'src/build/util/lastchange.py',
607                '-o', 'src/build/util/LASTCHANGE'],
608   },
609   {
610     # Update LASTCHANGE.blink. This is also run by export_tarball.py in
611     # src/tools/export_tarball - please keep them in sync.
612     'name': 'lastchange',
613     'pattern': '.',
614     'action': ['python', 'src/build/util/lastchange.py',
615                '-s', 'src/third_party/WebKit',
616                '-o', 'src/build/util/LASTCHANGE.blink'],
617   },
618   # Pull GN binaries. This needs to be before running GYP below.
619   {
620     'name': 'gn_win',
621     'pattern': '.',
622     'action': [ 'download_from_google_storage',
623                 '--no_resume',
624                 '--platform=win32',
625                 '--no_auth',
626                 '--bucket', 'chromium-gn',
627                 '-s', 'src/buildtools/win/gn.exe.sha1',
628     ],
629   },
630   {
631     'name': 'gn_mac',
632     'pattern': '.',
633     'action': [ 'download_from_google_storage',
634                 '--no_resume',
635                 '--platform=darwin',
636                 '--no_auth',
637                 '--bucket', 'chromium-gn',
638                 '-s', 'src/buildtools/mac/gn.sha1',
639     ],
640   },
641   {
642     'name': 'gn_linux32',
643     'pattern': '.',
644     'action': [ 'download_from_google_storage',
645                 '--no_resume',
646                 '--platform=linux*',
647                 '--no_auth',
648                 '--bucket', 'chromium-gn',
649                 '-s', 'src/buildtools/linux32/gn.sha1',
650     ],
651   },
652   {
653     'name': 'gn_linux64',
654     'pattern': '.',
655     'action': [ 'download_from_google_storage',
656                 '--no_resume',
657                 '--platform=linux*',
658                 '--no_auth',
659                 '--bucket', 'chromium-gn',
660                 '-s', 'src/buildtools/linux64/gn.sha1',
661     ],
662   },
663   # Pull clang-format binaries using checked-in hashes.
664   {
665     'name': 'clang_format_win',
666     'pattern': '.',
667     'action': [ 'download_from_google_storage',
668                 '--no_resume',
669                 '--platform=win32',
670                 '--no_auth',
671                 '--bucket', 'chromium-clang-format',
672                 '-s', 'src/buildtools/win/clang-format.exe.sha1',
673     ],
674   },
675   {
676     'name': 'clang_format_mac',
677     'pattern': '.',
678     'action': [ 'download_from_google_storage',
679                 '--no_resume',
680                 '--platform=darwin',
681                 '--no_auth',
682                 '--bucket', 'chromium-clang-format',
683                 '-s', 'src/buildtools/mac/clang-format.sha1',
684     ],
685   },
686   {
687     'name': 'clang_format_linux',
688     'pattern': '.',
689     'action': [ 'download_from_google_storage',
690                 '--no_resume',
691                 '--platform=linux*',
692                 '--no_auth',
693                 '--bucket', 'chromium-clang-format',
694                 '-s', 'src/buildtools/linux64/clang-format.sha1',
695     ],
696   },
697   # Pull binutils for linux, enabled debug fission for faster linking /
698   # debugging when used with clang on Ubuntu Precise.
699   # https://code.google.com/p/chromium/issues/detail?id=352046
700   {
701     'name': 'binutils',
702     'pattern': 'src/third_party/binutils',
703     'action': [
704         'python',
705         'src/third_party/binutils/download.py',
706     ],
707   },
708   # Pull eu-strip binaries using checked-in hashes.
709   {
710     'name': 'eu-strip',
711     'pattern': '.',
712     'action': [ 'download_from_google_storage',
713                 '--no_resume',
714                 '--platform=linux*',
715                 '--no_auth',
716                 '--bucket', 'chromium-eu-strip',
717                 '-s', 'src/build/linux/bin/eu-strip.sha1',
718     ],
719   },
720   {
721     'name': 'drmemory',
722     'pattern': '.',
723     'action': [ 'download_from_google_storage',
724                 '--no_resume',
725                 '--platform=win32',
726                 '--no_auth',
727                 '--bucket', 'chromium-drmemory',
728                 '-s', 'src/third_party/drmemory/drmemory-windows-sfx.exe.sha1',
729               ],
730   },
731   # Pull the Syzygy binaries, used for optimization and instrumentation.
732   {
733     'name': 'syzygy-binaries',
734     'pattern': '.',
735     'action': ['python',
736                'src/build/get_syzygy_binaries.py',
737                '--output-dir=src/third_party/syzygy/binaries',
738                '--revision=8e9cad04773de6f084027cfce643584a1794981f',
739                '--overwrite',
740     ],
741   },
742   {
743     'name': 'apache_win32',
744     'pattern': '\\.sha1',
745     'action': [ 'download_from_google_storage',
746                 '--no_resume',
747                 '--platform=win32',
748                 '--directory',
749                 '--recursive',
750                 '--no_auth',
751                 '--num_threads=16',
752                 '--bucket', 'chromium-apache-win32',
753                 'src/third_party/apache-win32',
754     ],
755   },
756   # Pull the mojo_shell binary, used for mojo development
757   {
758     'name': 'download_mojo_shell',
759     'pattern': '',
760     'action': [ 'python', 'src/mojo/public/tools/download_shell_binary.py' ],
761   },
762   {
763     # A change to a .gyp, .gypi, or to GYP itself should run the generator.
764     'name': 'gyp',
765     'pattern': '.',
766     'action': ['python', 'src/build/gyp_chromium'],
767   },
768   {
769     # Verify committers' ~/.netc, gclient and git are properly configured for
770     # write access to the git repo. To be removed sometime after Chrome to git
771     # migration completes (let's say Sep 1 2014).
772     'name': 'check_git_config',
773     'pattern': '.',
774     'action': [
775         'python',
776         'src/tools/check_git_config.py',
777         '--running-as-hook',
778     ],
779   },
780   {
781     # Ensure that we don't accidentally reference any .pyc files whose
782     # corresponding .py files have already been deleted.
783     'name': 'remove_stale_pyc_files',
784     'pattern': 'src/tools/.*\\.py',
785     'action': [
786         'python',
787         'src/tools/remove_stale_pyc_files.py',
788         'src/tools',
789     ],
790   },