Do not modules in files called "Blueprints".

The only case for this was Blueprint itself at build/blueprint, but with
that being a part of Soong, this special case is not necessary anymore.

Test: Presubmits.
Change-Id: Icc51cd80bd43f936a97018061cfbf76fc385e4c3
This commit is contained in:
Lukacs T. Berki
2021-09-02 11:46:24 +02:00
parent 7686708a43
commit b838b0a147
9 changed files with 171 additions and 174 deletions

View File

@@ -525,7 +525,7 @@ func (c *config) mockFileSystem(bp string, fs map[string][]byte) {
pathsToParse := []string{}
for candidate := range mockFS {
base := filepath.Base(candidate)
if base == "Blueprints" || base == "Android.bp" {
if base == "Android.bp" {
pathsToParse = append(pathsToParse, candidate)
}
}