File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,6 +15,9 @@ if(NOT DEFINED BOLOS_SDK)
1515 return ()
1616endif ()
1717
18+ # Make address_book headers available to all targets, including SDK sub-projects
19+ include_directories (${BOLOS_SDK} /address_book/include )
20+
1821add_subdirectory (${BOLOS_SDK} /fuzzing ${CMAKE_CURRENT_BINARY_DIR} /ledger-secure-sdk EXCLUDE_FROM_ALL )
1922
2023set (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} /address_book/src/*.c )
35+ list (APPEND C_SOURCES ${AB_SDK_SOURCES} )
3136list (REMOVE_ITEM C_SOURCES
3237 ${APP_SRC} /main.c
3338 ${PLUGIN_SDK_SRC} /main.c
@@ -56,6 +61,7 @@ target_include_directories(
5661 ${APP_SRC} /features/provide_nft_information
5762 ${APP_SRC} /features/provide_gating
5863 ${APP_SRC} /features/provide_map_entry
64+ ${APP_SRC} /features/address_book
5965 ${APP_SRC} /features/sign_message_eip712_common
6066 ${APP_SRC} /features/sign_message_eip712
6167 ${APP_SRC} /features/set_plugin
@@ -70,6 +76,7 @@ target_include_directories(
7076 ${APP_SRC} /nbgl
7177 ${APP_SRC} /swap
7278 ${PLUGIN_SDK_SRC}
79+ ${BOLOS_SDK} /address_book/include
7380)
7481
7582target_link_libraries (code_lib PUBLIC secure_sdk )
You can’t perform that action at this time.
0 commit comments