soong: generator: Update for 15
Change-Id: I6f5be3f06f282b036cee5c2a884f1082f698bcaf
This commit is contained in:
@@ -152,7 +152,7 @@ func (g *Module) GenerateAndroidBuildActions(ctx android.ModuleContext) {
|
|||||||
var path android.OptionalPath
|
var path android.OptionalPath
|
||||||
|
|
||||||
if t, ok := module.(HostToolProvider); ok {
|
if t, ok := module.(HostToolProvider); ok {
|
||||||
if !t.(android.Module).Enabled() {
|
if !t.(android.Module).Enabled(ctx) {
|
||||||
if ctx.Config().AllowMissingDependencies() {
|
if ctx.Config().AllowMissingDependencies() {
|
||||||
ctx.AddMissingDependencies([]string{tool})
|
ctx.AddMissingDependencies([]string{tool})
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user