Enable libpsa in psa-api-tests
Refactor psa-api-test deployments to use libpsa.
Signed-off-by: Gabor Toth <gabor.toth2@arm.com>
Change-Id: If7f8fdbd48ce082a810983bf0696c791db185a9c
diff --git a/deployments/psa-api-test/internal_trusted_storage/its-api-test.cmake b/deployments/psa-api-test/internal_trusted_storage/its-api-test.cmake
index d373e19..f23faa9 100644
--- a/deployments/psa-api-test/internal_trusted_storage/its-api-test.cmake
+++ b/deployments/psa-api-test/internal_trusted_storage/its-api-test.cmake
@@ -22,17 +22,15 @@
# Internal trusted storage specific components
#
#-------------------------------------------------------------------------------
-add_components(
- TARGET "${PROJECT_NAME}"
- BASE_DIR ${TS_ROOT}
- COMPONENTS
- "components/service/secure_storage/include"
- "components/service/secure_storage/frontend/psa/its"
- "components/service/secure_storage/backend/secure_storage_client"
+target_sources(${PROJECT_NAME} PRIVATE
+ ${TS_ROOT}/deployments/psa-api-test/internal_trusted_storage/its.c
)
-target_sources(${PROJECT_NAME} PRIVATE
- ${TS_ROOT}/deployments/psa-api-test/internal_trusted_storage/its_locator.c
+add_components(TARGET ${PROJECT_NAME}
+ BASE_DIR ${TS_ROOT}
+ COMPONENTS
+ "components/service/common/include"
+ "components/service/secure_storage/include"
)
#-------------------------------------------------------------------------------