Add tags to the list of lsdump paths

This commit adds tags, such as NDK, VNDK-core, and PLATFORM, to
LSDUMP_PATHS. The script updating the reference ABI dumps uses the tags
to determine the directories where the dumps should be created.

Test: make findlsdumps
Bug: 133176785
Change-Id: I8540286238cf0ec55c65e1c4f60cb9c12e5e57a1
This commit is contained in:
Hsin-Yi Chen
2019-07-31 17:10:45 +08:00
parent fb4ecc42ce
commit 5348964723
4 changed files with 51 additions and 24 deletions

View File

@@ -94,3 +94,9 @@ func sabiDepsMutator(mctx android.TopDownMutatorContext) {
})
}
}
func addLsdumpPath(lsdumpPath string) {
sabiLock.Lock()
lsdumpPaths = append(lsdumpPaths, lsdumpPath)
sabiLock.Unlock()
}