[go: nahoru, domu]

reclient_cfgs: add configs for chromeos builds

This will be used for chrome on chromeos builds. Compared to the `linux` configs, the `linux_chroot` configs has extra params required for builds within a chroot.

Namely:
- dockerChrootPath=.,dockerRuntime=runsc
- exec_root=/

Bug: b/289161355
Change-Id: Ie0889d2730c320379cb64d6fabb87394bdf816af
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4778042
Commit-Queue: Eric Lok <lokeric@google.com>
Reviewed-by: Takuto Ikuta <tikuta@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1182995}
diff --git a/buildtools/reclient_cfgs/linux_chroot/chromium-browser-clang/rewrapper_linux.cfg b/buildtools/reclient_cfgs/linux_chroot/chromium-browser-clang/rewrapper_linux.cfg
new file mode 100644
index 0000000..4b0f2f3
--- /dev/null
+++ b/buildtools/reclient_cfgs/linux_chroot/chromium-browser-clang/rewrapper_linux.cfg
@@ -0,0 +1,9 @@
+platform=container-image=docker://gcr.io/chops-public-images-prod/rbe/siso-chromium/linux@sha256:26de99218a1a8b527d4840490bcbf1690ee0b55c84316300b60776e6b3a03fe1,dockerChrootPath=.,dockerRuntime=runsc
+server_address=unix:///tmp/reproxy.sock
+labels=type=compile,compiler=clang,lang=cpp
+exec_strategy=remote_local_fallback
+dial_timeout=10m
+exec_timeout=2m
+reclient_timeout=2m
+canonicalize_working_dir=true
+exec_root=/
diff --git a/buildtools/reclient_cfgs/linux_chroot/nacl/rewrapper_linux.cfg b/buildtools/reclient_cfgs/linux_chroot/nacl/rewrapper_linux.cfg
new file mode 100644
index 0000000..6085e143
--- /dev/null
+++ b/buildtools/reclient_cfgs/linux_chroot/nacl/rewrapper_linux.cfg
@@ -0,0 +1,10 @@
+platform=container-image=docker://gcr.io/chops-public-images-prod/rbe/siso-chromium/linux@sha256:26de99218a1a8b527d4840490bcbf1690ee0b55c84316300b60776e6b3a03fe1,dockerChrootPath=.,dockerRuntime=runsc
+server_address=unix:///tmp/reproxy.sock
+labels=type=compile,compiler=nacl,lang=cpp
+exec_strategy=remote_local_fallback
+inputs=native_client/toolchain/linux_x86/saigo_newlib/lib
+dial_timeout=10m
+canonicalize_working_dir=true
+exec_timeout=2m
+reclient_timeout=2m
+exec_root=/
diff --git a/buildtools/reclient_cfgs/linux_chroot/python/rewrapper_linux.cfg b/buildtools/reclient_cfgs/linux_chroot/python/rewrapper_linux.cfg
new file mode 100644
index 0000000..13f7e39
--- /dev/null
+++ b/buildtools/reclient_cfgs/linux_chroot/python/rewrapper_linux.cfg
@@ -0,0 +1,9 @@
+platform=container-image=docker://gcr.io/chops-public-images-prod/rbe/siso-chromium/linux@sha256:26de99218a1a8b527d4840490bcbf1690ee0b55c84316300b60776e6b3a03fe1,dockerChrootPath=.,dockerRuntime=runsc
+server_address=unix:///tmp/reproxy.sock
+labels=type=tool
+exec_strategy=remote_local_fallback
+dial_timeout=10m
+canonicalize_working_dir=true
+exec_timeout=2m
+reclient_timeout=2m
+exec_root=/
\ No newline at end of file