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,
|
||||
})
|
||||
outputFile = ravenizerOutput
|
||||
localImplementationJars = android.Paths{ravenizerOutput}
|
||||
completeStaticLibsImplementationJars = android.NewDepSet(android.PREORDER, localImplementationJars, nil)
|
||||
}
|
||||
|
||||
if j.shouldApiMapper() {
|
||||
@@ -1680,6 +1682,8 @@ func (j *Module) compile(ctx android.ModuleContext, extraSrcJars, extraClasspath
|
||||
Output: apiMapperFile,
|
||||
})
|
||||
outputFile = apiMapperFile
|
||||
localImplementationJars = android.Paths{apiMapperFile}
|
||||
completeStaticLibsImplementationJars = android.NewDepSet(android.PREORDER, localImplementationJars, nil)
|
||||
}
|
||||
|
||||
// Check package restrictions if necessary.
|
||||
@@ -1701,6 +1705,8 @@ func (j *Module) compile(ctx android.ModuleContext, extraSrcJars, extraClasspath
|
||||
Validation: pkgckFile,
|
||||
})
|
||||
outputFile = packageCheckOutputFile
|
||||
localImplementationJars = android.Paths{packageCheckOutputFile}
|
||||
completeStaticLibsImplementationJars = android.NewDepSet(android.PREORDER, localImplementationJars, nil)
|
||||
|
||||
// Check packages and create a timestamp file when complete.
|
||||
CheckJarPackages(ctx, pkgckFile, outputFile, j.properties.Permitted_packages)
|
||||
|
Reference in New Issue
Block a user