Merge "Write AndroidMk for api-versions.xml module"

This commit is contained in:
Anton Hansson 2022-05-10 09:39:35 +00:00 committed by Gerrit Code Review
commit 55c157791e

View file

@ -542,6 +542,9 @@ func (dstubs *Droidstubs) AndroidMkEntries() []android.AndroidMkEntries {
if !outputFile.Valid() {
outputFile = android.OptionalPathForPath(dstubs.apiFile)
}
if !outputFile.Valid() {
outputFile = android.OptionalPathForPath(dstubs.apiVersionsXml)
}
return []android.AndroidMkEntries{android.AndroidMkEntries{
Class: "JAVA_LIBRARIES",
OutputFile: outputFile,