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 Bartłomiej Rudecki
parent 0a7410cb9e
commit 2fdf082279

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 {