blob: b5575740d42dcd6d785f3780137fd440c912b3ec [file] [log] [blame]
kjellander@webrtc.org177567c2016-12-22 10:40:28 +01001# This file contains dependencies for WebRTC.
kjellander@webrtc.org89256622014-08-20 12:10:11 +00002
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +00003vars = {
kjellander@webrtc.org8e5c8142014-12-03 07:11:44 +00004 'chromium_git': 'https://chromium.googlesource.com',
Henrik Kjellandera9d4da82017-09-14 07:28:10 +02005 'webrtc_git': 'https://webrtc.googlesource.com',
Autorollerb4aeb5b2017-09-25 02:50:05 -07006 'chromium_revision': '533744aa7772db7ede651fc9639d9598b3ee7420',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +01007 'boringssl_git': 'https://boringssl.googlesource.com',
8 # Three lines of non-changing comments so that
9 # the commit queue can handle CLs rolling swarming_client
10 # and whatever else without interference from each other.
buildbotb600d872017-09-11 06:55:38 -070011 'swarming_revision': '5e8001d9a710121ce7a68efd0804430a34b4f9e4',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010012 # Three lines of non-changing comments so that
13 # the commit queue can handle CLs rolling openmax_dl
14 # and whatever else without interference from each other.
15 'openmax_dl_revision': '7acede9c039ea5d14cf326f44aad1245b9e674a7',
16 # Three lines of non-changing comments so that
17 # the commit queue can handle CLs rolling BoringSSL
18 # and whatever else without interference from each other.
Autoroller8e8da132017-09-21 08:50:17 -070019 'boringssl_revision': 'c03c2181901fe44e0eec700aaf645769ea2d240a',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010020 # Three lines of non-changing comments so that
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010021 # the commit queue can handle CLs rolling lss
22 # and whatever else without interference from each other.
kjellander251eb272017-04-05 22:49:24 -070023 'lss_revision': '63f24c8221a229f677d26ebe8f3d1528a9d787ac',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010024 # Three lines of non-changing comments so that
25 # the commit queue can handle CLs rolling catapult
26 # and whatever else without interference from each other.
Autoroller5c536412017-09-24 23:49:59 -070027 'catapult_revision': 'a8018a6284d053d1c80ee0119ee33bd80ff7fae9',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010028 # Three lines of non-changing comments so that
29 # the commit queue can handle CLs rolling libFuzzer
30 # and whatever else without interference from each other.
oprypin801f7222017-09-01 05:43:07 -070031 'libfuzzer_revision': 'edcfbba60b279570f7f065bba421e4b01adbc3f1',
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000032}
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000033deps = {
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010034 # TODO(kjellander): Move this to be Android-only once the libevent dependency
35 # in base/third_party/libevent is solved.
36 'src/base':
Autorollerfc63a7f2017-09-24 14:50:13 -070037 Var('chromium_git') + '/chromium/src/base' + '@' + '234faf4fdde9599ad4a436b252592f2662af379d',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010038 'src/build':
Autorollerfc63a7f2017-09-24 14:50:13 -070039 Var('chromium_git') + '/chromium/src/build' + '@' + 'f404a070d4c91629dc849e3a9d01ef2f88ade364',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010040 'src/buildtools':
Autorollere10c01c2017-09-21 05:49:56 -070041 Var('chromium_git') + '/chromium/buildtools.git' + '@' + 'f6d165d9d842ddd29056c127a5f3a3c5d8e0d2e3',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010042 'src/testing':
Autorollerfc63a7f2017-09-24 14:50:13 -070043 Var('chromium_git') + '/chromium/src/testing' + '@' + '977a33acb7777b0f0e847f874da602907e0d11b8',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010044 'src/third_party':
Autorollerb4aeb5b2017-09-25 02:50:05 -070045 Var('chromium_git') + '/chromium/src/third_party' + '@' + '1a0d9f104bb0f4140a276fa2b930bfb501588534',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010046 'src/third_party/boringssl/src':
47 Var('boringssl_git') + '/boringssl.git' + '@' + Var('boringssl_revision'),
48 'src/third_party/catapult':
49 Var('chromium_git') + '/external/github.com/catapult-project/catapult.git' + '@' + Var('catapult_revision'),
50 'src/third_party/colorama/src':
51 Var('chromium_git') + '/external/colorama.git' + '@' + '799604a1041e9b3bc5d2789ecbd7e8db2e18e6b8',
oprypin40e7ebd2017-07-27 01:40:18 -070052 'src/third_party/depot_tools':
oprypin801f7222017-09-01 05:43:07 -070053 Var('chromium_git') + '/chromium/tools/depot_tools.git' + '@' + 'b2e961b1171d9f27278461a0a3286ab89161368c',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010054 'src/third_party/ffmpeg':
buildbotd4d10f72017-08-28 21:19:01 -070055 Var('chromium_git') + '/chromium/third_party/ffmpeg.git' + '@' + '1e201feaa3260336aa63545c9471b76e5aef2e0a',
kjellander3dae7052017-05-03 06:44:36 -070056 'src/third_party/googletest/src':
buildbot8f82e632017-08-30 21:18:15 -070057 Var('chromium_git') + '/external/github.com/google/googletest.git' + '@' + '7f8fefabedf2965980585be8c2bff97458f28e0b',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010058 'src/third_party/jsoncpp/source':
59 Var('chromium_git') + '/external/github.com/open-source-parsers/jsoncpp.git' + '@' + 'f572e8e42e22cfcf5ab0aea26574f408943edfa4', # from svn 248
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010060 # Used for building libFuzzers (only supports Linux).
61 'src/third_party/libFuzzer/src':
oprypin801f7222017-09-01 05:43:07 -070062 Var('chromium_git') + '/chromium/llvm-project/compiler-rt/lib/fuzzer.git' + '@' + Var('libfuzzer_revision'),
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010063 'src/third_party/libjpeg_turbo':
buildbot1c23e942017-04-20 09:30:13 -070064 Var('chromium_git') + '/chromium/deps/libjpeg_turbo.git' + '@' + 'a1750dbc79a8792dde3d3f7d7d8ac28ba01ac9dd',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010065 'src/third_party/libsrtp':
buildbotc9be3d52017-06-29 10:11:34 -070066 Var('chromium_git') + '/chromium/deps/libsrtp.git' + '@' + '1d45b8e599dc2db6ea3ae22dbc94a8c504652423',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010067 'src/third_party/libvpx/source/libvpx':
Autorollerfc63a7f2017-09-24 14:50:13 -070068 Var('chromium_git') + '/webm/libvpx.git' + '@' + '10bab1ec2966e0c22e80965b00b2a953a338880b',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010069 'src/third_party/libyuv':
Autorolleraa0fe122017-09-20 17:49:57 -070070 Var('chromium_git') + '/libyuv/libyuv.git' + '@' + '5b1af9a33545895ea12c52bf007f17914de19173',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010071 'src/third_party/openh264/src':
72 Var('chromium_git') + '/external/github.com/cisco/openh264' + '@' + '0fd88df93c5dcaf858c57eb7892bd27763f0f0ac',
73 'src/third_party/openmax_dl':
Henrik Kjellandera9d4da82017-09-14 07:28:10 +020074 Var('webrtc_git') + '/deps/third_party/openmax.git' + '@' + Var('openmax_dl_revision'),
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010075 'src/third_party/usrsctp/usrsctplib':
buildbot1b20dc42017-08-07 12:55:14 -070076 Var('chromium_git') + '/external/github.com/sctplab/usrsctp' + '@' + 'f4819e1b177f7bfdd761c147f5a649b9f1a78c06',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010077 'src/third_party/yasm/source/patched-yasm':
buildbotf3f7f622017-08-10 21:29:33 -070078 Var('chromium_git') + '/chromium/deps/yasm/patched-yasm.git' + '@' + 'b98114e18d8b9b84586b10d24353ab8616d4c5fc',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010079 'src/tools':
Autorollerb4aeb5b2017-09-25 02:50:05 -070080 Var('chromium_git') + '/chromium/src/tools' + '@' + 'd37af930bfe66bce0e8282e854a637041ef40be2',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010081 'src/tools/gyp':
buildbot2f0803c2017-07-25 11:40:43 -070082 Var('chromium_git') + '/external/gyp.git' + '@' + 'd61a9397e668fa9843c4aa7da9e79460fe590bfb',
oprypin4ccd9c12017-08-30 00:42:43 -070083 'src/tools/swarming_client':
84 Var('chromium_git') + '/infra/luci/client-py.git' + '@' + Var('swarming_revision'),
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010085 # WebRTC-only dependencies (not present in Chromium).
Oleh Prypin5ab68542017-09-25 09:18:00 +000086 'src/third_party/gflags':
87 Var('webrtc_git') + '/deps/third_party/gflags' + '@' + '892576179b45861b53e04a112996a738309cf364',
88 'src/third_party/gflags/src':
89 Var('chromium_git') + '/external/github.com/gflags/gflags' + '@' + '03bebcb065c83beff83d50ae025a55a4bf94dfca',
kjellander0012d182016-12-20 01:36:35 -080090 'src/third_party/gtest-parallel':
Autorolleraa0fe122017-09-20 17:49:57 -070091 Var('chromium_git') + '/external/github.com/google/gtest-parallel' + '@' + 'ee2027381105650fb1c66b2b121ba00b79e84d5c',
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000092}
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000093deps_os = {
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010094 'android': {
95 'src/third_party/android_tools':
buildbotd7b3d392017-09-06 12:31:24 -070096 Var('chromium_git') + '/android_tools.git' + '@' + 'aadb2fed04af8606545b0afe4e3060bc1a15fad7',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010097 'src/third_party/ced/src':
buildbot6ba5e2c2017-09-12 18:16:44 -070098 Var('chromium_git') + '/external/github.com/google/compact_enc_det.git' + '@' + '94c367a1fe3a13207f4b22604fcfd1d9f9ddf6d9',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010099 'src/third_party/icu':
charujain474acce2017-08-25 06:21:52 -0700100 Var('chromium_git') + '/chromium/deps/icu.git' + '@' + '08cb956852a5ccdba7f9c941728bb833529ba3c6',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +0100101 'src/third_party/jsr-305/src':
102 Var('chromium_git') + '/external/jsr-305.git' + '@' + '642c508235471f7220af6d5df2d3210e3bfc0919',
103 'src/third_party/junit/src':
104 Var('chromium_git') + '/external/junit.git' + '@' + '64155f8a9babcfcf4263cf4d08253a1556e75481',
105 'src/third_party/lss':
106 Var('chromium_git') + '/linux-syscall-support.git' + '@' + Var('lss_revision'),
107 'src/third_party/mockito/src':
108 Var('chromium_git') + '/external/mockito/mockito.git' + '@' + 'de83ad4598ad4cf5ea53c69a8a8053780b04b850',
109 'src/third_party/requests/src':
110 Var('chromium_git') + '/external/github.com/kennethreitz/requests.git' + '@' + 'f172b30356d821d180fa4ecfa3e71c7274a32de4',
111 'src/third_party/robolectric/robolectric':
oprypin801f7222017-09-01 05:43:07 -0700112 Var('chromium_git') + '/external/robolectric.git' + '@' + 'b02c65cc6d7465f58f0de48a39914aa905692afa',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +0100113 'src/third_party/ub-uiautomator/lib':
114 Var('chromium_git') + '/chromium/third_party/ub-uiautomator.git' + '@' + '00270549ce3161ae72ceb24712618ea28b4f9434',
sakal2e3574d2017-05-09 02:10:57 -0700115 # Gradle 3.5.0. Used for testing Android Studio project generation for WebRTC.
Mirko Bonadei92ea95e2017-09-15 06:47:31 +0200116 'src/examples/androidtests/third_party/gradle':
sakal2e3574d2017-05-09 02:10:57 -0700117 Var('chromium_git') + '/external/github.com/gradle/gradle.git' + '@' +
sakal42f1d6e2017-08-11 01:03:13 -0700118 '941559e020f6c357ebb08d5c67acdb858a3defc2',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +0100119 },
Henrik Kjellanderc3c82362017-01-26 16:42:28 +0100120 'ios': {
121 'src/ios':
Autorollerb4aeb5b2017-09-25 02:50:05 -0700122 Var('chromium_git') + '/chromium/src/ios' + '@' + 'a9b189f61da21216cc78d57c68d6626906768f65',
Henrik Kjellanderc3c82362017-01-26 16:42:28 +0100123 },
kjellander@webrtc.org177567c2016-12-22 10:40:28 +0100124 'unix': {
125 'src/third_party/lss':
126 Var('chromium_git') + '/linux-syscall-support.git' + '@' + Var('lss_revision'),
127 },
kjellander@webrtc.org8e5c8142014-12-03 07:11:44 +0000128 'win': {
kjellander@webrtc.org177567c2016-12-22 10:40:28 +0100129 # Dependencies used by libjpeg-turbo
130 'src/third_party/yasm/binaries':
131 Var('chromium_git') + '/chromium/deps/yasm/binaries.git' + '@' + '52f9b3f4b0aa06da24ef8b123058bb61ee468881',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +0100132 # WebRTC-only dependency (not present in Chromium).
kjellander0012d182016-12-20 01:36:35 -0800133 'src/third_party/winsdk_samples':
Henrik Kjellandera9d4da82017-09-14 07:28:10 +0200134 Var('webrtc_git') + '/deps/third_party/winsdk_samples_v71' + '@' + '2d31a1cbecc86359e6ec041fb9ff6c082babd073',
henrike@webrtc.org8d27a1c2013-07-23 18:15:11 +0000135 },
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +0000136}
kjellander200028f2017-08-17 09:54:12 -0700137
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +0000138hooks = [
139 {
Henrik Kjellander27576e02015-10-15 14:24:09 +0200140 # This clobbers when necessary (based on get_landmines.py). It should be
141 # an early hook but it will need to be run after syncing Chromium and
142 # setting up the links, so the script actually exists.
143 'name': 'landmines',
144 'pattern': '.',
145 'action': [
146 'python',
147 'src/build/landmines.py',
148 '--landmine-scripts',
Henrik Kjellander90fd7d82017-05-09 08:30:10 +0200149 'src/tools_webrtc/get_landmines.py',
Henrik Kjellander27576e02015-10-15 14:24:09 +0200150 '--src-dir',
151 'src',
152 ],
153 },
oprypin40e7ebd2017-07-27 01:40:18 -0700154 {
155 # Ensure that the DEPS'd "depot_tools" has its self-update capability
156 # disabled.
157 'name': 'disable_depot_tools_selfupdate',
158 'pattern': '.',
159 'action': [
160 'python',
161 'src/third_party/depot_tools/update_depot_tools_toggle.py',
162 '--disable',
163 ],
164 },
kjellander24d812d2016-11-22 07:02:11 -0800165 {
166 # Downloads the current stable linux sysroot to build/linux/ if needed.
167 # This sysroot updates at about the same rate that the chrome build deps
168 # change. This script is a no-op except for linux users who are doing
169 # official chrome builds or cross compiling.
170 'name': 'sysroot',
171 'pattern': '.',
172 'action': ['python', 'src/build/linux/sysroot_scripts/install-sysroot.py',
173 '--running-as-hook'],
174 },
175 {
176 # Update the Windows toolchain if necessary.
177 'name': 'win_toolchain',
178 'pattern': '.',
179 'action': ['python', 'src/build/vs_toolchain.py', 'update'],
180 },
kjellanderec2c93e2017-09-08 10:52:17 -0700181 {
182 # Update the Mac toolchain if necessary.
183 'name': 'mac_toolchain',
184 'pattern': '.',
185 'action': ['python', 'src/build/mac_toolchain.py'],
186 },
kjellander24d812d2016-11-22 07:02:11 -0800187 # Pull binutils for linux, enabled debug fission for faster linking /
188 # debugging when used with clang on Ubuntu Precise.
189 # https://code.google.com/p/chromium/issues/detail?id=352046
190 {
191 'name': 'binutils',
192 'pattern': 'src/third_party/binutils',
193 'action': [
194 'python',
195 'src/third_party/binutils/download.py',
196 ],
197 },
198 {
199 # Pull clang if needed or requested via GYP_DEFINES.
200 # Note: On Win, this should run after win_toolchain, as it may use it.
201 'name': 'clang',
202 'pattern': '.',
203 'action': ['python', 'src/tools/clang/scripts/update.py', '--if-needed'],
204 },
ehmaldonado293bc2a2016-11-25 04:58:47 -0800205 {
206 # Update LASTCHANGE.
207 'name': 'lastchange',
208 'pattern': '.',
209 'action': ['python', 'src/build/util/lastchange.py',
210 '-o', 'src/build/util/LASTCHANGE'],
211 },
kjellander24d812d2016-11-22 07:02:11 -0800212 # Pull GN binaries.
213 {
214 'name': 'gn_win',
215 'pattern': '.',
216 'action': [ 'download_from_google_storage',
217 '--no_resume',
218 '--platform=win32',
219 '--no_auth',
220 '--bucket', 'chromium-gn',
221 '-s', 'src/buildtools/win/gn.exe.sha1',
222 ],
223 },
224 {
225 'name': 'gn_mac',
226 'pattern': '.',
227 'action': [ 'download_from_google_storage',
228 '--no_resume',
229 '--platform=darwin',
230 '--no_auth',
231 '--bucket', 'chromium-gn',
232 '-s', 'src/buildtools/mac/gn.sha1',
233 ],
234 },
235 {
236 'name': 'gn_linux64',
237 'pattern': '.',
238 'action': [ 'download_from_google_storage',
239 '--no_resume',
240 '--platform=linux*',
241 '--no_auth',
242 '--bucket', 'chromium-gn',
243 '-s', 'src/buildtools/linux64/gn.sha1',
244 ],
245 },
246 # Pull clang-format binaries using checked-in hashes.
247 {
248 'name': 'clang_format_win',
249 'pattern': '.',
250 'action': [ 'download_from_google_storage',
251 '--no_resume',
252 '--platform=win32',
253 '--no_auth',
254 '--bucket', 'chromium-clang-format',
255 '-s', 'src/buildtools/win/clang-format.exe.sha1',
256 ],
257 },
258 {
259 'name': 'clang_format_mac',
260 'pattern': '.',
261 'action': [ 'download_from_google_storage',
262 '--no_resume',
263 '--platform=darwin',
264 '--no_auth',
265 '--bucket', 'chromium-clang-format',
266 '-s', 'src/buildtools/mac/clang-format.sha1',
267 ],
268 },
269 {
270 'name': 'clang_format_linux',
271 'pattern': '.',
272 'action': [ 'download_from_google_storage',
273 '--no_resume',
274 '--platform=linux*',
275 '--no_auth',
276 '--bucket', 'chromium-clang-format',
277 '-s', 'src/buildtools/linux64/clang-format.sha1',
278 ],
279 },
280 # Pull luci-go binaries (isolate, swarming) using checked-in hashes.
281 {
282 'name': 'luci-go_win',
283 'pattern': '.',
284 'action': [ 'download_from_google_storage',
285 '--no_resume',
286 '--platform=win32',
287 '--no_auth',
288 '--bucket', 'chromium-luci',
289 '-d', 'src/tools/luci-go/win64',
290 ],
291 },
292 {
293 'name': 'luci-go_mac',
294 'pattern': '.',
295 'action': [ 'download_from_google_storage',
296 '--no_resume',
297 '--platform=darwin',
298 '--no_auth',
299 '--bucket', 'chromium-luci',
300 '-d', 'src/tools/luci-go/mac64',
301 ],
302 },
303 {
304 'name': 'luci-go_linux',
305 'pattern': '.',
306 'action': [ 'download_from_google_storage',
307 '--no_resume',
308 '--platform=linux*',
309 '--no_auth',
310 '--bucket', 'chromium-luci',
311 '-d', 'src/tools/luci-go/linux64',
312 ],
313 },
Henrik Kjellander55dad1b2017-05-11 12:00:53 +0200314 # Pull the Syzygy binaries, used for optimization and instrumentation.
315 {
316 'name': 'syzygy-binaries',
317 'pattern': '.',
318 'action': ['python',
319 'src/build/get_syzygy_binaries.py',
320 '--output-dir=src/third_party/syzygy/binaries',
321 '--revision=a8456d9248a126881dcfb8707ca7dcdae56e1ac7',
322 '--overwrite',
323 ],
324 },
kjellander24d812d2016-11-22 07:02:11 -0800325 {
326 # Pull sanitizer-instrumented third-party libraries if requested via
327 # GYP_DEFINES.
328 # See src/third_party/instrumented_libraries/scripts/download_binaries.py.
329 # TODO(kjellander): Update comment when GYP is completely cleaned up.
330 'name': 'instrumented_libraries',
331 'pattern': '\\.sha1',
332 'action': ['python', 'src/third_party/instrumented_libraries/scripts/download_binaries.py'],
333 },
334 {
kjellander@webrtc.org80174582013-11-04 12:07:57 +0000335 # Download test resources, i.e. video and audio files from Google Storage.
kjellander@webrtc.org8e5c8142014-12-03 07:11:44 +0000336 'pattern': '.',
337 'action': ['download_from_google_storage',
338 '--directory',
339 '--recursive',
340 '--num_threads=10',
341 '--no_auth',
kjellander4ff818e2015-12-18 12:29:28 -0800342 '--quiet',
kjellander@webrtc.org8e5c8142014-12-03 07:11:44 +0000343 '--bucket', 'chromium-webrtc-resources',
344 'src/resources'],
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +0000345 },
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +0000346]
kjellander200028f2017-08-17 09:54:12 -0700347
348# Note: These are keyed off target os, not host os. So don't move things here
349# that depend on the target os.
mbonadeie9a40732017-08-09 04:53:18 -0700350hooks_os = {
351 'android': [
kjellander200028f2017-08-17 09:54:12 -0700352 # Android dependencies. Many are downloaded using Google Storage these days.
353 # They're copied from https://cs.chromium.org/chromium/src/DEPS for all
354 # such dependencies we share with Chromium.
355 {
356 # This downloads SDK extras and puts them in the
357 # third_party/android_tools/sdk/extras directory.
358 'name': 'sdkextras',
359 'pattern': '.',
360 # When adding a new sdk extras package to download, add the package
361 # directory and zip file to .gitignore in third_party/android_tools.
362 'action': ['python',
363 'src/build/android/play_services/update.py',
364 'download'
365 ],
366 },
367 {
368 'name': 'intellij',
369 'pattern': '.',
370 'action': ['python',
371 'src/build/android/update_deps/update_third_party_deps.py',
372 'download',
373 '-b', 'chromium-intellij',
374 '-l', 'third_party/intellij'
375 ],
376 },
377 {
378 'name': 'javax_inject',
379 'pattern': '.',
380 'action': ['python',
381 'src/build/android/update_deps/update_third_party_deps.py',
382 'download',
383 '-b', 'chromium-javax-inject',
384 '-l', 'third_party/javax_inject'
385 ],
386 },
387 {
388 'name': 'hamcrest',
389 'pattern': '.',
390 'action': ['python',
391 'src/build/android/update_deps/update_third_party_deps.py',
392 'download',
393 '-b', 'chromium-hamcrest',
394 '-l', 'third_party/hamcrest'
395 ],
396 },
397 {
398 'name': 'guava',
399 'pattern': '.',
400 'action': ['python',
401 'src/build/android/update_deps/update_third_party_deps.py',
402 'download',
403 '-b', 'chromium-guava',
404 '-l', 'third_party/guava'
405 ],
406 },
407 {
408 'name': 'android_support_test_runner',
409 'pattern': '.',
410 'action': ['python',
411 'src/build/android/update_deps/update_third_party_deps.py',
412 'download',
413 '-b', 'chromium-android-support-test-runner',
414 '-l', 'third_party/android_support_test_runner'
415 ],
416 },
417 {
418 'name': 'byte_buddy',
419 'pattern': '.',
420 'action': ['python',
421 'src/build/android/update_deps/update_third_party_deps.py',
422 'download',
423 '-b', 'chromium-byte-buddy',
424 '-l', 'third_party/byte_buddy'
425 ],
426 },
427 {
428 'name': 'espresso',
429 'pattern': '.',
430 'action': ['python',
431 'src/build/android/update_deps/update_third_party_deps.py',
432 'download',
433 '-b', 'chromium-espresso',
434 '-l', 'third_party/espresso'
435 ],
436 },
437 {
438 'name': 'robolectric_libs',
439 'pattern': '.',
440 'action': ['python',
441 'src/build/android/update_deps/update_third_party_deps.py',
442 'download',
443 '-b', 'chromium-robolectric',
444 '-l', 'third_party/robolectric'
445 ],
446 },
447 {
448 'name': 'apache_velocity',
449 'pattern': '.',
450 'action': ['python',
451 'src/build/android/update_deps/update_third_party_deps.py',
452 'download',
453 '-b', 'chromium-apache-velocity',
454 '-l', 'third_party/apache_velocity'
455 ],
456 },
457 {
458 'name': 'ow2_asm',
459 'pattern': '.',
460 'action': ['python',
461 'src/build/android/update_deps/update_third_party_deps.py',
462 'download',
463 '-b', 'chromium-ow2-asm',
464 '-l', 'third_party/ow2_asm'
465 ],
466 },
mbonadeie9a40732017-08-09 04:53:18 -0700467 {
468 'name': 'desugar',
469 'pattern': '.',
470 'action': ['python',
471 'src/build/android/update_deps/update_third_party_deps.py',
472 'download',
473 '-b', 'chromium-android-tools/bazel/desugar',
474 '-l', 'third_party/bazel/desugar'
475 ],
476 },
kjellander200028f2017-08-17 09:54:12 -0700477 {
478 'name': 'icu4j',
479 'pattern': '.',
480 'action': ['python',
481 'src/build/android/update_deps/update_third_party_deps.py',
482 'download',
483 '-b', 'chromium-icu4j',
484 '-l', 'third_party/icu4j'
485 ],
486 },
487 {
488 'name': 'accessibility_test_framework',
489 'pattern': '.',
490 'action': ['python',
491 'src/build/android/update_deps/update_third_party_deps.py',
492 'download',
493 '-b', 'chromium-accessibility-test-framework',
494 '-l', 'third_party/accessibility_test_framework'
495 ],
496 },
497 {
498 'name': 'bouncycastle',
499 'pattern': '.',
500 'action': ['python',
501 'src/build/android/update_deps/update_third_party_deps.py',
502 'download',
503 '-b', 'chromium-bouncycastle',
504 '-l', 'third_party/bouncycastle'
505 ],
506 },
507 {
508 'name': 'sqlite4java',
509 'pattern': '.',
510 'action': ['python',
511 'src/build/android/update_deps/update_third_party_deps.py',
512 'download',
513 '-b', 'chromium-sqlite4java',
514 '-l', 'third_party/sqlite4java'
515 ],
516 },
517 {
518 'name': 'xstream',
519 'pattern': '.',
520 'action': ['python',
521 'src/build/android/update_deps/update_third_party_deps.py',
522 'download',
523 '-b', 'chromium-robolectric',
524 '-l', 'third_party/xstream'
525 ],
526 },
527 {
528 'name': 'objenesis',
529 'pattern': '.',
530 'action': ['python',
531 'src/build/android/update_deps/update_third_party_deps.py',
532 'download',
533 '-b', 'chromium-objenesis',
534 '-l', 'third_party/objenesis'
535 ],
536 },
mbonadeie9a40732017-08-09 04:53:18 -0700537 ],
538}
kjellander24d812d2016-11-22 07:02:11 -0800539recursedeps = [
540 # buildtools provides clang_format, libc++, and libc++abi.
541 'src/buildtools',
542 # android_tools manages the NDK.
543 'src/third_party/android_tools',
544]
Mirko Bonadeibb547202017-09-15 06:15:48 +0200545
546# Define rules for which include paths are allowed in our source.
547include_rules = [
548 # Base is only used to build Android APK tests and may not be referenced by
549 # WebRTC production code.
550 "-base",
551 "-chromium",
552 "+external/webrtc/webrtc", # Android platform build.
Oleh Prypin5ab68542017-09-25 09:18:00 +0000553 "+gflags",
Mirko Bonadeibb547202017-09-15 06:15:48 +0200554 "+libyuv",
Mirko Bonadeibb547202017-09-15 06:15:48 +0200555 # Individual headers that will be moved out of here, see webrtc:4243.
Mirko Bonadei92ea95e2017-09-15 06:47:31 +0200556 "+call/rtp_config.h",
557 "+common_types.h",
558 "+transport.h",
559 "+typedefs.h",
Mirko Bonadeibb547202017-09-15 06:15:48 +0200560
561 "+WebRTC",
Mirko Bonadei92ea95e2017-09-15 06:47:31 +0200562 "+api",
563 "+modules/include",
564 "+rtc_base",
565 "+test",
566 "+rtc_tools",
Mirko Bonadeibb547202017-09-15 06:15:48 +0200567]
568
569# The below rules will be removed when webrtc:4243 is fixed.
570specific_include_rules = {
571 "video_receive_stream\.h": [
Mirko Bonadei92ea95e2017-09-15 06:47:31 +0200572 "+call/video_receive_stream.h",
Mirko Bonadeibb547202017-09-15 06:15:48 +0200573 ],
574 "video_send_stream\.h": [
Mirko Bonadei92ea95e2017-09-15 06:47:31 +0200575 "+call/video_send_stream.h",
Mirko Bonadeibb547202017-09-15 06:15:48 +0200576 ],
577}