diff options
| author | 2025-01-15 20:45:01 -0800 | |
|---|---|---|
| committer | 2025-01-15 20:45:01 -0800 | |
| commit | a2c4c09e6f8b0a63347f2fa0a9028535e3dc88e4 (patch) | |
| tree | 59555625730c2f6b807a08330d0f4b9a798796e3 /java | |
| parent | 7f7077ce06afe7faf1f1033da7e86df84373e44c (diff) | |
| parent | b732c842ae305e55bf27ecc05f83e85b49023243 (diff) | |
Merge "Fix a bug where disbled modules generating error messages." into main
Diffstat (limited to 'java')
| -rw-r--r-- | java/app.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/java/app.go b/java/app.go index f4c658cac..34a172e8a 100644 --- a/java/app.go +++ b/java/app.go @@ -1171,6 +1171,9 @@ func collectJniDeps(ctx android.ModuleContext, seenModulePaths := make(map[string]bool) ctx.WalkDepsProxy(func(module, parent android.ModuleProxy) bool { + if !android.OtherModuleProviderOrDefault(ctx, module, android.CommonModuleInfoKey).Enabled { + return false + } otherName := ctx.OtherModuleName(module) tag := ctx.OtherModuleDependencyTag(module) |