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 <coconutruben@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
changes/38/5132338/3
Ruben Rodriguez Buchillon 2 years ago committed by LUCI CQ
parent 390005586b
commit 007dd45a94

@ -48,6 +48,8 @@ def _FindChromite(path: Path) -> Optional[Checkout]:
('../.citc', 'chromite/__init__.py'), ('../.citc', 'chromite/__init__.py'),
# Chromium checkout using gclient+DEPS. # Chromium checkout using gclient+DEPS.
('.gclient', 'src/third_party/chromite/.git'), ('.gclient', 'src/third_party/chromite/.git'),
# Chromium checkout using git submodules (submodules at root).
('.gitmodules', 'chromite/.git'),
# Chromium checkout using git submodules. # Chromium checkout using git submodules.
('src/.gitmodules', 'src/third_party/chromite/.git'), ('src/.gitmodules', 'src/third_party/chromite/.git'),
# Chromium checkout using CitC. # Chromium checkout using CitC.

Loading…
Cancel
Save