commit | dac01dadceaa9a1d28437419cfa077c2f9d6c11f | [log] [tgz] |
---|---|---|
author | Daniel Norman <danielnorman@google.com> | Thu Feb 06 13:03:16 2020 -0800 |
committer | Daniel Norman <danielnorman@google.com> | Thu Feb 06 21:06:50 2020 +0000 |
tree | 3619efd98617f94750b96eb4d13f04ed8dd287ae | |
parent | 04eb1c6136173f7eb78311b5fdfdaac92aeb9ac1 [diff] |
Scans repo projects by longest path match first, rather than shortest. This makes scan_repo_projects find the correct project even if multiple projects share a path prefix (e.g. system/foo and system/foo/bar). Runtime was barely affected, still a couple of seconds. Test: treble_manifest_split_test Change-Id: Ief5c66eec175c7f9f7d5e7ea662a2b7d16de9e48