From a644c263dd1ea327f428e540a4f0aea82e7a42bd Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Wed, 15 Nov 2023 11:38:36 -0800 Subject: Stop collecting path entry for module_bp_java_deps.json from each module type The jdepsGeneratorSingleton can get the module path directly, it doesn't need to be collected by each module type that implements IDEInfo. Fixes module types (like android_library) that didn't reach the code that collected the path. Bug: 309835196 Test: out/soong/module_bp_java_deps.json contains path for ExtServices.core Change-Id: If8cb81b4f708e0367f156ade164bee253bf53492 --- java/java.go | 3 --- 1 file changed, 3 deletions(-) (limited to 'java/java.go') diff --git a/java/java.go b/java/java.go index dd0418894..e882e94b2 100644 --- a/java/java.go +++ b/java/java.go @@ -719,9 +719,6 @@ func (j *Library) GenerateAndroidBuildActions(ctx android.ModuleContext) { } j.compile(ctx, nil, nil, nil) - // Collect the module directory for IDE info in java/jdeps.go. - j.modulePaths = append(j.modulePaths, ctx.ModuleDir()) - exclusivelyForApex := !apexInfo.IsForPlatform() if (Bool(j.properties.Installable) || ctx.Host()) && !exclusivelyForApex { var extraInstallDeps android.Paths -- cgit v1.2.3-59-g8ed1b