Add ctx argument to IDEInfo()
The IDEInfo() methods read properties. To make those properties configurable, we need a context to evaluate them with. Bug: 362579941 Test: m nothing --no-skip-soong-tests Change-Id: I26d4b7084439b3006e50b02277298f74a929e1aa
This commit is contained in:
@@ -2049,7 +2049,7 @@ func (j *Module) ClassLoaderContexts() dexpreopt.ClassLoaderContextMap {
|
||||
}
|
||||
|
||||
// Collect information for opening IDE project files in java/jdeps.go.
|
||||
func (j *Module) IDEInfo(dpInfo *android.IdeInfo) {
|
||||
func (j *Module) IDEInfo(ctx android.BaseModuleContext, dpInfo *android.IdeInfo) {
|
||||
// jarjar rules will repackage the sources. To prevent misleading results, IdeInfo should contain the
|
||||
// repackaged jar instead of the input sources.
|
||||
if j.expandJarjarRules != nil {
|
||||
|
Reference in New Issue
Block a user