blob: 15bd58fc2c44ebdee2a31bc934ea9483baf2b0f2 [file] [log] [blame]
Lei Zhange4bf8342015-10-21 17:11:04 -07001use_relative_paths = True
2
Lei Zhang323ade82020-07-13 22:07:03 +00003gclient_gn_args_file = 'build/config/gclient_args.gni'
K. Moon4948d0e2022-11-11 18:54:40 +00004gclient_gn_args = [
Alan Screen72637152023-10-05 21:38:32 +00005 'checkout_android',
K. Moon4948d0e2022-11-11 18:54:40 +00006 'checkout_skia',
7]
Lei Zhang5dc5c5b2020-07-06 22:50:02 +00008
Dan Sinclaira03c3432016-03-16 15:35:20 -04009vars = {
Lei Zhangab384ed2017-12-21 08:00:44 +000010 # By default, we should check out everything needed to run on the main
Lei Zhangb1536552022-07-12 20:59:06 +000011 # pdfium waterfalls. This var can be also be set to 'small', in order to skip
12 # things are not strictly needed to build pdfium for development purposes,
13 # by adding the following line to the .gclient file inside a solutions entry:
14 # "custom_vars": { "checkout_configuration": "small" },
Lei Zhanga2ccb262022-07-26 00:56:23 +000015 # Similarly, this var can be set to 'minimal' to also skip the Skia and V8
16 # checkouts for the smallest possible checkout, where some features will not
17 # work.
Lei Zhangab384ed2017-12-21 08:00:44 +000018 'checkout_configuration': 'default',
19
Alan Screen72637152023-10-05 21:38:32 +000020 # By default, don't check out android. Will be overridden by gclient
21 # variables.
22 # TODO(crbug.com/875037): Remove this once the bug in gclient is fixed.
23 'checkout_android': False,
24
25 # Pull in Android native toolchain dependencies, so we can build ARC++
26 # support libraries.
27 'checkout_android_native_support': 'checkout_android',
28
Stephanie Kim7f671692024-09-23 17:57:15 +000029 'checkout_clang_coverage_tools': 'False',
30
31 'checkout_clang_tidy': 'False',
32
33 'checkout_clangd': 'False',
34
Lei Zhanga2ccb262022-07-26 00:56:23 +000035 'checkout_instrumented_libraries': 'checkout_linux and checkout_configuration != "small" and checkout_configuration != "minimal"',
Lei Zhangab384ed2017-12-21 08:00:44 +000036
danakj647a0802023-10-31 17:38:24 +000037 # Fetch the rust toolchain.
38 #
39 # Use a custom_vars section to enable it:
40 # "custom_vars": {
41 # "checkout_rust": True,
42 # }
43 'checkout_rust': False,
44
Lei Zhanga2ccb262022-07-26 00:56:23 +000045 'checkout_skia': 'checkout_configuration != "minimal"',
46
47 'checkout_testing_corpus': 'checkout_configuration != "small" and checkout_configuration != "minimal"',
48
49 'checkout_v8': 'checkout_configuration != "minimal"',
Lei Zhangb1536552022-07-12 20:59:06 +000050
Lei Zhangb7913fb2024-05-13 20:45:43 +000051 # condition to allowlist deps for non-git-source processing.
52 'non_git_source': 'True',
53
Lei Zhange293c092023-07-06 21:55:51 +000054 # Fetch configuration files required for the 'use_remoteexec' gn arg
55 'download_remoteexec_cfg': False,
56 # RBE instance to use for running remote builds
57 'rbe_instance': Str('projects/rbe-chrome-untrusted/instances/default_instance'),
58 # RBE project to download rewrapper config files for. Only needed if
59 # different from the project used in 'rbe_instance'
60 'rewrapper_cfg_project': Str(''),
61 # reclient CIPD package
62 'reclient_package': 'infra/rbe/client/',
63 # reclient CIPD package version
Andy Phanac5bfac2025-01-06 16:37:19 -080064 'reclient_version': 're_client_version:0.172.0.3cf60ba5-gomaip',
Lei Zhange293c092023-07-06 21:55:51 +000065
Dan Sinclaira03c3432016-03-16 15:35:20 -040066 'chromium_git': 'https://chromium.googlesource.com',
67 'pdfium_git': 'https://pdfium.googlesource.com',
Lei Zhang7b9fe872021-11-30 21:45:18 +000068 'skia_git': 'https://skia.googlesource.com',
Dan Sinclaira03c3432016-03-16 15:35:20 -040069
Lei Zhang5b02a0a2020-02-21 18:57:27 +000070 # Three lines of non-changing comments so that
Lei Zhang32219d72021-09-29 21:13:27 +000071 # the commit queue can handle CLs rolling abseil
72 # and whatever else without interference from each other.
Andy Phan4ad60e32025-01-06 15:04:09 -080073 'abseil_revision': '72093794ac42be8105817ae0b0569fb411a6ca9b',
Lei Zhang32219d72021-09-29 21:13:27 +000074 # Three lines of non-changing comments so that
K. Moon270f8d42023-07-06 00:16:55 +000075 # the commit queue can handle CLs rolling android_toolchain
Lei Zhang5b02a0a2020-02-21 18:57:27 +000076 # and whatever else without interference from each other.
Alan Screen9d0b1da2024-08-21 19:05:25 +000077 'android_toolchain_version': 'Idl-vYnWGnM8K3XJhM3h6zjYVDXlnljVz3FE00V9IM8C',
Lei Zhang5b02a0a2020-02-21 18:57:27 +000078 # Three lines of non-changing comments so that
Lei Zhang5b02a0a2020-02-21 18:57:27 +000079 # the commit queue can handle CLs rolling build
80 # and whatever else without interference from each other.
Andy Phan4adcb082025-01-08 12:01:46 -080081 'build_revision': '4aba7b76ec765b0fe78cf6341887aaa80832f8c6',
Lei Zhang5b02a0a2020-02-21 18:57:27 +000082 # Three lines of non-changing comments so that
83 # the commit queue can handle CLs rolling buildtools
84 # and whatever else without interference from each other.
Andy Phaned30f702025-01-07 17:46:02 -080085 'buildtools_revision': '469b4146c5017c7a863dc795dd71d91b92326a57',
Lei Zhang5b02a0a2020-02-21 18:57:27 +000086 # Three lines of non-changing comments so that
87 # the commit queue can handle CLs rolling catapult
88 # and whatever else without interference from each other.
pdfium-autorollc1992c82025-01-06 11:03:10 -080089 'catapult_revision': '86d6f8ee6130eb3d6a43db7ac883c7d39df1c158',
Lei Zhang5b02a0a2020-02-21 18:57:27 +000090 # Three lines of non-changing comments so that
Hui Yingste0f5c5b2021-04-02 21:39:14 +000091 # the commit queue can handle CLs rolling clang format
92 # and whatever else without interference from each other.
Andy Phan8d0676e2025-01-06 11:56:11 -080093 'clang_format_revision': '1549a8dba21b6c022c6f5ccee4edf18e5ceb2109',
Hui Yingste0f5c5b2021-04-02 21:39:14 +000094 # Three lines of non-changing comments so that
Lei Zhang5b02a0a2020-02-21 18:57:27 +000095 # the commit queue can handle CLs rolling clang
96 # and whatever else without interference from each other.
Andy Phan4adcb082025-01-08 12:01:46 -080097 'clang_revision': 'bf9a3411372f2d5eed8b3d27ee8bd8cf6c17135f',
Lei Zhang5b02a0a2020-02-21 18:57:27 +000098 # Three lines of non-changing comments so that
99 # the commit queue can handle CLs rolling code_coverage
100 # and whatever else without interference from each other.
pdfium-autoroll994b9852025-01-06 11:03:07 -0800101 'code_coverage_revision': '5e7c277c0d8c82878208f9eded7b3133183ac482',
Lei Zhang5b02a0a2020-02-21 18:57:27 +0000102 # Three lines of non-changing comments so that
Hui Yingst9dc67f02023-06-01 23:02:35 +0000103 # the commit queue can handle CLs rolling code_coverage
104 # and whatever else without interference from each other.
105 'cpu_features_revision': '936b9ab5515dead115606559502e3864958f7f6e',
106 # Three lines of non-changing comments so that
Lei Zhang5b02a0a2020-02-21 18:57:27 +0000107 # the commit queue can handle CLs rolling depot_tools
108 # and whatever else without interference from each other.
pdfium-autorollcbf0bb52025-01-06 11:03:04 -0800109 'depot_tools_revision': '58625e82c685426d441be5b422c9ad88e4867d20',
Lei Zhang5b02a0a2020-02-21 18:57:27 +0000110 # Three lines of non-changing comments so that
Lei Zhang10374fb2024-09-03 19:01:38 +0000111 # the commit queue can handle CLs rolling fast_float
112 # and whatever else without interference from each other.
113 'fast_float_revision': '3e57d8dcfb0a04b5a8a26b486b54490a2e9b310f',
114 # Three lines of non-changing comments so that
Andy Phana7424742024-01-04 20:21:51 +0000115 # the commit queue can handle CLs rolling fp16
116 # and whatever else without interference from each other.
Alan Screenc07eb972024-05-01 19:36:53 +0000117 'fp16_revision': '581ac1c79dd9d9f6f4e8b2934e7a55c7becf0799',
Andy Phana7424742024-01-04 20:21:51 +0000118 # Three lines of non-changing comments so that
Lei Zhang5b02a0a2020-02-21 18:57:27 +0000119 # the commit queue can handle CLs rolling freetype
120 # and whatever else without interference from each other.
Andy Phanab721912025-01-07 15:03:22 -0800121 'freetype_revision': 'afc7000cacb8cc90ae61036858c5306defa1236a',
Lei Zhang5b02a0a2020-02-21 18:57:27 +0000122 # Three lines of non-changing comments so that
Hui Yingste0f5c5b2021-04-02 21:39:14 +0000123 # the commit queue can handle CLs rolling GN CIPD package version
124 # and whatever else without interference from each other.
Andy Phan4886ee02025-01-08 10:13:34 -0800125 'gn_version': 'git_revision:c97a86a72105f3328a540f5a5ab17d11989ab7dd',
Hui Yingste0f5c5b2021-04-02 21:39:14 +0000126 # Three lines of non-changing comments so that
Lei Zhang07e34862024-07-02 19:05:37 +0000127 # the commit queue can handle CLs rolling goldctl CIPD package version
128 # and whatever else without interference from each other.
pdfium-autoroll55a82622024-12-29 20:33:42 -0800129 'goldctl_version': 'git_revision:db814b551104336b5e0dc7053ae2e4f5aa4bed65',
Lei Zhang07e34862024-07-02 19:05:37 +0000130 # Three lines of non-changing comments so that
Lei Zhang5b02a0a2020-02-21 18:57:27 +0000131 # the commit queue can handle CLs rolling gtest
132 # and whatever else without interference from each other.
Andy Phan84acf3a2025-01-06 13:24:30 -0800133 'gtest_revision': '7d76a231b0e29caf86e68d1df858308cd53b2a66',
Lei Zhang5b02a0a2020-02-21 18:57:27 +0000134 # Three lines of non-changing comments so that
Andy Phan03203752025-01-07 16:48:25 -0800135 # the commit queue can handle CLs rolling highway
136 # and whatever else without interference from each other.
137 'highway_revision': '00fe003dac355b979f36157f9407c7c46448958e',
138 # Three lines of non-changing comments so that
Lei Zhang5b02a0a2020-02-21 18:57:27 +0000139 # the commit queue can handle CLs rolling icu
140 # and whatever else without interference from each other.
Andy Phanb5d8c972025-01-06 12:36:52 -0800141 'icu_revision': 'bbccc2f6efc1b825de5f2c903c48be685cd0cf22',
Lei Zhang5b02a0a2020-02-21 18:57:27 +0000142 # Three lines of non-changing comments so that
143 # the commit queue can handle CLs rolling instrumented_lib
144 # and whatever else without interference from each other.
pdfium-autorollbea10142024-12-15 20:38:42 -0800145 'instrumented_lib_revision': '3cc43119a29158bcde39d288a8def4b8ec49baf8',
Lei Zhang5b02a0a2020-02-21 18:57:27 +0000146 # Three lines of non-changing comments so that
147 # the commit queue can handle CLs rolling jinja2
148 # and whatever else without interference from each other.
pdfium-autoroll9995e1e2024-11-18 04:37:57 +0000149 'jinja2_revision': '5e1ee241ab04b38889f8d517f2da8b3df7cfbd9a',
Lei Zhang5b02a0a2020-02-21 18:57:27 +0000150 # Three lines of non-changing comments so that
151 # the commit queue can handle CLs rolling jpeg_turbo
152 # and whatever else without interference from each other.
Andy Phand3bc1a02024-10-01 18:47:17 +0000153 'jpeg_turbo_revision': '927aabfcd26897abb9776ecf2a6c38ea5bb52ab6',
Lei Zhang5b02a0a2020-02-21 18:57:27 +0000154 # Three lines of non-changing comments so that
Hui Yingste0f5c5b2021-04-02 21:39:14 +0000155 # the commit queue can handle CLs rolling libc++
156 # and whatever else without interference from each other.
157 # If you change this, also update the libc++ revision in
158 # //buildtools/deps_revisions.gni.
Andy Phaned30f702025-01-07 17:46:02 -0800159 'libcxx_revision': '74dd760826063f15ce4d373b31bc34d1c65e41c2',
Hui Yingste0f5c5b2021-04-02 21:39:14 +0000160 # Three lines of non-changing comments so that
161 # the commit queue can handle CLs rolling libc++abi
162 # and whatever else without interference from each other.
Andy Phan8198c4e2025-01-07 10:10:03 -0800163 'libcxxabi_revision': '83dfa1f5bfce32d5f75695542468e37ead8163b8',
Hui Yingste0f5c5b2021-04-02 21:39:14 +0000164 # Three lines of non-changing comments so that
K. Moonefd00c22022-11-15 23:02:57 +0000165 # the commit queue can handle CLs rolling libpng
166 # and whatever else without interference from each other.
pdfium-autorollda069982025-01-19 20:29:49 -0800167 'libpng_revision': '28213bcabe2117da81588720575e5599bafa18da',
K. Moonefd00c22022-11-15 23:02:57 +0000168 # Three lines of non-changing comments so that
Hui Yingste0f5c5b2021-04-02 21:39:14 +0000169 # the commit queue can handle CLs rolling libunwind
170 # and whatever else without interference from each other.
Andy Phan32850732025-01-06 15:28:42 -0800171 'libunwind_revision': 'd1e95b102f113ded38974cf06a65fe0457b6004b',
Hui Yingste0f5c5b2021-04-02 21:39:14 +0000172 # Three lines of non-changing comments so that
Alan Screen57b2e1c2024-11-19 17:54:43 +0000173 # the commit queue can handle CLs rolling llvm-libc
174 # and whatever else without interference from each other.
Andy Phan0af51492025-01-06 15:49:31 -0800175 'llvm_libc_revision': '60b7db20ace1cb750f8e9e06e7e9c7c6585ace42',
Alan Screen57b2e1c2024-11-19 17:54:43 +0000176 # Three lines of non-changing comments so that
Lei Zhang5b02a0a2020-02-21 18:57:27 +0000177 # the commit queue can handle CLs rolling markupsafe
178 # and whatever else without interference from each other.
pdfium-autoroll69d3ec52024-11-18 04:54:24 +0000179 'markupsafe_revision': '9f8efc8637f847ab1ba984212598e6fb9cf1b3d4',
Lei Zhang5b02a0a2020-02-21 18:57:27 +0000180 # Three lines of non-changing comments so that
Lei Zhangd749ccd2020-04-13 23:48:51 +0000181 # the commit queue can handle CLs rolling nasm_source
182 # and whatever else without interference from each other.
Lei Zhang8ac85712023-12-04 19:07:19 +0000183 'nasm_source_revision': 'f477acb1049f5e043904b87b825c5915084a9a29',
Lei Zhangd749ccd2020-04-13 23:48:51 +0000184 # Three lines of non-changing comments so that
Junji Watanabea0672342022-11-14 19:51:59 +0000185 # the commit queue can handle CLs rolling Ninja CIPD package version
186 # and whatever else without interference from each other.
Andy Phan1c58ebd2024-10-01 19:13:40 +0000187 'ninja_version': 'version:3@1.12.1.chromium.4',
Junji Watanabea0672342022-11-14 19:51:59 +0000188 # Three lines of non-changing comments so that
Tom Sepeze10b8b62022-09-16 19:35:02 +0000189 # the commit queue can handle CLs rolling partition_allocator
190 # and whatever else without interference from each other.
Andy Phan7f588b32025-01-06 13:02:26 -0800191 'partition_allocator_revision': '9cab8b0d103998c4552b3ac14ef8429b7fe652c4',
Tom Sepeze10b8b62022-09-16 19:35:02 +0000192 # Three lines of non-changing comments so that
Lei Zhang5b02a0a2020-02-21 18:57:27 +0000193 # the commit queue can handle CLs rolling pdfium_tests
194 # and whatever else without interference from each other.
Andy Phane6633a52024-09-21 01:15:31 +0000195 'pdfium_tests_revision': '7e9430c92e07cf45bd151bd4158a7795d117ffeb',
Lei Zhang5b02a0a2020-02-21 18:57:27 +0000196 # Three lines of non-changing comments so that
K. Moon643278d2022-10-06 20:41:42 +0000197 # the commit queue can handle CLs rolling resultdb
198 # and whatever else without interference from each other.
Lei Zhang82473b62023-03-07 16:00:43 +0000199 'resultdb_version': 'git_revision:ebc74d10fa0d64057daa6f128e89f3672eeeec95',
K. Moon643278d2022-10-06 20:41:42 +0000200 # Three lines of non-changing comments so that
Lei Zhang063859b2024-06-28 16:54:58 +0000201 # the commit queue can handle CLs rolling rust
danakj647a0802023-10-31 17:38:24 +0000202 # and whatever else without interference from each other.
Andy Phan4adcb082025-01-08 12:01:46 -0800203 'rust_revision': '08704ba66941c48f570b21152b9ec1745aa7ef52',
danakj647a0802023-10-31 17:38:24 +0000204 # Three lines of non-changing comments so that
Lei Zhang5b02a0a2020-02-21 18:57:27 +0000205 # the commit queue can handle CLs rolling skia
206 # and whatever else without interference from each other.
Andy Phan1ef5cd32025-01-06 12:14:53 -0800207 'skia_revision': '975788ea90f24519aa8740085378d1a8db05f5d2',
Lei Zhang5b02a0a2020-02-21 18:57:27 +0000208 # Three lines of non-changing comments so that
Tom Anderson331f3eb2021-10-22 00:49:44 +0000209 # the commit queue can handle CLs rolling test_fonts
210 # and whatever else without interference from each other.
211 'test_fonts_revision': '7f51783942943e965cd56facf786544ccfc07713',
212 # Three lines of non-changing comments so that
Lei Zhang063859b2024-06-28 16:54:58 +0000213 # the commit queue can handle CLs rolling testing_rust
danakj647a0802023-10-31 17:38:24 +0000214 # and whatever else without interference from each other.
Andy Phand1e80cf2025-01-06 16:17:28 -0800215 'testing_rust_revision': '6712dc59f4a6c5626f391057cded3842700a17eb',
danakj647a0802023-10-31 17:38:24 +0000216 # Three lines of non-changing comments so that
Lei Zhang5b02a0a2020-02-21 18:57:27 +0000217 # the commit queue can handle CLs rolling tools_memory
218 # and whatever else without interference from each other.
pdfium-autoroll7c7434b2024-12-09 04:54:01 +0000219 'tools_memory_revision': '8e9b58419b41fe0d9dfe2e870f3164f446a0d7ab',
Lei Zhang5b02a0a2020-02-21 18:57:27 +0000220 # Three lines of non-changing comments so that
Lei Zhang063859b2024-06-28 16:54:58 +0000221 # the commit queue can handle CLs rolling tools_rust
222 # and whatever else without interference from each other.
Andy Phan4adcb082025-01-08 12:01:46 -0800223 'tools_rust_revision': '474e007a4ee99c5f4cff3e7d22511bbc2cb03517',
Lei Zhang063859b2024-06-28 16:54:58 +0000224 # Three lines of non-changing comments so that
Lei Zhang5b02a0a2020-02-21 18:57:27 +0000225 # the commit queue can handle CLs rolling v8
226 # and whatever else without interference from each other.
Andy Phan16df41e2025-01-07 16:49:52 -0800227 'v8_revision': '75be3dcb5330aa3ebcf79031e7123bc3f0f07179',
Lei Zhang5b02a0a2020-02-21 18:57:27 +0000228 # Three lines of non-changing comments so that
Lei Zhang5b02a0a2020-02-21 18:57:27 +0000229 # the commit queue can handle CLs rolling zlib
230 # and whatever else without interference from each other.
pdfium-autoroll320fc872025-01-12 20:40:17 -0800231 'zlib_revision': 'b763971bcaa3e4c50a344035837a1dd60d7e6753',
Dan Sinclaira03c3432016-03-16 15:35:20 -0400232}
233
Lei Zhang5e0f14e2021-11-30 22:51:28 +0000234# Only these hosts are allowed for dependencies in this DEPS file.
235# If you need to add a new host, and the new host is not in Chromium's DEPS
236# file's allowed_hosts list, contact Chrome infrastructure team.
237allowed_hosts = [
238 'chromium.googlesource.com',
239 'pdfium.googlesource.com',
240 'skia.googlesource.com',
Lei Zhange314ec62024-06-13 17:39:25 +0000241
242 # TODO(337061377): Move into a separate allowed gcs bucket list.
243 'chromium-browser-clang',
Lei Zhang5e0f14e2021-11-30 22:51:28 +0000244]
245
Aneesh Mulye2ee9c3a2014-08-06 18:11:02 -0700246deps = {
Tom Sepeze10b8b62022-09-16 19:35:02 +0000247 'base/allocator/partition_allocator':
248 Var('chromium_git') +
249 '/chromium/src/base/allocator/partition_allocator.git@' +
250 Var('partition_allocator_revision'),
251
Lei Zhang73b4e772020-04-13 23:35:48 +0000252 'build':
253 Var('chromium_git') + '/chromium/src/build.git@' + Var('build_revision'),
Aneesh Mulye2ee9c3a2014-08-06 18:11:02 -0700254
Lei Zhang73b4e772020-04-13 23:35:48 +0000255 'buildtools':
256 Var('chromium_git') + '/chromium/src/buildtools.git@' +
Lei Zhangeb39cdb2017-03-31 12:26:15 -0700257 Var('buildtools_revision'),
Tom Sepez4c0e2752015-06-05 13:46:08 -0700258
Hui Yingste0f5c5b2021-04-02 21:39:14 +0000259 'buildtools/linux64': {
260 'packages': [
261 {
262 'package': 'gn/gn/linux-amd64',
263 'version': Var('gn_version'),
264 }
265 ],
266 'dep_type': 'cipd',
267 'condition': 'host_os == "linux"',
268 },
269
270 'buildtools/mac': {
271 'packages': [
272 {
273 'package': 'gn/gn/mac-${{arch}}',
274 'version': Var('gn_version'),
275 }
276 ],
277 'dep_type': 'cipd',
278 'condition': 'host_os == "mac"',
279 },
280
Lei Zhange293c092023-07-06 21:55:51 +0000281 'buildtools/reclient': {
282 'packages': [
283 {
284 'package': Var('reclient_package') + '${{platform}}',
285 'version': Var('reclient_version'),
286 }
287 ],
288 'dep_type': 'cipd',
289 },
290
Hui Yingste0f5c5b2021-04-02 21:39:14 +0000291 'buildtools/win': {
292 'packages': [
293 {
294 'package': 'gn/gn/windows-amd64',
295 'version': Var('gn_version'),
296 }
297 ],
298 'dep_type': 'cipd',
299 'condition': 'host_os == "win"',
300 },
301
Lei Zhangb1536552022-07-12 20:59:06 +0000302 'testing/corpus': {
303 'url': Var('pdfium_git') + '/pdfium_tests@' + Var('pdfium_tests_revision'),
304 'condition': 'checkout_testing_corpus',
305 },
Tom Sepez9519ab22015-03-16 15:27:19 -0700306
danakj647a0802023-10-31 17:38:24 +0000307 'testing/scripts/rust': {
308 'url': Var('chromium_git') + '/chromium/src/testing/scripts/rust.git@' +
309 Var('testing_rust_revision'),
310 'condition': 'checkout_rust',
311 },
312
Lei Zhang32219d72021-09-29 21:13:27 +0000313 'third_party/abseil-cpp':
314 Var('chromium_git') + '/chromium/src/third_party/abseil-cpp.git@' +
315 Var('abseil_revision'),
316
Andy Phancf536a32023-09-06 22:54:36 +0000317 'third_party/android_toolchain/ndk': {
K. Moon270f8d42023-07-06 00:16:55 +0000318 'packages': [
319 {
320 'package': 'chromium/third_party/android_toolchain/android_toolchain',
321 'version': Var('android_toolchain_version'),
322 },
323 ],
324 'condition': 'checkout_android_native_support',
325 'dep_type': 'cipd',
Lei Zhangcb7c1182019-03-21 17:48:18 +0000326 },
327
Lei Zhang73b4e772020-04-13 23:35:48 +0000328 'third_party/catapult': {
329 'url': Var('chromium_git') + '/catapult.git@' + Var('catapult_revision'),
Lei Zhangcb7c1182019-03-21 17:48:18 +0000330 'condition': 'checkout_android',
331 },
332
Lei Zhange5465db2024-05-13 20:30:29 +0000333 'third_party/clang-format/script':
334 Var('chromium_git') +
335 '/external/github.com/llvm/llvm-project/clang/tools/clang-format.git@' +
336 Var('clang_format_revision'),
337
Hui Yingst9dc67f02023-06-01 23:02:35 +0000338 'third_party/cpu_features/src': {
339 'url': Var('chromium_git') +
340 '/external/github.com/google/cpu_features.git@' +
341 Var('cpu_features_revision'),
342 'condition': 'checkout_android',
343 },
344
Lei Zhangab384ed2017-12-21 08:00:44 +0000345 'third_party/depot_tools':
Lei Zhang73b4e772020-04-13 23:35:48 +0000346 Var('chromium_git') + '/chromium/tools/depot_tools.git@' +
Lei Zhangab384ed2017-12-21 08:00:44 +0000347 Var('depot_tools_revision'),
348
Lei Zhang10374fb2024-09-03 19:01:38 +0000349 'third_party/fast_float/src':
350 Var('chromium_git') + '/external/github.com/fastfloat/fast_float.git@' +
351 Var('fast_float_revision'),
352
Andy Phana7424742024-01-04 20:21:51 +0000353 'third_party/fp16/src':
354 Var('chromium_git') + '/external/github.com/Maratyszcza/FP16.git@' +
355 Var('fp16_revision'),
356
Lei Zhang73b4e772020-04-13 23:35:48 +0000357 'third_party/freetype/src':
Lei Zhangeb39cdb2017-03-31 12:26:15 -0700358 Var('chromium_git') + '/chromium/src/third_party/freetype2.git@' +
359 Var('freetype_revision'),
360
Lei Zhang73b4e772020-04-13 23:35:48 +0000361 'third_party/googletest/src':
362 Var('chromium_git') + '/external/github.com/google/googletest.git@' +
Lei Zhangc5514272018-03-22 05:19:14 +0000363 Var('gtest_revision'),
364
Andy Phan03203752025-01-07 16:48:25 -0800365 'third_party/highway/src':
366 Var('chromium_git') + '/external/github.com/google/highway.git@' +
367 Var('highway_revision'),
368
Lei Zhang73b4e772020-04-13 23:35:48 +0000369 'third_party/icu':
370 Var('chromium_git') + '/chromium/deps/icu.git@' + Var('icu_revision'),
dsinclair685bb882016-04-20 07:32:39 -0700371
Tom Anderson317e40e2024-04-08 20:19:33 +0000372 'third_party/instrumented_libs':
Lei Zhangeb39cdb2017-03-31 12:26:15 -0700373 Var('chromium_git') +
Tom Anderson317e40e2024-04-08 20:19:33 +0000374 '/chromium/third_party/instrumented_libraries.git@' +
Lei Zhangeb39cdb2017-03-31 12:26:15 -0700375 Var('instrumented_lib_revision'),
weili62f36732016-10-14 16:59:40 -0700376
Lei Zhang73b4e772020-04-13 23:35:48 +0000377 'third_party/jinja2':
378 Var('chromium_git') + '/chromium/src/third_party/jinja2.git@' +
Dale Curtisc758d9d2017-04-06 14:10:09 -0700379 Var('jinja2_revision'),
380
Joanna Wangc1bd7b52023-08-02 18:42:17 +0000381 'third_party/libc++/src':
Joanna Wangc183fcf2023-07-21 21:30:10 +0000382 Var('chromium_git') +
383 '/external/github.com/llvm/llvm-project/libcxx.git@' +
384 Var('libcxx_revision'),
385
Joanna Wangc1bd7b52023-08-02 18:42:17 +0000386 'third_party/libc++abi/src':
Joanna Wangc183fcf2023-07-21 21:30:10 +0000387 Var('chromium_git') +
388 '/external/github.com/llvm/llvm-project/libcxxabi.git@' +
389 Var('libcxxabi_revision'),
390
Joanna Wangc1bd7b52023-08-02 18:42:17 +0000391 'third_party/libunwind/src':
Joanna Wangc183fcf2023-07-21 21:30:10 +0000392 Var('chromium_git') +
393 '/external/github.com/llvm/llvm-project/libunwind.git@' +
394 Var('libunwind_revision'),
395
Lei Zhang73b4e772020-04-13 23:35:48 +0000396 'third_party/libjpeg_turbo':
397 Var('chromium_git') + '/chromium/deps/libjpeg_turbo.git@' +
Lei Zhang0e5d8922017-04-06 21:43:50 -0700398 Var('jpeg_turbo_revision'),
399
K. Moonefd00c22022-11-15 23:02:57 +0000400 'third_party/libpng':
401 Var('chromium_git') + '/chromium/src/third_party/libpng.git@' +
402 Var('libpng_revision'),
403
Lei Zhange314ec62024-06-13 17:39:25 +0000404 'third_party/llvm-build/Release+Asserts': {
405 'dep_type': 'gcs',
406 'bucket': 'chromium-browser-clang',
407 'objects': [
408 {
Andy Phan4adcb082025-01-08 12:01:46 -0800409 'object_name': 'Linux_x64/clang-llvmorg-20-init-16062-g091448e3-1.tar.xz',
410 'sha256sum': '312f81ba0a77fb66f077f4af105fed1ae3f7068c63127b79c560336befd7e957',
411 'size_bytes': 54162056,
412 'generation': 1734710928554494,
Lei Zhangf143cf22024-12-03 00:03:38 +0000413 'condition': '(host_os == "linux" or checkout_android) and non_git_source',
Lei Zhange314ec62024-06-13 17:39:25 +0000414 },
415 {
Andy Phan4adcb082025-01-08 12:01:46 -0800416 'object_name': 'Mac/clang-llvmorg-20-init-16062-g091448e3-1.tar.xz',
417 'sha256sum': 'a87e78f91148b227e2791606f1d6491e65a3343e488a5d9afb28739e89b892b9',
418 'size_bytes': 49075240,
419 'generation': 1734710930234741,
Lei Zhange314ec62024-06-13 17:39:25 +0000420 'condition': 'host_os == "mac" and host_cpu == "x64"',
421 },
422 {
Andy Phan4adcb082025-01-08 12:01:46 -0800423 'object_name': 'Mac/clang-mac-runtime-library-llvmorg-20-init-16062-g091448e3-1.tar.xz',
424 'sha256sum': '6126aa8fb58ac245aa3fcc3da7500aa218943a062a66b10facf9034dff50b837',
425 'size_bytes': 973872,
426 'generation': 1734710937791397,
Lei Zhange314ec62024-06-13 17:39:25 +0000427 'condition': 'checkout_mac and not host_os == "mac"',
428 },
429 {
Andy Phan4adcb082025-01-08 12:01:46 -0800430 'object_name': 'Mac_arm64/clang-llvmorg-20-init-16062-g091448e3-1.tar.xz',
431 'sha256sum': '7783806795f320f06abf77f8066e64448a101a1a40695ba6252b9c6315b7fdf2',
432 'size_bytes': 43083188,
433 'generation': 1734710939037981,
Lei Zhange314ec62024-06-13 17:39:25 +0000434 'condition': 'host_os == "mac" and host_cpu == "arm64"',
435 },
436 {
Andy Phan4adcb082025-01-08 12:01:46 -0800437 'object_name': 'Win/clang-llvmorg-20-init-16062-g091448e3-1.tar.xz',
438 'sha256sum': '1b197f968fdc7e5a9a4ce3c76f8490d5b35877fca755771510a9e9292275128f',
439 'size_bytes': 46308816,
440 'generation': 1734710948582253,
Lei Zhange314ec62024-06-13 17:39:25 +0000441 'condition': 'host_os == "win"',
442 },
443 {
Andy Phan4adcb082025-01-08 12:01:46 -0800444 'object_name': 'Win/clang-win-runtime-library-llvmorg-20-init-16062-g091448e3-1.tar.xz',
445 'sha256sum': 'b0db5463446fdc218f4ae998c6f78d275c274fe023dd2f9d78941c01827dcd46',
446 'size_bytes': 2457348,
447 'generation': 1734710956415612,
Lei Zhange314ec62024-06-13 17:39:25 +0000448 'condition': 'checkout_win and not host_os == "win"',
449 },
450 ]
451 },
452
Alan Screen57b2e1c2024-11-19 17:54:43 +0000453 'third_party/llvm-libc/src':
454 Var('chromium_git') + '/external/github.com/llvm/llvm-project/libc.git@' +
455 Var('llvm_libc_revision'),
456
Lei Zhang73b4e772020-04-13 23:35:48 +0000457 'third_party/markupsafe':
458 Var('chromium_git') + '/chromium/src/third_party/markupsafe.git@' +
459 Var('markupsafe_revision'),
460
Lei Zhangd749ccd2020-04-13 23:48:51 +0000461 'third_party/nasm':
462 Var('chromium_git') + '/chromium/deps/nasm.git@' +
463 Var('nasm_source_revision'),
464
Junji Watanabea0672342022-11-14 19:51:59 +0000465 'third_party/ninja': {
466 'packages': [
467 {
468 # https://chrome-infra-packages.appspot.com/p/infra/3pp/tools/ninja
Andy Phan1c58ebd2024-10-01 19:13:40 +0000469 'package': 'infra/3pp/tools/ninja/${{platform}}',
Junji Watanabea0672342022-11-14 19:51:59 +0000470 'version': Var('ninja_version'),
471 }
472 ],
473 'dep_type': 'cipd',
474 },
475
Lei Zhang063859b2024-06-28 16:54:58 +0000476 'third_party/rust': {
477 'url': Var('chromium_git') + '/chromium/src/third_party/rust@' +
478 Var('rust_revision'),
479 'condition': 'checkout_rust',
480 },
481
Lei Zhang3e1c26b2024-06-28 16:52:57 +0000482 'third_party/rust-toolchain': {
483 'dep_type': 'gcs',
484 'bucket': 'chromium-browser-clang',
485 'objects': [
486 {
Andy Phan4adcb082025-01-08 12:01:46 -0800487 'object_name': 'Linux_x64/rust-toolchain-8a1f8039a7ded79d3d4fe97b110016d89f2b11e2-1-llvmorg-20-init-16062-g091448e3.tar.xz',
488 'sha256sum': 'd95be7651ce879e92b18949e1228775e01352960600ed4ff389815ce8848676d',
489 'size_bytes': 124379804,
490 'generation': 1734710923416010,
Lei Zhang75d98f42024-09-17 21:15:15 +0000491 'condition': 'host_os == "linux" and non_git_source',
Lei Zhang3e1c26b2024-06-28 16:52:57 +0000492 },
493 {
Andy Phan4adcb082025-01-08 12:01:46 -0800494 'object_name': 'Mac/rust-toolchain-8a1f8039a7ded79d3d4fe97b110016d89f2b11e2-1-llvmorg-20-init-16062-g091448e3.tar.xz',
495 'sha256sum': '01b25314a55fe0818b1f0b5ea8a8c6a469408618bb20f74f1e744c3d64b6c3eb',
496 'size_bytes': 117354480,
497 'generation': 1734710924611322,
Lei Zhang75d98f42024-09-17 21:15:15 +0000498 'condition': 'host_os == "mac" and host_cpu == "x64"',
Lei Zhang3e1c26b2024-06-28 16:52:57 +0000499 },
500 {
Andy Phan4adcb082025-01-08 12:01:46 -0800501 'object_name': 'Mac_arm64/rust-toolchain-8a1f8039a7ded79d3d4fe97b110016d89f2b11e2-1-llvmorg-20-init-16062-g091448e3.tar.xz',
502 'sha256sum': '0bb931bdb9e68573a8ad8298d6ecd50a3cc9d37ba9af492aa386aedab25517e6',
503 'size_bytes': 102273988,
504 'generation': 1734710925809018,
Lei Zhang75d98f42024-09-17 21:15:15 +0000505 'condition': 'host_os == "mac" and host_cpu == "arm64"',
Lei Zhang3e1c26b2024-06-28 16:52:57 +0000506 },
507 {
Andy Phan4adcb082025-01-08 12:01:46 -0800508 'object_name': 'Win/rust-toolchain-8a1f8039a7ded79d3d4fe97b110016d89f2b11e2-1-llvmorg-20-init-16062-g091448e3.tar.xz',
509 'sha256sum': 'd709f967e0dcfa8aaba98b98111145e6f1e0b41aa0816c6e46144176b0c7d645',
510 'size_bytes': 176629828,
511 'generation': 1734710927011110,
Lei Zhang75d98f42024-09-17 21:15:15 +0000512 'condition': 'host_os == "win"',
Lei Zhang3e1c26b2024-06-28 16:52:57 +0000513 },
514 ],
515 },
516
Lei Zhanga2ccb262022-07-26 00:56:23 +0000517 'third_party/skia': {
518 'url': Var('skia_git') + '/skia.git@' + Var('skia_revision'),
519 'condition': 'checkout_skia',
520 },
Tom Sepez22ee2482015-01-07 10:04:16 -0800521
Tom Anderson331f3eb2021-10-22 00:49:44 +0000522 'third_party/test_fonts':
523 Var('chromium_git') + '/chromium/src/third_party/test_fonts.git@' +
524 Var('test_fonts_revision'),
525
Lei Zhang73b4e772020-04-13 23:35:48 +0000526 'third_party/zlib':
527 Var('chromium_git') + '/chromium/src/third_party/zlib.git@' +
Lei Zhanga2af7de2017-03-31 13:33:12 -0700528 Var('zlib_revision'),
529
Lei Zhang73b4e772020-04-13 23:35:48 +0000530 'tools/clang':
Lei Zhang8d314172021-11-30 22:48:19 +0000531 Var('chromium_git') + '/chromium/src/tools/clang@' + Var('clang_revision'),
Oliver Changafaa98e2015-10-21 15:29:47 -0700532
Lei Zhang73b4e772020-04-13 23:35:48 +0000533 'tools/code_coverage':
534 Var('chromium_git') + '/chromium/src/tools/code_coverage.git@' +
Ryan Harrisona7b65b82018-05-30 19:56:11 +0000535 Var('code_coverage_revision'),
536
Lei Zhang73b4e772020-04-13 23:35:48 +0000537 'tools/memory':
538 Var('chromium_git') + '/chromium/src/tools/memory@' +
dsinclairfb969002016-05-31 12:55:32 -0700539 Var('tools_memory_revision'),
540
K. Moon643278d2022-10-06 20:41:42 +0000541 'tools/resultdb': {
542 'packages': [
543 {
544 'package': 'infra/tools/result_adapter/${{platform}}',
545 'version': Var('resultdb_version'),
546 },
547 ],
548 'dep_type': 'cipd',
549 },
550
danakj647a0802023-10-31 17:38:24 +0000551 'tools/rust': {
552 'url': Var('chromium_git') + '/chromium/src/tools/rust@' +
Lei Zhang063859b2024-06-28 16:54:58 +0000553 Var('tools_rust_revision'),
danakj647a0802023-10-31 17:38:24 +0000554 'condition': 'checkout_rust',
555 },
556
Stephanie Kim606d0852021-03-04 16:02:41 +0000557 'tools/skia_goldctl/linux': {
558 'packages': [
559 {
560 'package': 'skia/tools/goldctl/linux-amd64',
Lei Zhang07e34862024-07-02 19:05:37 +0000561 'version': Var('goldctl_version'),
Stephanie Kim606d0852021-03-04 16:02:41 +0000562 }
563 ],
564 'dep_type': 'cipd',
565 'condition': 'checkout_linux',
566 },
567
Daniel Hosseinian68bba802021-12-31 01:23:54 +0000568 'tools/skia_goldctl/mac_amd64': {
569 'packages': [
570 {
571 'package': 'skia/tools/goldctl/mac-amd64',
Lei Zhang07e34862024-07-02 19:05:37 +0000572 'version': Var('goldctl_version'),
Daniel Hosseinian68bba802021-12-31 01:23:54 +0000573 }
574 ],
575 'dep_type': 'cipd',
576 'condition': 'checkout_mac',
577 },
578
579 'tools/skia_goldctl/mac_arm64': {
580 'packages': [
581 {
582 'package': 'skia/tools/goldctl/mac-arm64',
Lei Zhang07e34862024-07-02 19:05:37 +0000583 'version': Var('goldctl_version'),
Daniel Hosseinian68bba802021-12-31 01:23:54 +0000584 }
585 ],
586 'dep_type': 'cipd',
587 'condition': 'checkout_mac',
588 },
589
Stephanie Kim606d0852021-03-04 16:02:41 +0000590 'tools/skia_goldctl/win': {
591 'packages': [
592 {
593 'package': 'skia/tools/goldctl/windows-amd64',
Lei Zhang07e34862024-07-02 19:05:37 +0000594 'version': Var('goldctl_version'),
Stephanie Kim606d0852021-03-04 16:02:41 +0000595 }
596 ],
597 'dep_type': 'cipd',
598 'condition': 'checkout_win',
599 },
600
Lei Zhanga2ccb262022-07-26 00:56:23 +0000601 'v8': {
602 'url': Var('chromium_git') + '/v8/v8.git@' + Var('v8_revision'),
603 'condition': 'checkout_v8',
604 },
605
Aneesh Mulye2ee9c3a2014-08-06 18:11:02 -0700606}
607
Tom Anderson317e40e2024-04-08 20:19:33 +0000608recursedeps = [
Lei Zhang3c0b08c2024-05-17 17:10:48 +0000609 'build',
610 'buildtools',
Tom Anderson317e40e2024-04-08 20:19:33 +0000611 'third_party/instrumented_libs',
612]
thestig3873f302016-09-28 17:39:26 -0700613
Tom Sepez4c0e2752015-06-05 13:46:08 -0700614include_rules = [
Lei Zhang8fec3e42015-11-04 15:32:02 -0800615 # Basic stuff that everyone can use.
616 # Note: public is not here because core cannot depend on public.
Lei Zhangf79e15b2019-03-19 23:15:50 +0000617 '+build/build_config.h',
Lei Zhang26170562018-04-17 17:01:52 +0000618 '+constants',
Tom Sepez0c1bd7c2015-06-17 15:56:43 -0700619 '+testing',
Lei Zhang32219d72021-09-29 21:13:27 +0000620
Lei Zhang907b76512024-02-08 17:35:16 +0000621 # Abseil is allowed by default, but some features are banned. See Chromium's
622 # //styleguide/c++/c++-features.md.
623 '+third_party/abseil-cpp',
624 '-third_party/abseil-cpp/absl/algorithm/container.h',
625 '-third_party/abseil-cpp/absl/base/no_destructor.h',
626 '-third_party/abseil-cpp/absl/base/nullability.h',
627 '-third_party/abseil-cpp/absl/container',
Lei Zhang4fbc06a2023-10-12 22:36:43 +0000628 '+third_party/abseil-cpp/absl/container/inlined_vector.h',
Lei Zhang907b76512024-02-08 17:35:16 +0000629 '-third_party/abseil-cpp/absl/crc',
630 '-third_party/abseil-cpp/absl/flags',
631 '-third_party/abseil-cpp/absl/functional/any_invocable.h',
632 '-third_party/abseil-cpp/absl/functional/bind_front.h',
633 '-third_party/abseil-cpp/absl/functional/function_ref.h',
634 '-third_party/abseil-cpp/absl/functional/overload.h',
635 '-third_party/abseil-cpp/absl/hash',
636 '-third_party/abseil-cpp/absl/log',
637 '-third_party/abseil-cpp/absl/random',
638 '-third_party/abseil-cpp/absl/status/statusor.h',
639 '-third_party/abseil-cpp/absl/strings',
640 '+third_party/abseil-cpp/absl/strings/ascii.h',
641 '+third_party/abseil-cpp/absl/strings/cord.h',
642 '-third_party/abseil-cpp/absl/synchronization',
643 '-third_party/abseil-cpp/absl/time',
644 '-third_party/abseil-cpp/absl/types/any.h',
Lei Zhang812acad2024-02-16 07:09:17 +0000645 '-third_party/abseil-cpp/absl/types/optional.h',
Lei Zhang907b76512024-02-08 17:35:16 +0000646 '-third_party/abseil-cpp/absl/types/span.h',
Tom Sepez4c0e2752015-06-05 13:46:08 -0700647]
Tom Sepez0c1bd7c2015-06-17 15:56:43 -0700648
weili90c964f2016-04-22 15:25:14 -0700649specific_include_rules = {
650 # Allow embedder tests to use public APIs.
Lei Zhang73b4e772020-04-13 23:35:48 +0000651 '(.*embeddertest\.cpp)': [
652 '+public',
weili90c964f2016-04-22 15:25:14 -0700653 ]
654}
655
Tom Sepez0c1bd7c2015-06-17 15:56:43 -0700656hooks = [
dsinclair685bb882016-04-20 07:32:39 -0700657 {
Ankit Kumar5ef1d5c2020-07-01 06:57:13 +0000658 # Ensure that the DEPS'd "depot_tools" has its self-update capability
659 # disabled.
660 'name': 'disable_depot_tools_selfupdate',
661 'pattern': '.',
Lei Zhangfc24fe52021-10-20 16:41:38 +0000662 'action': [ 'python3',
Ankit Kumar01846f72020-07-01 07:37:23 +0000663 'third_party/depot_tools/update_depot_tools_toggle.py',
Ankit Kumar5ef1d5c2020-07-01 06:57:13 +0000664 '--disable',
665 ],
666 },
667 {
Lei Zhang4b1dea82019-02-08 00:39:06 +0000668 # Case-insensitivity for the Win SDK. Must run before win_toolchain below.
669 'name': 'ciopfs_linux',
670 'pattern': '.',
671 'condition': 'checkout_win and host_os == "linux"',
Lei Zhangfc24fe52021-10-20 16:41:38 +0000672 'action': [ 'python3',
Ankit Kumar01846f72020-07-01 07:37:23 +0000673 'third_party/depot_tools/download_from_google_storage.py',
Lei Zhang4b1dea82019-02-08 00:39:06 +0000674 '--no_resume',
675 '--no_auth',
676 '--bucket', 'chromium-browser-clang/ciopfs',
Ankit Kumar01846f72020-07-01 07:37:23 +0000677 '-s', 'build/ciopfs.sha1',
Lei Zhang4b1dea82019-02-08 00:39:06 +0000678 ]
679 },
680 {
681 # Update the Windows toolchain if necessary. Must run before 'clang' below.
682 'name': 'win_toolchain',
683 'pattern': '.',
684 'condition': 'checkout_win',
Lei Zhangfc24fe52021-10-20 16:41:38 +0000685 'action': ['python3', 'build/vs_toolchain.py', 'update', '--force'],
Lei Zhang4b1dea82019-02-08 00:39:06 +0000686 },
687 {
688 # Update the Mac toolchain if necessary.
689 'name': 'mac_toolchain',
690 'pattern': '.',
Lei Zhang791eaff2020-07-28 19:44:41 +0000691 'condition': 'checkout_mac',
Lei Zhangfc24fe52021-10-20 16:41:38 +0000692 'action': ['python3', 'build/mac_toolchain.py'],
Lei Zhang4b1dea82019-02-08 00:39:06 +0000693 },
Lei Zhang96122852022-05-04 00:43:55 +0000694 # Pull dsymutil binaries using checked-in hashes.
695 {
696 'name': 'dsymutil_mac_arm64',
697 'pattern': '.',
698 'condition': 'host_os == "mac" and host_cpu == "arm64"',
699 'action': [ 'python3',
700 'third_party/depot_tools/download_from_google_storage.py',
701 '--no_resume',
702 '--no_auth',
703 '--bucket', 'chromium-browser-clang',
704 '-s', 'tools/clang/dsymutil/bin/dsymutil.arm64.sha1',
705 '-o', 'tools/clang/dsymutil/bin/dsymutil',
706 ],
707 },
708 {
709 'name': 'dsymutil_mac_x64',
710 'pattern': '.',
711 'condition': 'host_os == "mac" and host_cpu == "x64"',
712 'action': [ 'python3',
713 'third_party/depot_tools/download_from_google_storage.py',
714 '--no_resume',
715 '--no_auth',
716 '--bucket', 'chromium-browser-clang',
717 '-s', 'tools/clang/dsymutil/bin/dsymutil.x64.sha1',
718 '-o', 'tools/clang/dsymutil/bin/dsymutil',
719 ],
720 },
Oliver Changafaa98e2015-10-21 15:29:47 -0700721 {
Tom Anderson331f3eb2021-10-22 00:49:44 +0000722 'name': 'test_fonts',
723 'pattern': '.',
724 'action': [ 'python3',
725 'third_party/depot_tools/download_from_google_storage.py',
726 '--no_resume',
727 '--extract',
728 '--no_auth',
729 '--bucket', 'chromium-fonts',
730 '-s', 'third_party/test_fonts/test_fonts.tar.gz.sha1',
731 ],
732 },
733 {
Lei Zhangd3220622018-08-27 17:43:10 +0000734 # Update LASTCHANGE.
735 'name': 'lastchange',
736 'pattern': '.',
Lei Zhangfc24fe52021-10-20 16:41:38 +0000737 'action': ['python3', 'build/util/lastchange.py',
Ankit Kumar01846f72020-07-01 07:37:23 +0000738 '-o', 'build/util/LASTCHANGE'],
Lei Zhangd3220622018-08-27 17:43:10 +0000739 },
Lei Zhang01ea79c2024-05-02 16:49:14 +0000740 # Configure remote exec cfg files
Lei Zhange293c092023-07-06 21:55:51 +0000741 {
Lei Zhang01ea79c2024-05-02 16:49:14 +0000742 # Use luci_auth if on windows and using chrome-untrusted project
743 'name': 'download_and_configure_reclient_cfgs',
Lei Zhange293c092023-07-06 21:55:51 +0000744 'pattern': '.',
Lei Zhang01ea79c2024-05-02 16:49:14 +0000745 'condition': 'download_remoteexec_cfg and host_os == "win"',
Lei Zhange293c092023-07-06 21:55:51 +0000746 'action': ['python3',
Lei Zhang01ea79c2024-05-02 16:49:14 +0000747 'buildtools/reclient_cfgs/configure_reclient_cfgs.py',
Lei Zhange293c092023-07-06 21:55:51 +0000748 '--rbe_instance',
749 Var('rbe_instance'),
750 '--reproxy_cfg_template',
751 'reproxy.cfg.template',
752 '--rewrapper_cfg_project',
753 Var('rewrapper_cfg_project'),
Lei Zhang01ea79c2024-05-02 16:49:14 +0000754 '--use_luci_auth_credshelper',
755 '--quiet',
756 ],
757 }, {
758 'name': 'download_and_configure_reclient_cfgs',
759 'pattern': '.',
760 'condition': 'download_remoteexec_cfg and not host_os == "win"',
761 'action': ['python3',
762 'buildtools/reclient_cfgs/configure_reclient_cfgs.py',
763 '--rbe_instance',
764 Var('rbe_instance'),
765 '--reproxy_cfg_template',
766 'reproxy.cfg.template',
767 '--rewrapper_cfg_project',
768 Var('rewrapper_cfg_project'),
769 '--quiet',
770 ],
771 },
772 {
773 'name': 'configure_reclient_cfgs',
774 'pattern': '.',
775 'condition': 'not download_remoteexec_cfg',
776 'action': ['python3',
777 'buildtools/reclient_cfgs/configure_reclient_cfgs.py',
778 '--rbe_instance',
779 Var('rbe_instance'),
780 '--reproxy_cfg_template',
781 'reproxy.cfg.template',
782 '--rewrapper_cfg_project',
783 Var('rewrapper_cfg_project'),
784 '--skip_remoteexec_cfg_fetch',
Lei Zhange293c092023-07-06 21:55:51 +0000785 '--quiet',
Lei Zhange293c092023-07-06 21:55:51 +0000786 ],
787 },
Tom Sepeze9446f82015-08-13 15:51:43 -0700788]