Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(362)

Side by Side Diff: DEPS

Issue 2524673002: DEPS: Specify WebRTC hooks and add a few dependencies (Closed)
Patch Set: Minor comment change Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « .gitignore ('k') | setup_links.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # This file contains dependencies for WebRTC that are not shared with Chromium. 1 # This file contains dependencies for WebRTC that are not shared with Chromium.
2 # If you wish to add a dependency that is present in Chromium's src/DEPS or a 2 # If you wish to add a dependency that is present in Chromium's src/DEPS or a
3 # directory from the Chromium checkout, you should add it to setup_links.py 3 # directory from the Chromium checkout, you should add it to setup_links.py
4 # instead. 4 # instead.
5 5
6 vars = { 6 vars = {
7 'extra_gyp_flag': '-Dextra_gyp_flag=0', 7 'extra_gyp_flag': '-Dextra_gyp_flag=0',
8 'chromium_git': 'https://chromium.googlesource.com', 8 'chromium_git': 'https://chromium.googlesource.com',
9 'chromium_revision': '5e821a778b85878bafcc8128f64333fd518c79a5', 9 'chromium_revision': '5e821a778b85878bafcc8128f64333fd518c79a5',
10 } 10 }
11 11
12 # NOTE: Use http rather than https; the latter can cause problems for users
13 # behind proxies.
14 deps = { 12 deps = {
15 'src/third_party/gflags/src': 13 'src/third_party/gflags/src':
16 Var('chromium_git') + '/external/github.com/gflags/gflags@03bebcb065c83beff8 3d50ae025a55a4bf94dfca', 14 Var('chromium_git') + '/external/github.com/gflags/gflags@03bebcb065c83beff8 3d50ae025a55a4bf94dfca',
17 } 15 }
18 16
19 deps_os = { 17 deps_os = {
20 'win': { 18 'win': {
21 'src/third_party/winsdk_samples/src': 19 'src/third_party/winsdk_samples/src':
22 Var('chromium_git') + '/external/webrtc/deps/third_party/winsdk_samples_v7 1@e71b549167a665d7424d6f1dadfbff4b4aad1589', 20 Var('chromium_git') + '/external/webrtc/deps/third_party/winsdk_samples_v7 1@e71b549167a665d7424d6f1dadfbff4b4aad1589',
23 }, 21 },
24 } 22 }
25 23
26 hooks = [ 24 hooks = [
27 { 25 {
28 # Check for legacy named top-level dir (named 'trunk'). 26 # Clone chromium and its deps.
29 'name': 'check_root_dir_name', 27 'name': 'sync chromium',
phoglund 2016/11/22 08:51:06 So this isn't needed anymore, why?
kjellander_webrtc 2016/11/22 12:26:30 I was tempted to remove it since it's very old. I
30 'pattern': '.', 28 'pattern': '.',
31 'action': ['python','-c', 29 'action': ['python', '-u', 'src/sync_chromium.py',
32 ('import os,sys;' 30 '--target-revision', Var('chromium_revision')],
33 'script = os.path.join("trunk","check_root_dir.py");' 31 },
34 '_ = os.system("%s %s" % (sys.executable,script)) ' 32 {
35 'if os.path.exists(script) else 0')], 33 # Create links to shared dependencies in Chromium.
36 }, 34 'name': 'setup_links',
37 { 35 'pattern': '.',
38 # Clone chromium and its deps. 36 'action': ['python', 'src/setup_links.py'],
39 'name': 'sync chromium',
40 'pattern': '.',
41 'action': ['python', '-u', 'src/sync_chromium.py',
42 '--target-revision', Var('chromium_revision')],
43 },
44 {
45 # Create links to shared dependencies in Chromium.
46 'name': 'setup_links',
47 'pattern': '.',
48 'action': ['python', 'src/setup_links.py'],
49 }, 37 },
50 { 38 {
51 # This clobbers when necessary (based on get_landmines.py). It should be 39 # This clobbers when necessary (based on get_landmines.py). It should be
52 # an early hook but it will need to be run after syncing Chromium and 40 # an early hook but it will need to be run after syncing Chromium and
53 # setting up the links, so the script actually exists. 41 # setting up the links, so the script actually exists.
54 'name': 'landmines', 42 'name': 'landmines',
55 'pattern': '.', 43 'pattern': '.',
56 'action': [ 44 'action': [
57 'python', 45 'python',
58 'src/build/landmines.py', 46 'src/build/landmines.py',
59 '--landmine-scripts', 47 '--landmine-scripts',
60 'src/webrtc/build/get_landmines.py', 48 'src/webrtc/build/get_landmines.py',
61 '--src-dir', 49 '--src-dir',
62 'src', 50 'src',
63 ], 51 ],
64 }, 52 },
65 { 53 {
66 # Pull sanitizer-instrumented third-party libraries if requested via 54 # Download Google Play Services SDK (without license prompt).
67 # GYP_DEFINES. This could be done as part of sync_chromium.py above 55 'name': 'google_play_services_download',
68 # but then we would need to run all the Chromium hooks each time, 56 'pattern': '.',
69 # which will slow things down a lot. 57 'action': ['python', 'src/webrtc/build/google_play_services_download.py'],
70 'name': 'instrumented_libraries', 58 },
71 'pattern': '\\.sha1', 59 # Android dependencies. Many are downloaded using Google Storage these days.
72 'action': ['python', 'src/third_party/instrumented_libraries/scripts/downlo ad_binaries.py'], 60 {
73 }, 61 'name': 'intellij',
phoglund 2016/11/22 08:51:06 Why are these things added, and will we have to ma
kjellander_webrtc 2016/11/22 12:26:30 They're from the Chromium DEPS file, since we no l
62 'pattern': '.',
63 'action': ['python',
64 'src/build/android/update_deps/update_third_party_deps.py',
65 'download',
66 '-b', 'chromium-intellij',
67 '-l', 'third_party/intellij'
68 ],
69 },
70 {
71 'name': 'javax_inject',
72 'pattern': '.',
73 'action': ['python',
74 'src/build/android/update_deps/update_third_party_deps.py',
75 'download',
76 '-b', 'chromium-javax-inject',
77 '-l', 'third_party/javax_inject'
78 ],
79 },
80 {
81 'name': 'hamcrest',
82 'pattern': '.',
83 'action': ['python',
84 'src/build/android/update_deps/update_third_party_deps.py',
85 'download',
86 '-b', 'chromium-hamcrest',
87 '-l', 'third_party/hamcrest'
88 ],
89 },
90 {
91 'name': 'guava',
92 'pattern': '.',
93 'action': ['python',
94 'src/build/android/update_deps/update_third_party_deps.py',
95 'download',
96 '-b', 'chromium-guava',
97 '-l', 'third_party/guava'
98 ],
99 },
100 {
101 'name': 'android_support_test_runner',
102 'pattern': '.',
103 'action': ['python',
104 'src/build/android/update_deps/update_third_party_deps.py',
105 'download',
106 '-b', 'chromium-android-support-test-runner',
107 '-l', 'third_party/android_support_test_runner'
108 ],
109 },
110 {
111 'name': 'byte_buddy',
112 'pattern': '.',
113 'action': ['python',
114 'src/build/android/update_deps/update_third_party_deps.py',
115 'download',
116 '-b', 'chromium-byte-buddy',
117 '-l', 'third_party/byte_buddy'
118 ],
119 },
120 {
121 'name': 'espresso',
122 'pattern': '.',
123 'action': ['python',
124 'src/build/android/update_deps/update_third_party_deps.py',
125 'download',
126 '-b', 'chromium-espresso',
127 '-l', 'third_party/espresso'
128 ],
129 },
130 {
131 'name': 'robolectric_libs',
132 'pattern': '.',
133 'action': ['python',
134 'src/build/android/update_deps/update_third_party_deps.py',
135 'download',
136 '-b', 'chromium-robolectric',
137 '-l', 'third_party/robolectric'
138 ],
139 },
140 {
141 'name': 'apache_velocity',
142 'pattern': '.',
143 'action': ['python',
144 'src/build/android/update_deps/update_third_party_deps.py',
145 'download',
146 '-b', 'chromium-apache-velocity',
147 '-l', 'third_party/apache_velocity'
148 ],
149 },
150 {
151 'name': 'ow2_asm',
152 'pattern': '.',
153 'action': ['python',
154 'src/build/android/update_deps/update_third_party_deps.py',
155 'download',
156 '-b', 'chromium-ow2-asm',
157 '-l', 'third_party/ow2_asm'
158 ],
159 },
160 {
161 'name': 'icu4j',
162 'pattern': '.',
163 'action': ['python',
164 'src/build/android/update_deps/update_third_party_deps.py',
165 'download',
166 '-b', 'chromium-icu4j',
167 '-l', 'third_party/icu4j'
168 ],
169 },
170 {
171 'name': 'accessibility_test_framework',
172 'pattern': '.',
173 'action': ['python',
174 'src/build/android/update_deps/update_third_party_deps.py',
175 'download',
176 '-b', 'chromium-accessibility-test-framework',
177 '-l', 'third_party/accessibility_test_framework'
178 ],
179 },
180 {
181 'name': 'bouncycastle',
182 'pattern': '.',
183 'action': ['python',
184 'src/build/android/update_deps/update_third_party_deps.py',
185 'download',
186 '-b', 'chromium-bouncycastle',
187 '-l', 'third_party/bouncycastle'
188 ],
189 },
190 {
191 'name': 'sqlite4java',
192 'pattern': '.',
193 'action': ['python',
194 'src/build/android/update_deps/update_third_party_deps.py',
195 'download',
196 '-b', 'chromium-sqlite4java',
197 '-l', 'third_party/sqlite4java'
198 ],
199 },
200 {
201 'name': 'objenesis',
202 'pattern': '.',
203 'action': ['python',
204 'src/build/android/update_deps/update_third_party_deps.py',
205 'download',
206 '-b', 'chromium-objenesis',
207 '-l', 'third_party/objenesis'
208 ],
209 },
210 {
211 # Downloads the current stable linux sysroot to build/linux/ if needed.
212 # This sysroot updates at about the same rate that the chrome build deps
213 # change. This script is a no-op except for linux users who are doing
214 # official chrome builds or cross compiling.
215 'name': 'sysroot',
216 'pattern': '.',
217 'action': ['python', 'src/build/linux/sysroot_scripts/install-sysroot.py',
218 '--running-as-hook'],
219 },
220 {
221 # Update the Windows toolchain if necessary.
222 'name': 'win_toolchain',
223 'pattern': '.',
224 'action': ['python', 'src/build/vs_toolchain.py', 'update'],
225 },
226 # Pull binutils for linux, enabled debug fission for faster linking /
227 # debugging when used with clang on Ubuntu Precise.
228 # https://code.google.com/p/chromium/issues/detail?id=352046
229 {
230 'name': 'binutils',
231 'pattern': 'src/third_party/binutils',
232 'action': [
233 'python',
234 'src/third_party/binutils/download.py',
235 ],
236 },
237 {
238 # Pull clang if needed or requested via GYP_DEFINES.
239 # Note: On Win, this should run after win_toolchain, as it may use it.
240 'name': 'clang',
241 'pattern': '.',
242 'action': ['python', 'src/tools/clang/scripts/update.py', '--if-needed'],
243 },
244 # Pull GN binaries.
245 {
246 'name': 'gn_win',
247 'pattern': '.',
248 'action': [ 'download_from_google_storage',
249 '--no_resume',
250 '--platform=win32',
251 '--no_auth',
252 '--bucket', 'chromium-gn',
253 '-s', 'src/buildtools/win/gn.exe.sha1',
254 ],
255 },
256 {
257 'name': 'gn_mac',
258 'pattern': '.',
259 'action': [ 'download_from_google_storage',
260 '--no_resume',
261 '--platform=darwin',
262 '--no_auth',
263 '--bucket', 'chromium-gn',
264 '-s', 'src/buildtools/mac/gn.sha1',
265 ],
266 },
267 {
268 'name': 'gn_linux64',
269 'pattern': '.',
270 'action': [ 'download_from_google_storage',
271 '--no_resume',
272 '--platform=linux*',
273 '--no_auth',
274 '--bucket', 'chromium-gn',
275 '-s', 'src/buildtools/linux64/gn.sha1',
276 ],
277 },
278 # Pull clang-format binaries using checked-in hashes.
279 {
280 'name': 'clang_format_win',
281 'pattern': '.',
282 'action': [ 'download_from_google_storage',
283 '--no_resume',
284 '--platform=win32',
285 '--no_auth',
286 '--bucket', 'chromium-clang-format',
287 '-s', 'src/buildtools/win/clang-format.exe.sha1',
288 ],
289 },
290 {
291 'name': 'clang_format_mac',
292 'pattern': '.',
293 'action': [ 'download_from_google_storage',
294 '--no_resume',
295 '--platform=darwin',
296 '--no_auth',
297 '--bucket', 'chromium-clang-format',
298 '-s', 'src/buildtools/mac/clang-format.sha1',
299 ],
300 },
301 {
302 'name': 'clang_format_linux',
303 'pattern': '.',
304 'action': [ 'download_from_google_storage',
305 '--no_resume',
306 '--platform=linux*',
307 '--no_auth',
308 '--bucket', 'chromium-clang-format',
309 '-s', 'src/buildtools/linux64/clang-format.sha1',
310 ],
311 },
312 # Pull luci-go binaries (isolate, swarming) using checked-in hashes.
313 {
314 'name': 'luci-go_win',
315 'pattern': '.',
316 'action': [ 'download_from_google_storage',
317 '--no_resume',
318 '--platform=win32',
319 '--no_auth',
320 '--bucket', 'chromium-luci',
321 '-d', 'src/tools/luci-go/win64',
322 ],
323 },
324 {
325 'name': 'luci-go_mac',
326 'pattern': '.',
327 'action': [ 'download_from_google_storage',
328 '--no_resume',
329 '--platform=darwin',
330 '--no_auth',
331 '--bucket', 'chromium-luci',
332 '-d', 'src/tools/luci-go/mac64',
333 ],
334 },
335 {
336 'name': 'luci-go_linux',
337 'pattern': '.',
338 'action': [ 'download_from_google_storage',
339 '--no_resume',
340 '--platform=linux*',
341 '--no_auth',
342 '--bucket', 'chromium-luci',
343 '-d', 'src/tools/luci-go/linux64',
344 ],
345 },
346 # Pull the Syzygy binaries, used for optimization and instrumentation.
347 {
348 'name': 'syzygy-binaries',
349 'pattern': '.',
350 'action': ['python',
351 'src/build/get_syzygy_binaries.py',
352 '--output-dir=src/third_party/syzygy/binaries',
353 '--revision=a8456d9248a126881dcfb8707ca7dcdae56e1ac7',
354 '--overwrite',
355 ],
356 },
357 {
358 # Pull sanitizer-instrumented third-party libraries if requested via
359 # GYP_DEFINES.
phoglund 2016/11/22 08:51:06 Well, not GYP_DEFINES right?
kjellander_webrtc 2016/11/22 12:26:30 Yes, this is still true actually. See https://cs.c
360 'name': 'instrumented_libraries',
361 'pattern': '\\.sha1',
362 'action': ['python', 'src/third_party/instrumented_libraries/scripts/downloa d_binaries.py'],
363 },
364 {
365 'name': 'clang_format_merge_driver',
366 'pattern': '.',
367 'action': [ 'python',
368 'src/tools/clang_format_merge_driver/install_git_hook.py',
369 ],
370 },
74 { 371 {
75 # Download test resources, i.e. video and audio files from Google Storage. 372 # Download test resources, i.e. video and audio files from Google Storage.
76 'pattern': '.', 373 'pattern': '.',
77 'action': ['download_from_google_storage', 374 'action': ['download_from_google_storage',
78 '--directory', 375 '--directory',
79 '--recursive', 376 '--recursive',
80 '--num_threads=10', 377 '--num_threads=10',
81 '--no_auth', 378 '--no_auth',
82 '--quiet', 379 '--quiet',
83 '--bucket', 'chromium-webrtc-resources', 380 '--bucket', 'chromium-webrtc-resources',
84 'src/resources'], 381 'src/resources'],
85 }, 382 },
86 ] 383 ]
87 384
385 recursedeps = [
386 # buildtools provides clang_format, libc++, and libc++abi
phoglund 2016/11/22 08:51:06 Nit: end with .
kjellander_webrtc 2016/11/22 12:26:30 Purely copied code, but I addressed your comment.
387 'src/buildtools',
388 # android_tools manages the NDK.
389 'src/third_party/android_tools',
390 ]
391
OLDNEW
« no previous file with comments | « .gitignore ('k') | setup_links.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698