Add DEPS entries for reclient
Pull in reclient binaries and configs as part of gclient sync. The newly
added entries are nearly identical to the Chromium entries, except they
are adjusted to use relative paths.
Bug: pdfium:2063
Change-Id: I43798e9cc72ce0cb5cbff497eada3b736a3dc27a
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/109370
Reviewed-by: K. Moon <kmoon@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
diff --git a/DEPS b/DEPS
index 3592184..81828ce 100644
--- a/DEPS
+++ b/DEPS
@@ -27,6 +27,18 @@
# By default, download the fuchsia sdk from the public sdk directory.
'fuchsia_sdk_cipd_prefix': 'fuchsia/sdk/core/',
+ # Fetch configuration files required for the 'use_remoteexec' gn arg
+ 'download_remoteexec_cfg': False,
+ # RBE instance to use for running remote builds
+ 'rbe_instance': Str('projects/rbe-chrome-untrusted/instances/default_instance'),
+ # RBE project to download rewrapper config files for. Only needed if
+ # different from the project used in 'rbe_instance'
+ 'rewrapper_cfg_project': Str(''),
+ # reclient CIPD package
+ 'reclient_package': 'infra/rbe/client/',
+ # reclient CIPD package version
+ 'reclient_version': 're_client_version:0.109.0.927890d-gomaip',
+
'chromium_git': 'https://chromium.googlesource.com',
'pdfium_git': 'https://pdfium.googlesource.com',
'skia_git': 'https://skia.googlesource.com',
@@ -232,6 +244,16 @@
'condition': 'host_os == "mac"',
},
+ 'buildtools/reclient': {
+ 'packages': [
+ {
+ 'package': Var('reclient_package') + '${{platform}}',
+ 'version': Var('reclient_version'),
+ }
+ ],
+ 'dep_type': 'cipd',
+ },
+
'buildtools/third_party/libc++/trunk':
Var('chromium_git') +
'/external/github.com/llvm/llvm-project/libcxx.git@' +
@@ -678,4 +700,21 @@
'--version={fuchsia_version}',
],
},
+ # Download remote exec cfg files
+ {
+ 'name': 'fetch_reclient_cfgs',
+ 'pattern': '.',
+ 'condition': 'download_remoteexec_cfg',
+ 'action': ['python3',
+ 'buildtools/reclient_cfgs/fetch_reclient_cfgs.py',
+ '--rbe_instance',
+ Var('rbe_instance'),
+ '--reproxy_cfg_template',
+ 'reproxy.cfg.template',
+ '--rewrapper_cfg_project',
+ Var('rewrapper_cfg_project'),
+ '--quiet',
+ '--hook',
+ ],
+ },
]