From 6e3a5ab1e45f5a8f8c714d1944f86202f1c76d5c Mon Sep 17 00:00:00 2001 From: Andrei Litvin Date: Tue, 4 Apr 2023 11:14:36 -0400 Subject: [PATCH] Fix typo: fuzzer should enable fuzzer, not tsan (#25967) Co-authored-by: Andrei Litvin --- scripts/build/build/targets.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build/build/targets.py b/scripts/build/build/targets.py index 6073ffc8aeac6b..904dd81e0d063f 100755 --- a/scripts/build/build/targets.py +++ b/scripts/build/build/targets.py @@ -68,7 +68,7 @@ def BuildHostFakeTarget(): target.AppendModifier("asan", use_asan=True).ExceptIfRe("-tsan") target.AppendModifier("tsan", use_tsan=True).ExceptIfRe("-asan") target.AppendModifier("ubsan", use_ubsan=True) - target.AppendModifier("libfuzzer", use_tsan=True).OnlyIfRe("-clang") + target.AppendModifier("libfuzzer", use_libfuzzer=True).OnlyIfRe("-clang") target.AppendModifier('coverage', use_coverage=True).OnlyIfRe('-(chip-tool|all-clusters)') target.AppendModifier('dmalloc', use_dmalloc=True) target.AppendModifier('clang', use_clang=True) @@ -140,7 +140,7 @@ def BuildHostTarget(): target.AppendModifier("asan", use_asan=True).ExceptIfRe("-tsan") target.AppendModifier("tsan", use_tsan=True).ExceptIfRe("-asan") target.AppendModifier("ubsan", use_ubsan=True) - target.AppendModifier("libfuzzer", use_tsan=True).OnlyIfRe("-clang") + target.AppendModifier("libfuzzer", use_libfuzzer=True).OnlyIfRe("-clang") target.AppendModifier('coverage', use_coverage=True).OnlyIfRe('-(chip-tool|all-clusters)') target.AppendModifier('dmalloc', use_dmalloc=True) target.AppendModifier('clang', use_clang=True)