Merge "Fix ravenizer when transitive classpath is enabled" into main
This commit is contained in:
@@ -1668,6 +1668,8 @@ func (j *Module) compile(ctx android.ModuleContext, extraSrcJars, extraClasspath
|
|||||||
Output: ravenizerOutput,
|
Output: ravenizerOutput,
|
||||||
})
|
})
|
||||||
outputFile = ravenizerOutput
|
outputFile = ravenizerOutput
|
||||||
|
localImplementationJars = android.Paths{ravenizerOutput}
|
||||||
|
completeStaticLibsImplementationJars = android.NewDepSet(android.PREORDER, localImplementationJars, nil)
|
||||||
}
|
}
|
||||||
|
|
||||||
if j.shouldApiMapper() {
|
if j.shouldApiMapper() {
|
||||||
@@ -1680,6 +1682,8 @@ func (j *Module) compile(ctx android.ModuleContext, extraSrcJars, extraClasspath
|
|||||||
Output: apiMapperFile,
|
Output: apiMapperFile,
|
||||||
})
|
})
|
||||||
outputFile = apiMapperFile
|
outputFile = apiMapperFile
|
||||||
|
localImplementationJars = android.Paths{apiMapperFile}
|
||||||
|
completeStaticLibsImplementationJars = android.NewDepSet(android.PREORDER, localImplementationJars, nil)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check package restrictions if necessary.
|
// Check package restrictions if necessary.
|
||||||
@@ -1701,6 +1705,8 @@ func (j *Module) compile(ctx android.ModuleContext, extraSrcJars, extraClasspath
|
|||||||
Validation: pkgckFile,
|
Validation: pkgckFile,
|
||||||
})
|
})
|
||||||
outputFile = packageCheckOutputFile
|
outputFile = packageCheckOutputFile
|
||||||
|
localImplementationJars = android.Paths{packageCheckOutputFile}
|
||||||
|
completeStaticLibsImplementationJars = android.NewDepSet(android.PREORDER, localImplementationJars, nil)
|
||||||
|
|
||||||
// Check packages and create a timestamp file when complete.
|
// Check packages and create a timestamp file when complete.
|
||||||
CheckJarPackages(ctx, pkgckFile, outputFile, j.properties.Permitted_packages)
|
CheckJarPackages(ctx, pkgckFile, outputFile, j.properties.Permitted_packages)
|
||||||
|
Reference in New Issue
Block a user