[go: nahoru, domu]

blob: eb8e5ae4e633a9f657f4124048797f0cf5ee9048 [file] [log] [blame]
Yang Guo4fd355c2019-09-19 08:59:031# Copyright 2019 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
Philip Pfaffea7673312020-07-10 13:06:495use_relative_paths = True
Philip Pfaffef9efa2a2023-08-04 10:07:426git_dependencies = 'SYNC'
Ergün Erdoğmuş3e2bc4d2022-06-13 08:33:007gclient_gn_args_file = 'build/config/gclient_args.gni'
8gclient_gn_args = [
9]
Philip Pfaffea7673312020-07-10 13:06:4910
Yang Guo4fd355c2019-09-19 08:59:0311vars = {
Tim van der Lippeceded1a2021-07-20 10:16:4712 'build_with_chromium': False,
13
Yang Guo4fd355c2019-09-19 08:59:0314 'build_url': 'https://chromium.googlesource.com/chromium/src/build.git',
devtools-ci-autoroll-builder609d2962023-08-05 03:16:0315 'build_revision': 'd80b6bfa269d08b8743be6c00a2955ca83b782df',
Yang Guo4fd355c2019-09-19 08:59:0316
Tim van der Lippef7bc2e32019-11-09 20:17:4417 'buildtools_url': 'https://chromium.googlesource.com/chromium/src/buildtools.git',
devtools-ci-autoroll-builder609d2962023-08-05 03:16:0318 'buildtools_revision': 'a9a6f0c49d0e8fa0cda37337430b4736ab3dc944',
Tim van der Lippef7bc2e32019-11-09 20:17:4419
Michael Achenbach4b5276f2019-12-02 14:18:0120 'depot_tools_url': 'https://chromium.googlesource.com/chromium/tools/depot_tools.git',
devtools-ci-autoroll-builder609d2962023-08-05 03:16:0321 'depot_tools_revision': '138e18725c25c47d89b2f31fa3bb80b6ddb1bcdb',
Yang Guo4fd355c2019-09-19 08:59:0322
23 'inspector_protocol_url': 'https://chromium.googlesource.com/deps/inspector_protocol',
devtools-ci-autoroll-builder55a4d562023-07-25 03:15:4924 'inspector_protocol_revision': '916f43c554c65ebf4ccd896b0f4e2ac99a67c434',
Yang Guo4fd355c2019-09-19 08:59:0325
Almothana Athamneh908bbc52021-02-11 12:57:1526 'clang_format_url': 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/clang/tools/clang-format.git',
devtools-ci-autoroll-builderd1c859a2023-08-02 03:15:1827 'clang_format_revision': 'e5337933f2951cacd3aeacd238ce4578163ca0b9',
Tim van der Lippef7bc2e32019-11-09 20:17:4428
Philip Pfaffe208ac9a2022-06-29 09:53:5529 'emscripten_tag': 'ade9d780ff17c88d81aa13860361743e3c1e1396',
Philip Pfaffe02376092020-09-29 11:10:0530
Yang Guo4fd355c2019-09-19 08:59:0331 # GN CIPD package version.
devtools-ci-autoroll-builderd1c859a2023-08-02 03:15:1832 'gn_version': 'git_revision:811d332bd90551342c5cbd39e133aa276022d7f8',
Yang Guo4fd355c2019-09-19 08:59:0333
Philip Pfaffe686b12a2023-07-05 11:51:4834 'cmake_version': 'version:3.16.1',
35
36 'llvm_url': 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/',
37 'llvm_revision': 'c08d3b08f6d71e974537de226c68d4c94c396a46',
38
39 'lldb_eval_url': 'https://chromium.googlesource.com/external/github.com/google/lldb-eval.git',
40 'lldb_eval_revision': 'e87123a7e639bf1d86f24c37079570fb7fa00b72',
41
Junji Watanabe4c805762022-09-30 02:43:2942 # ninja CIPD package version.
43 # https://chrome-infra-packages.appspot.com/p/infra/3pp/tools/ninja
devtools-ci-autoroll-builder9ca57172023-01-17 12:23:1244 'ninja_version': 'version:2@1.11.1.chromium.6',
Junji Watanabe4c805762022-09-30 02:43:2945
Mathias Bynens5c9b5f12023-07-18 14:05:5246 # Chrome version used for tests. It should be regularly updated to
47 # match the Canary version listed here:
48 # https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions.json
devtools-ci-autoroll-builder1f1d3262023-08-06 03:14:4649 'chrome': '117.0.5931.0',
Josip Sokcevicb2614aa2023-08-02 16:29:1950
51 # 'magic' text to tell depot_tools that git submodules should be accepted but
52 # but parity with DEPS file is expected.
53 'SUBMODULE_MIGRATION': 'True'
Yang Guo4fd355c2019-09-19 08:59:0354}
55
56# Only these hosts are allowed for dependencies in this DEPS file.
57# If you need to add a new host, contact chrome infrastracture team.
Thiago Perrottac88c3912022-07-14 08:36:2258allowed_hosts = [ 'chromium.googlesource.com', 'chrome-infra-packages.appspot.com' ]
Yang Guo4fd355c2019-09-19 08:59:0359
60deps = {
Joanna Wang7c292592023-05-25 22:16:4261 'third_party/clang-format/script': {
Takuto Ikuta6ed5f9a2022-01-19 09:13:4762 'url': Var('clang_format_url') + '@' + Var('clang_format_revision'),
63 'condition': 'build_with_chromium == False',
64 },
Philip Pfaffe686b12a2023-07-05 11:51:4865 'third_party/cmake': {
66 'packages': [{
67 'package': 'infra/cmake/${{platform}}',
68 'version': Var('cmake_version')
69 }],
70 'dep_type':
71 'cipd',
72 'condition': 'checkout_cxx_debugging_extension_deps == True',
73 },
74 'extensions/cxx_debugging/third_party/llvm/src': {
75 'url': Var('llvm_url') + '@' + Var('llvm_revision'),
76 'condition': 'checkout_cxx_debugging_extension_deps == True',
77 },
78 'extensions/cxx_debugging/third_party/lldb-eval/src': {
79 'url': Var('lldb_eval_url') + '@' + Var('lldb_eval_revision'),
80 'condition': 'checkout_cxx_debugging_extension_deps == True',
81 },
Tim van der Lippef7bc2e32019-11-09 20:17:4482
Takuto Ikuta6ed5f9a2022-01-19 09:13:4783 'buildtools': {
84 'url': Var('buildtools_url') + '@' + Var('buildtools_revision'),
85 'condition': 'build_with_chromium == False',
86 },
Tim van der Lippef7bc2e32019-11-09 20:17:4487
Philip Pfaffea7673312020-07-10 13:06:4988 'buildtools/linux64': {
Yang Guo4fd355c2019-09-19 08:59:0389 'packages': [
90 {
Liviu Rauf1dd5442022-05-19 10:45:2691 'package': 'gn/gn/linux-${{arch}}',
Yang Guo4fd355c2019-09-19 08:59:0392 'version': Var('gn_version'),
93 }
94 ],
95 'dep_type': 'cipd',
Takuto Ikuta6ed5f9a2022-01-19 09:13:4796 'condition': 'host_os == "linux" and build_with_chromium == False',
Yang Guo4fd355c2019-09-19 08:59:0397 },
Philip Pfaffea7673312020-07-10 13:06:4998 'buildtools/mac': {
Yang Guo4fd355c2019-09-19 08:59:0399 'packages': [
100 {
Liviu Rauf1dd5442022-05-19 10:45:26101 'package': 'gn/gn/mac-${{arch}}',
Yang Guo4fd355c2019-09-19 08:59:03102 'version': Var('gn_version'),
103 }
104 ],
105 'dep_type': 'cipd',
Takuto Ikuta6ed5f9a2022-01-19 09:13:47106 'condition': 'host_os == "mac" and build_with_chromium == False',
Yang Guo4fd355c2019-09-19 08:59:03107 },
Philip Pfaffea7673312020-07-10 13:06:49108 'buildtools/win': {
Yang Guo4fd355c2019-09-19 08:59:03109 'packages': [
110 {
Liviu Rauf1dd5442022-05-19 10:45:26111 'package': 'gn/gn/windows-${{arch}}',
Yang Guo4fd355c2019-09-19 08:59:03112 'version': Var('gn_version'),
113 }
114 ],
115 'dep_type': 'cipd',
Takuto Ikuta6ed5f9a2022-01-19 09:13:47116 'condition': 'host_os == "win" and build_with_chromium == False',
Yang Guo4fd355c2019-09-19 08:59:03117 },
Takuto Ikutae8cb2092022-01-18 10:29:54118 'third_party/esbuild': {
119 'packages': [
120 {
121 'package': 'infra/3pp/tools/esbuild/${{platform}}',
Jack Franklin5ee20e32022-12-01 10:35:54122 'version': 'version:2@0.14.13.chromium.2',
Takuto Ikutae8cb2092022-01-18 10:29:54123 }
124 ],
125 'dep_type': 'cipd',
126 },
127
Takuto Ikuta6ed5f9a2022-01-19 09:13:47128 'build': {
129 'url': Var('build_url') + '@' + Var('build_revision'),
130 'condition': 'build_with_chromium == False',
131 },
132 'third_party/depot_tools': {
133 'url': Var('depot_tools_url') + '@' + Var('depot_tools_revision'),
134 'condition': 'build_with_chromium == False',
135 },
136 'third_party/inspector_protocol': {
137 'url': Var('inspector_protocol_url') + '@' + Var('inspector_protocol_revision'),
138 'condition': 'build_with_chromium == False',
139 },
Junji Watanabe4c805762022-09-30 02:43:29140 'third_party/ninja': {
141 'packages': [
142 {
143 'package': 'infra/3pp/tools/ninja/${{platform}}',
144 'version': Var('ninja_version'),
145 }
146 ],
147 'dep_type': 'cipd',
Junji Watanabede0a9822022-11-30 12:37:45148 'condition': 'build_with_chromium == False',
Junji Watanabe4c805762022-09-30 02:43:29149 },
Yang Guo4fd355c2019-09-19 08:59:03150}
151
152hooks = [
153 # Pull down Node binaries for WebUI toolchain.
154 {
155 'name': 'node_linux64',
156 'pattern': '.',
Tim van der Lippeceded1a2021-07-20 10:16:47157 'condition': 'host_os == "linux" and build_with_chromium == False',
Takuto Ikuta0319fe02021-11-25 05:38:09158 'action': [ 'python3',
Philip Pfaffea7673312020-07-10 13:06:49159 'third_party/depot_tools/download_from_google_storage.py',
Yang Guo4fd355c2019-09-19 08:59:03160 '--no_resume',
161 '--extract',
162 '--no_auth',
Tim van der Lippe60679102021-11-02 12:20:51163 '--bucket', 'chromium-nodejs/16.13.0',
Philip Pfaffea7673312020-07-10 13:06:49164 '-s', 'third_party/node/linux/node-linux-x64.tar.gz.sha1',
Yang Guo4fd355c2019-09-19 08:59:03165 ],
166 },
167 {
168 'name': 'node_mac',
169 'pattern': '.',
Alex Rudenko09215f42023-04-18 14:12:00170 'condition': 'host_os == "mac" and build_with_chromium == False and host_cpu != "arm64"',
Takuto Ikuta0319fe02021-11-25 05:38:09171 'action': [ 'python3',
Philip Pfaffea7673312020-07-10 13:06:49172 'third_party/depot_tools/download_from_google_storage.py',
Yang Guo4fd355c2019-09-19 08:59:03173 '--no_resume',
174 '--extract',
175 '--no_auth',
Tim van der Lippe60679102021-11-02 12:20:51176 '--bucket', 'chromium-nodejs/16.13.0',
Philip Pfaffea7673312020-07-10 13:06:49177 '-s', 'third_party/node/mac/node-darwin-x64.tar.gz.sha1',
Yang Guo4fd355c2019-09-19 08:59:03178 ],
179 },
Alex Rudenko09215f42023-04-18 14:12:00180 {
181 'name': 'node_mac',
182 'pattern': '.',
183 'condition': 'host_os == "mac" and build_with_chromium == False and host_cpu == "arm64"',
184 'action': [ 'python3',
185 'third_party/depot_tools/download_from_google_storage.py',
186 '--no_resume',
187 '--extract',
188 '--no_auth',
189 '--bucket', 'chromium-nodejs/16.13.0',
190 '-s', 'third_party/node/mac/node-darwin-arm64.tar.gz.sha1',
191 ],
192 },
Yang Guo4fd355c2019-09-19 08:59:03193 {
194 'name': 'node_win',
195 'pattern': '.',
Tim van der Lippeceded1a2021-07-20 10:16:47196 'condition': 'host_os == "win" and build_with_chromium == False',
Takuto Ikuta0319fe02021-11-25 05:38:09197 'action': [ 'python3',
Philip Pfaffea7673312020-07-10 13:06:49198 'third_party/depot_tools/download_from_google_storage.py',
Yang Guo4fd355c2019-09-19 08:59:03199 '--no_resume',
200 '--no_auth',
Tim van der Lippe60679102021-11-02 12:20:51201 '--bucket', 'chromium-nodejs/16.13.0',
Philip Pfaffea7673312020-07-10 13:06:49202 '-s', 'third_party/node/win/node.exe.sha1',
Yang Guo4fd355c2019-09-19 08:59:03203 ],
204 },
205
206 {
207 # Ensure that the DEPS'd "depot_tools" has its self-update capability
208 # disabled.
209 'name': 'disable_depot_tools_selfupdate',
210 'pattern': '.',
Takuto Ikuta6ed5f9a2022-01-19 09:13:47211 'condition': 'build_with_chromium == False',
Yang Guo4fd355c2019-09-19 08:59:03212 'action': [
Takuto Ikuta0319fe02021-11-25 05:38:09213 'python3',
Philip Pfaffea7673312020-07-10 13:06:49214 'third_party/depot_tools/update_depot_tools_toggle.py',
Yang Guo4fd355c2019-09-19 08:59:03215 '--disable',
216 ],
217 },
218
Tim van der Lippef7bc2e32019-11-09 20:17:44219 # Pull clang-format binaries using checked-in hashes.
220 {
221 'name': 'clang_format_win',
222 'pattern': '.',
Tim van der Lippeceded1a2021-07-20 10:16:47223 'condition': 'host_os == "win" and build_with_chromium == False',
Takuto Ikuta0319fe02021-11-25 05:38:09224 'action': [ 'python3',
Philip Pfaffea7673312020-07-10 13:06:49225 'third_party/depot_tools/download_from_google_storage.py',
Tim van der Lippef7bc2e32019-11-09 20:17:44226 '--no_resume',
227 '--no_auth',
228 '--bucket', 'chromium-clang-format',
Philip Pfaffea7673312020-07-10 13:06:49229 '-s', 'buildtools/win/clang-format.exe.sha1',
Tim van der Lippef7bc2e32019-11-09 20:17:44230 ],
231 },
232 {
Eric Leese969a65f2022-03-22 14:48:27233 'name': 'clang_format_mac_x64',
Tim van der Lippef7bc2e32019-11-09 20:17:44234 'pattern': '.',
Eric Leese969a65f2022-03-22 14:48:27235 'condition': 'host_os == "mac" and build_with_chromium == False and host_cpu == "x64"',
Takuto Ikuta0319fe02021-11-25 05:38:09236 'action': [ 'python3',
Philip Pfaffea7673312020-07-10 13:06:49237 'third_party/depot_tools/download_from_google_storage.py',
Tim van der Lippef7bc2e32019-11-09 20:17:44238 '--no_resume',
239 '--no_auth',
240 '--bucket', 'chromium-clang-format',
Eric Leese969a65f2022-03-22 14:48:27241 '-s', 'buildtools/mac/clang-format.x64.sha1',
242 '-o', 'buildtools/mac/clang-format',
243 ],
244 },
245 {
246 'name': 'clang_format_mac_arm64',
247 'pattern': '.',
248 'condition': 'host_os == "mac" and build_with_chromium == False and host_cpu == "arm64"',
249 'action': [ 'python3',
250 'third_party/depot_tools/download_from_google_storage.py',
251 '--no_resume',
252 '--no_auth',
253 '--bucket', 'chromium-clang-format',
254 '-s', 'buildtools/mac/clang-format.arm64.sha1',
255 '-o', 'buildtools/mac/clang-format',
Tim van der Lippef7bc2e32019-11-09 20:17:44256 ],
257 },
258 {
259 'name': 'clang_format_linux',
260 'pattern': '.',
Tim van der Lippeceded1a2021-07-20 10:16:47261 'condition': 'host_os == "linux" and build_with_chromium == False',
Takuto Ikuta0319fe02021-11-25 05:38:09262 'action': [ 'python3',
Philip Pfaffea7673312020-07-10 13:06:49263 'third_party/depot_tools/download_from_google_storage.py',
Tim van der Lippef7bc2e32019-11-09 20:17:44264 '--no_resume',
265 '--no_auth',
266 '--bucket', 'chromium-clang-format',
Philip Pfaffea7673312020-07-10 13:06:49267 '-s', 'buildtools/linux64/clang-format.sha1',
Tim van der Lippef7bc2e32019-11-09 20:17:44268 ],
269 },
Yang Guod97dd182019-11-19 14:18:02270
Mathias Bynens5c9b5f12023-07-18 14:05:52271 # Pull Chrome binaries from CfT buckets.
272 {
273 'name': 'download_chrome_win',
274 'pattern': '.',
275 'condition': 'host_os == "win" and build_with_chromium == False',
276 'action': [ 'python3',
277 'scripts/deps/download_chrome.py',
Mathias Bynensa017ced2023-07-27 10:38:02278 '--url=https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/' + Var('chrome') + '/win64/chrome-win64.zip',
279 '--target=third_party/chrome',
280 '--rename_from=chrome-win64',
281 '--rename_to=chrome-win',
282 '--path_to_binary=chrome-win/chrome.exe',
283 '--version_number=' + Var('chrome'),
Mathias Bynens5c9b5f12023-07-18 14:05:52284 ],
285 },
286 {
287 'name': 'download_chrome_mac',
288 'pattern': '.',
289 'condition': 'host_os == "mac" and build_with_chromium == False and host_cpu != "arm64"',
290 'action': [ 'python3',
291 'scripts/deps/download_chrome.py',
Mathias Bynensa017ced2023-07-27 10:38:02292 '--url=https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/' + Var('chrome') + '/mac-x64/chrome-mac-x64.zip',
293 '--target=third_party/chrome',
294 '--rename_from=chrome-mac-x64',
295 '--rename_to=chrome-mac',
296 '--path_to_binary=chrome-mac/Google Chrome for Testing.app/Contents',
297 '--version_number=' + Var('chrome'),
Mathias Bynens5c9b5f12023-07-18 14:05:52298 ],
299 },
300 {
301 'name': 'download_chrome_mac',
302 'pattern': '.',
303 'condition': 'host_os == "mac" and build_with_chromium == False and host_cpu == "arm64"',
304 'action': [ 'python3',
305 'scripts/deps/download_chrome.py',
Mathias Bynensa017ced2023-07-27 10:38:02306 '--url=https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/' + Var('chrome') + '/mac-arm64/chrome-mac-arm64.zip',
307 '--target=third_party/chrome',
308 '--rename_from=chrome-mac-arm64',
309 '--rename_to=chrome-mac',
310 '--path_to_binary=chrome-mac/Google Chrome for Testing.app/Contents',
311 '--version_number=' + Var('chrome'),
Mathias Bynens5c9b5f12023-07-18 14:05:52312 ],
313 },
314 {
315 'name': 'download_chrome_linux',
316 'pattern': '.',
317 'condition': 'host_os == "linux" and build_with_chromium == False',
318 'action': [ 'python3',
319 'scripts/deps/download_chrome.py',
Mathias Bynensa017ced2023-07-27 10:38:02320 '--url=https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/' + Var('chrome') + '/linux64/chrome-linux64.zip',
321 '--target=third_party/chrome',
322 '--rename_from=chrome-linux64',
323 '--rename_to=chrome-linux',
324 '--path_to_binary=chrome-linux/chrome',
325 '--version_number=' + Var('chrome'),
Mathias Bynens5c9b5f12023-07-18 14:05:52326 ],
327 },
328
Liviu Rau2a632902020-05-13 08:02:15329 {
Tim van der Lippe08285ab2022-01-07 10:43:33330 # Update LASTCHANGE for build script timestamps
331 'name': 'lastchange',
Takuto Ikuta6ed5f9a2022-01-19 09:13:47332 'condition': 'build_with_chromium == False',
Tim van der Lippe08285ab2022-01-07 10:43:33333 'pattern': '.',
334 'action': ['python3', 'build/util/lastchange.py',
335 '-o', 'build/util/LASTCHANGE'],
336 },
337 {
Simon Quec6c55b62020-06-25 08:42:32338 'name': 'sysroot_x64',
339 'pattern': '.',
Takuto Ikuta6ed5f9a2022-01-19 09:13:47340 'condition': 'checkout_linux and checkout_x64 and build_with_chromium == False',
Takuto Ikuta0319fe02021-11-25 05:38:09341 'action': ['python3', 'build/linux/sysroot_scripts/install-sysroot.py',
Simon Quec6c55b62020-06-25 08:42:32342 '--arch=x64'],
343 },
Philip Pfaffe02376092020-09-29 11:10:05344 {
345 'name': 'emscripten',
346 'pattern': '.',
Tim van der Lippeceded1a2021-07-20 10:16:47347 'condition': 'build_with_chromium == False',
Takuto Ikuta0319fe02021-11-25 05:38:09348 'action': ['python3', 'scripts/deps/download_emscripten.py', Var('emscripten_tag'), 'third_party/emscripten-releases'],
Philip Pfaffe02376092020-09-29 11:10:05349 },
Tim van der Lippe7882ce02021-05-11 13:34:27350 {
351 'name': 'VS Code settings',
352 'pattern': '.',
Tim van der Lippeceded1a2021-07-20 10:16:47353 'condition': 'build_with_chromium == False',
Takuto Ikuta0319fe02021-11-25 05:38:09354 'action': ['python3', 'third_party/node/node.py', '--output', 'scripts/deps/sync-vscode-settings.js']
Tim van der Lippe7882ce02021-05-11 13:34:27355 },
Yang Guo4fd355c2019-09-19 08:59:03356]