summaryrefslogtreecommitdiff
path: root/fuzz
diff options
context:
space:
mode:
authorHoward Yang <hcyang@google.com>2021-09-16 15:51:56 +0800
committerCommit Bot <commit-bot@chromium.org>2021-10-07 07:38:11 +0000
commitaf9fd4fba4285b0bd73b96ff6c58e7fcc950c441 (patch)
tree00ed973dd54c87d6d9dcb9a7d97962b9f70559b5 /fuzz
parentfdf35d0b476089cb2c08bc13ac5dda2782d505cd (diff)
downloadchrome-ec-af9fd4fba4285b0bd73b96ff6c58e7fcc950c441.tar.gz
cr50: improve toolchain
Adjust Makefile toolchain setting so that fuzzers can generate coverage mapping correctly and generate debug symbols for source-based coverage report. Also, update gitignore to ignore local vscode settings. BUG=none TEST=make buildall -j Change-Id: I6d5c720895cbb9119c9266df998aa5cc308c1e61 Signed-off-by: Howard Yang <hcyang@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3162473 Reviewed-by: Andrey Pronin <apronin@chromium.org>
Diffstat (limited to 'fuzz')
-rw-r--r--fuzz/fuzz_config.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/fuzz/fuzz_config.h b/fuzz/fuzz_config.h
index b2318975cf..781921870a 100644
--- a/fuzz/fuzz_config.h
+++ b/fuzz/fuzz_config.h
@@ -102,5 +102,11 @@ enum nvmem_users {
#endif /* TEST_HOST_COMMAND_FUZZ */
-#endif /* TEST_FUZZ */
-#endif /* __FUZZ_FUZZ_CONFIG_H */
+#ifdef TEST_CR50_U2F_FUZZ
+#define CONFIG_DCRYPTO
+#define CONFIG_U2F
+#define CC_EXTENSION CC_COMMAND
+#endif /* TEST_CR50_U2F_FUZZ */
+
+#endif /* TEST_FUZZ */
+#endif /* __FUZZ_FUZZ_CONFIG_H */