Merge "Don't visit disabled modules with SOONG_COLLECT_JAVA_DEPS=true"
This commit is contained in:
@@ -51,6 +51,10 @@ func (j *jdepsGeneratorSingleton) GenerateBuildActions(ctx android.SingletonCont
|
|||||||
moduleInfos := make(map[string]android.IdeInfo)
|
moduleInfos := make(map[string]android.IdeInfo)
|
||||||
|
|
||||||
ctx.VisitAllModules(func(module android.Module) {
|
ctx.VisitAllModules(func(module android.Module) {
|
||||||
|
if !module.Enabled() {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
ideInfoProvider, ok := module.(android.IDEInfo)
|
ideInfoProvider, ok := module.(android.IDEInfo)
|
||||||
if !ok {
|
if !ok {
|
||||||
return
|
return
|
||||||
|
Reference in New Issue
Block a user