device-deps-regenerator: Handle deps set in _hardware_ repos

Example: hardware/motorola depends on system/qcom

Change-Id: I996d9b89dca777cb83de6ec07075ab9454290016
This commit is contained in:
Michael Bestas
2023-01-12 22:50:25 +02:00
parent d8eb1bc082
commit 636fead761

View File

@@ -72,7 +72,7 @@ other_repos = set()
with concurrent.futures.ThreadPoolExecutor(max_workers=args.jobs) as executor:
for repo in g.get_organization('LineageOS').get_repos():
if '_device_' not in repo.name:
if '_device_' not in repo.name and '_hardware_' not in repo.name:
continue
print(n, repo.name)
n += 1