diff options
| author | 2024-05-01 23:03:34 +0000 | |
|---|---|---|
| committer | 2024-05-01 23:03:34 +0000 | |
| commit | c4466a6387f9947bc6dbd8114cf38ffaf74b6727 (patch) | |
| tree | 803efefda3d11e0be8503c8349bae032061865a1 /java/fuzz.go | |
| parent | 72455888ea2c9ac92bc95b1f23a696bea48ba7cc (diff) | |
| parent | ed5276f0827915166e89b72bf26f7e65f68d2dd5 (diff) | |
Merge "Revert "Make the enabled property configurable"" into aosp-main-future
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 } |