julhal01 | 37e1aea | 2021-02-09 15:22:20 +0000 | [diff] [blame] | 1 | #------------------------------------------------------------------------------- |
| 2 | # Copyright (c) 2021, Arm Limited and Contributors. All rights reserved. |
| 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | #------------------------------------------------------------------------------- |
| 7 | |
| 8 | #------------------------------------------------------------------------------- |
| 9 | # The base build file shared between deployments of 'env-test' for |
| 10 | # different environments. Used for running tests that validate hardwarw |
| 11 | # backed services available from within a secure execution environment. |
| 12 | #------------------------------------------------------------------------------- |
| 13 | |
| 14 | #------------------------------------------------------------------------------- |
julhal01 | 1260f10 | 2021-02-15 17:34:08 +0000 | [diff] [blame] | 15 | # Components that are common across all deployments |
julhal01 | 37e1aea | 2021-02-09 15:22:20 +0000 | [diff] [blame] | 16 | # |
| 17 | #------------------------------------------------------------------------------- |
| 18 | add_components( |
Julian Hall | 7048d30 | 2021-06-03 16:07:28 +0100 | [diff] [blame^] | 19 | TARGET "env-test" |
julhal01 | 37e1aea | 2021-02-09 15:22:20 +0000 | [diff] [blame] | 20 | BASE_DIR ${TS_ROOT} |
| 21 | COMPONENTS |
| 22 | "components/common/tlv" |
| 23 | "components/config/ramstore" |
| 24 | "components/rpc/common/interface" |
| 25 | "components/rpc/common/caller" |
Julian Hall | a7e76c8 | 2021-04-14 11:12:11 +0100 | [diff] [blame] | 26 | "components/service/common/include" |
julhal01 | 37e1aea | 2021-02-09 15:22:20 +0000 | [diff] [blame] | 27 | "components/service/common/provider" |
| 28 | "components/service/test_runner/provider" |
| 29 | "components/service/test_runner/provider/serializer/packed-c" |
| 30 | "components/service/test_runner/provider/backend/null" |
| 31 | "components/service/test_runner/provider/backend/simple_c" |
| 32 | "components/service/crypto/provider/mbedcrypto" |
| 33 | "components/service/crypto/provider/mbedcrypto/trng_adapter/platform" |
| 34 | "components/service/crypto/provider/mbedcrypto/trng_adapter/test" |
Julian Hall | a7e76c8 | 2021-04-14 11:12:11 +0100 | [diff] [blame] | 35 | "components/service/secure_storage/include" |
julhal01 | 1260f10 | 2021-02-15 17:34:08 +0000 | [diff] [blame] | 36 | "components/service/secure_storage/frontend/psa/its" |
| 37 | "components/service/secure_storage/backend/secure_storage_client" |
julhal01 | 37e1aea | 2021-02-09 15:22:20 +0000 | [diff] [blame] | 38 | "protocols/rpc/common/packed-c" |
| 39 | ) |
| 40 | |
| 41 | #------------------------------------------------------------------------------- |
| 42 | # Components used from external projects |
| 43 | # |
| 44 | #------------------------------------------------------------------------------- |
| 45 | |
Balint Dobszay | 3c52ce6 | 2021-05-10 16:27:18 +0200 | [diff] [blame] | 46 | # Mbed TLS provides libmbedcrypto |
| 47 | include(${TS_ROOT}/external/MbedTLS/MbedTLS.cmake) |
Julian Hall | 7048d30 | 2021-06-03 16:07:28 +0100 | [diff] [blame^] | 48 | target_link_libraries(env-test PRIVATE mbedcrypto) |