1 # Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 # @file CMakeLists.txt
16 # @author Bartlomiej Grzelewski (b.grzelewski@samsung.com)
21 SET(CERT_SVC_OGIG_TESTS_SOURCES
22 ${PROJECT_SOURCE_DIR}/tests/cert-svc/test_caflag.c
23 ${PROJECT_SOURCE_DIR}/tests/cert-svc/test_suite_main.c
28 ${PROJECT_SOURCE_DIR}/tests/cert-svc
29 ${PROJECT_SOURCE_DIR}/include
32 ADD_EXECUTABLE(${TARGET_TEST_CERT_SVC_OGIG} ${CERT_SVC_OGIG_TESTS_SOURCES} ${DPL_TEST_SOURCES})
34 TARGET_LINK_LIBRARIES(${TARGET_TEST_CERT_SVC_OGIG}
35 ${TARGET_CERT_SVC_LIB}
39 INSTALL(TARGETS ${TARGET_TEST_CERT_SVC_OGIG}
40 DESTINATION ${TZ_SYS_BIN}
41 PERMISSIONS OWNER_READ
51 ${PROJECT_SOURCE_DIR}/tests/cert-svc/data/caflag/second_ca.der
52 ${PROJECT_SOURCE_DIR}/tests/cert-svc/data/caflag/aia_signer.der
53 ${PROJECT_SOURCE_DIR}/tests/cert-svc/data/caflag/rev_signer.der
54 ${PROJECT_SOURCE_DIR}/tests/cert-svc/data/caflag/noaia_signer.der
55 ${PROJECT_SOURCE_DIR}/tests/cert-svc/data/caflag/v1_signer.der
56 DESTINATION ${TZ_SYS_SHARE}/cert-svc/tests/orig_c/data/caflag
57 PERMISSIONS OWNER_READ
63 ${PROJECT_SOURCE_DIR}/tests/cert-svc/data/caflag/root_ca.der
64 ${PROJECT_SOURCE_DIR}/tests/cert-svc/data/caflag/root_ca_v1.der
65 DESTINATION ${TZ_SYS_SHARE}/cert-svc/certs
66 PERMISSIONS OWNER_READ