soong: generator: Update for 15

Change-Id: I6f5be3f06f282b036cee5c2a884f1082f698bcaf
This commit is contained in:
Michael Bestas
2024-09-06 19:02:31 +03:00
committed by LuK1337
parent 89c5cd1501
commit ffca5f4c63

View File

@@ -152,7 +152,7 @@ func (g *Module) GenerateAndroidBuildActions(ctx android.ModuleContext) {
var path android.OptionalPath
if t, ok := module.(HostToolProvider); ok {
if !t.(android.Module).Enabled() {
if !t.(android.Module).Enabled(ctx) {
if ctx.Config().AllowMissingDependencies() {
ctx.AddMissingDependencies([]string{tool})
} else {