diff options
author | 2024-05-01 20:02:36 +0000 | |
---|---|---|
committer | 2024-05-01 20:02:41 +0000 | |
commit | ed5276f0827915166e89b72bf26f7e65f68d2dd5 (patch) | |
tree | 87afdde2eda7687d2b50a801a0a93c7df194848a /java/fuzz.go | |
parent | 0e0d7490625c713bb71c254bd55129b0a30898a3 (diff) |
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
Diffstat (limited to 'java/fuzz.go')
-rw-r--r-- | java/fuzz.go | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/java/fuzz.go b/java/fuzz.go index 78ab10891..fb31ce794 100644 --- a/java/fuzz.go +++ b/java/fuzz.go @@ -69,13 +69,13 @@ func JavaFuzzFactory() android.Module { android.AddLoadHook(module, func(ctx android.LoadHookContext) { disableLinuxBionic := struct { - Enabled proptools.Configurable[bool] - }{ - Enabled: android.CreateSelectOsToBool(map[string]*bool{ - "": nil, - "linux_bionic": proptools.BoolPtr(false), - }), - } + Target struct { + Linux_bionic struct { + Enabled *bool + } + } + }{} + disableLinuxBionic.Target.Linux_bionic.Enabled = proptools.BoolPtr(false) ctx.AppendProperties(&disableLinuxBionic) }) @@ -179,7 +179,7 @@ func (s *javaFuzzPackager) GenerateBuildActions(ctx android.SingletonContext) { javaFuzzModule.ApexModuleBase, } - if ok := fuzz.IsValid(ctx, fuzzModuleValidator); !ok { + if ok := fuzz.IsValid(fuzzModuleValidator); !ok { return } |