cros: handle CitC checkouts

Change-Id: Ie1183f1e6daca9cda9fb685c18b244a2defe99f3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4922171
Commit-Queue: George Engelbrecht <engeg@google.com>
Auto-Submit: Mike Frysinger <vapier@chromium.org>
Reviewed-by: George Engelbrecht <engeg@google.com>
changes/71/4922171/2
Mike Frysinger 2 years ago committed by LUCI CQ
parent 6aed4f5a0c
commit ffd07cc90d

@ -33,9 +33,16 @@ def _FindChromite(path):
# Depending on the checkout type (whether repo chromeos or gclient chrome)
# Chromite lives in a different location.
roots = (
# CrOS checkout using normal manifest.
('.repo', 'chromite/.git'),
# CrOS checkout using CitC.
('../.citc', 'chromite/__init__.py'),
# Chromium checkout using gclient+DEPS.
('.gclient', 'src/third_party/chromite/.git'),
# Chromium checkout using git submodules.
('src/.gitmodules', 'src/third_party/chromite/.git'),
# Chromium checkout using CitC.
('../.citc', 'third_party/chromite/__init__.py'),
)
while path != '/':

Loading…
Cancel
Save