From 007dd45a94b8fe400fb69113f7999fed185cb5c1 Mon Sep 17 00:00:00 2001 From: Ruben Rodriguez Buchillon Date: Wed, 20 Dec 2023 10:23:04 +0000 Subject: [PATCH] cros: expand to cover more roots The background is we maintain a fork of a fork of cros and as we're moving to submodules this is what our repo looks like e.g. chromite is at the top, and it's using submodules. It doesn't seem like this would negatively affect anyone else, and would make our system a lot simpler. Change-Id: Ib1c9fd95a36e55fc13bede9bb539daedd5efe0ec Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5132338 Commit-Queue: Ruben Rodriguez Buchillon Reviewed-by: Mike Frysinger --- cros | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cros b/cros index 536cc65ff6..a92c11c733 100755 --- a/cros +++ b/cros @@ -48,6 +48,8 @@ def _FindChromite(path: Path) -> Optional[Checkout]: ('../.citc', 'chromite/__init__.py'), # Chromium checkout using gclient+DEPS. ('.gclient', 'src/third_party/chromite/.git'), + # Chromium checkout using git submodules (submodules at root). + ('.gitmodules', 'chromite/.git'), # Chromium checkout using git submodules. ('src/.gitmodules', 'src/third_party/chromite/.git'), # Chromium checkout using CitC.