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

@@ -984,7 +984,7 @@ func pathForModule(ctx ModuleContext) OutputPath {
// PathForVndkRefAbiDump returns an OptionalPath representing the path of the
// reference abi dump for the given module. This is not guaranteed to be valid.
func PathForVndkRefAbiDump(ctx ModuleContext, version, fileName string,
isLlndkOrNdk, isVndk, isGzip bool) OptionalPath {
isNdk, isLlndkOrVndk, isGzip bool) OptionalPath {
arches := ctx.DeviceConfig().Arches()
if len(arches) == 0 {
@@ -997,9 +997,9 @@ func PathForVndkRefAbiDump(ctx ModuleContext, version, fileName string,
}
var dirName string
if isLlndkOrNdk {
if isNdk {
dirName = "ndk"
} else if isVndk {
} else if isLlndkOrVndk {
dirName = "vndk"
} else {
dirName = "platform" // opt-in libs