diff options
author | 2023-12-27 15:27:12 -0800 | |
---|---|---|
committer | 2023-12-27 15:27:12 -0800 | |
commit | 65dd2c379d135766eaaea065774f9d2efa9d7dfc (patch) | |
tree | 989aceb4516672ceef47045d12ccf5e8a40a18a4 /fuzz | |
parent | ad579a8c713215e60ac9f560bd32684f604cda7b (diff) |
Fix condition that misses packaging some fuzzers
Fuzzers that are host only were not packaged in the haiku zip.
Bug: 316399445
Test: make haiku
Change-Id: I54f1cd3f446667b940063f16599de4139a7a7ade
Diffstat (limited to 'fuzz')
-rw-r--r-- | fuzz/fuzz_common.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fuzz/fuzz_common.go b/fuzz/fuzz_common.go index 5d7bc2b04..47fd8f439 100644 --- a/fuzz/fuzz_common.go +++ b/fuzz/fuzz_common.go @@ -525,12 +525,10 @@ func (s *FuzzPackager) BuildZipFile(ctx android.SingletonContext, module android builder.Build("create-"+fuzzZip.String(), "Package "+module.Name()+" for "+archString+"-"+hostOrTargetString) - // Don't add modules to 'make haiku-rust' that are set to not be - // exported to the fuzzing infrastructure. if config := fuzzModule.FuzzProperties.Fuzz_config; config != nil { if strings.Contains(hostOrTargetString, "host") && !BoolDefault(config.Fuzz_on_haiku_host, true) { return archDirs[archOs], false - } else if !BoolDefault(config.Fuzz_on_haiku_device, true) { + } else if !strings.Contains(hostOrTargetString, "host") && !BoolDefault(config.Fuzz_on_haiku_device, true) { return archDirs[archOs], false } } |