Skip to content

Commit 0c70743

Browse files
Adapt fuzzing tests
1 parent 208644b commit 0c70743

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

tests/fuzzing/CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ if(NOT DEFINED BOLOS_SDK)
1515
return()
1616
endif()
1717

18+
# Make address_book headers available to all targets, including SDK sub-projects
19+
include_directories(${BOLOS_SDK}/app_features/address_book/include)
20+
1821
add_subdirectory(${BOLOS_SDK}/fuzzing ${CMAKE_CURRENT_BINARY_DIR}/ledger-secure-sdk EXCLUDE_FROM_ALL)
1922

2023
set(DEFINES FUZZ)
@@ -28,6 +31,8 @@ file(GLOB_RECURSE C_SOURCES
2831
${CMAKE_SOURCE_DIR}/mock/*.c
2932
${CMAKE_SOURCE_DIR}/src/fuzz_utils.c
3033
)
34+
file(GLOB AB_SDK_SOURCES ${BOLOS_SDK}/app_features/address_book/src/*.c)
35+
list(APPEND C_SOURCES ${AB_SDK_SOURCES})
3136
list(REMOVE_ITEM C_SOURCES
3237
${APP_SRC}/main.c
3338
${PLUGIN_SDK_SRC}/main.c
@@ -58,6 +63,7 @@ target_include_directories(
5863
${APP_SRC}/features/provide_nft_information
5964
${APP_SRC}/features/provide_gating
6065
${APP_SRC}/features/provide_map_entry
66+
${APP_SRC}/features/address_book
6167
${APP_SRC}/features/sign_message_eip712_common
6268
${APP_SRC}/features/sign_message_eip712
6369
${APP_SRC}/features/set_plugin

0 commit comments

Comments
 (0)