From ed5276f0827915166e89b72bf26f7e65f68d2dd5 Mon Sep 17 00:00:00 2001 From: Priyanka Advani Date: Wed, 1 May 2024 20:02:36 +0000 Subject: Revert "Make the enabled property configurable" Revert submission 27162921-configurable_enabled_property Reason for revert: Droid-monitor created revert due to Build breakage in b/338253720. Will be verifying through ABTD before submission. Reverted changes: /q/submissionid:27162921-configurable_enabled_property Change-Id: I2d144f9d297373a13a1190b173d10c966181ad84 --- rust/rust.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rust/rust.go') diff --git a/rust/rust.go b/rust/rust.go index de049f77f..c2b61515c 100644 --- a/rust/rust.go +++ b/rust/rust.go @@ -1697,7 +1697,7 @@ func (mod *Module) DepsMutator(actx android.BottomUpMutatorContext) { } func BeginMutator(ctx android.BottomUpMutatorContext) { - if mod, ok := ctx.Module().(*Module); ok && mod.Enabled(ctx) { + if mod, ok := ctx.Module().(*Module); ok && mod.Enabled() { mod.beginMutator(ctx) } } -- cgit v1.2.3-59-g8ed1b