summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCole Faust <colefaust@google.com>2024-05-07 17:49:10 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2024-05-07 17:49:10 +0000
commit9714bfdc4ada124095c861646f96e8a7cfb7ddca (patch)
tree26988dc041b3505184d6176bead153a0bec03f05
parentc99d520c855821cb8a4098cb17ce0bf13cebb5ac (diff)
parentc5baffe6aa814b55c35fc3a26164e1d8a7e0f6a3 (diff)
downloadwayland-protocols-master.tar.gz
Merge "Convert the enabled property to a configurable property" into mainHEADmastermain
-rw-r--r--wayland_protocol_codegen.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/wayland_protocol_codegen.go b/wayland_protocol_codegen.go
index e507e61..598ac53 100644
--- a/wayland_protocol_codegen.go
+++ b/wayland_protocol_codegen.go
@@ -328,7 +328,7 @@ func (g *Module) generateCommonBuildActions(ctx android.ModuleContext) {
case android.HostToolProvider:
// A HostToolProvider provides the path to a tool, which will be copied
// into the sandbox.
- if !t.(android.Module).Enabled() {
+ if !t.(android.Module).Enabled(ctx) {
if ctx.Config().AllowMissingDependencies() {
ctx.AddMissingDependencies([]string{tool})
} else {