5 certificate_validation.cc
8 plugins/plugin_factory.cc
9 plugins/plugin_manager.cc
10 plugins/plugin_list_parser.cc
11 plugins/plugin_xml_parser.cc
12 plugins/plugin_factory.cc
14 plugins/types/category_plugin.cc
15 plugins/types/metadata_plugin.cc
16 plugins/types/tag_plugin.cc
18 pkgmgr_registration.cc
23 security_registration.cc
24 step/backup/step_backup_icons.cc
25 step/backup/step_backup_manifest.cc
26 step/backup/step_copy_backup.cc
27 step/configuration/step_block_cross_update.cc
28 step/configuration/step_configure.cc
29 step/configuration/step_fail.cc
30 step/configuration/step_parse_manifest.cc
31 step/filesystem/step_clear_data.cc
32 step/filesystem/step_copy.cc
33 step/filesystem/step_copy_storage_directories.cc
34 step/filesystem/step_copy_tep.cc
35 step/filesystem/step_create_icons.cc
36 step/filesystem/step_create_per_user_storage_directories.cc
37 step/filesystem/step_create_storage_directories.cc
38 step/filesystem/step_delta_patch.cc
39 step/filesystem/step_recover_files.cc
40 step/filesystem/step_recover_icons.cc
41 step/filesystem/step_recover_manifest.cc
42 step/filesystem/step_recover_storage_directories.cc
43 step/filesystem/step_remove_files.cc
44 step/filesystem/step_remove_icons.cc
45 step/filesystem/step_remove_per_user_storage_directories.cc
46 step/filesystem/step_remove_temporary_directory.cc
47 step/filesystem/step_remove_zip_image.cc
48 step/filesystem/step_unzip.cc
49 step/mount/step_mount_install.cc
50 step/mount/step_mount_unpacked.cc
51 step/mount/step_mount_update.cc
52 step/pkgmgr/step_check_blacklist.cc
53 step/pkgmgr/step_check_removable.cc
54 step/pkgmgr/step_kill_apps.cc
55 step/pkgmgr/step_recover_application.cc
56 step/pkgmgr/step_register_app.cc
57 step/pkgmgr/step_remove_manifest.cc
58 step/pkgmgr/step_run_parser_plugins.cc
59 step/pkgmgr/step_unregister_app.cc
60 step/pkgmgr/step_update_app.cc
61 step/pkgmgr/step_update_tep.cc
62 step/rds/step_rds_modify.cc
63 step/rds/step_rds_parse.cc
64 step/recovery/step_open_recovery_file.cc
65 step/recovery/step_recovery.cc
66 step/security/step_check_background_category.cc
67 step/security/step_check_old_certificate.cc
68 step/security/step_check_signature.cc
69 step/security/step_privilege_compatibility.cc
70 step/security/step_recover_security.cc
71 step/security/step_register_security.cc
72 step/security/step_revoke_security.cc
73 step/security/step_rollback_deinstallation_security.cc
74 step/security/step_rollback_installation_security.cc
75 step/security/step_update_security.cc
82 ADD_LIBRARY(${TARGET_LIBNAME_COMMON} SHARED ${SRCS})
84 TARGET_INCLUDE_DIRECTORIES(${TARGET_LIBNAME_COMMON} PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/../")
86 APPLY_PKG_CONFIG(${TARGET_LIBNAME_COMMON} PUBLIC
91 MANIFEST_PARSER_UTILS_DEPS
93 TZPLATFORM_CONFIG_DEPS
95 CERT_SVC_DEPS_VCORE_DEPS
98 PRIVILEGE_CHECKER_DEPS
100 DELTA_MANIFEST_HANDLERS_DEPS
101 TPK_MANIFEST_HANDLERS_DEPS
106 SET_TARGET_PROPERTIES(${TARGET_LIBNAME_COMMON} PROPERTIES VERSION ${VERSION})
107 SET_TARGET_PROPERTIES(${TARGET_LIBNAME_COMMON} PROPERTIES SOVERSION ${VERSION_MAJOR})
110 INSTALL(TARGETS ${TARGET_LIBNAME_COMMON} DESTINATION ${LIB_INSTALL_DIR})
114 SET(PLUGINS_LIST_FILE_NAME plugins_list.txt)
115 SET(PLUGINS_LIST_FILE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/plugins/${PLUGINS_LIST_FILE_NAME})
117 SET(PLUGINS_LIST_INSTALL_PATH ${SHAREDIR}/app-installers/)
118 SET(PLUGINS_LIST_INSTALL_FILE_PATH ${PLUGINS_LIST_INSTALL_PATH}/${PLUGINS_LIST_FILE_NAME})
120 ADD_DEFINITIONS("-DPLUGINS_LIST_INSTALL_FILE_PATH=\"${PLUGINS_LIST_INSTALL_FILE_PATH}\"")
121 CONFIGURE_FILE(${PLUGINS_LIST_FILE_PATH}.in ${PLUGINS_LIST_FILE_PATH} @ONLY)
122 INSTALL(FILES ${PLUGINS_LIST_FILE_PATH} DESTINATION ${PLUGINS_LIST_INSTALL_PATH}/)
124 # Export devel package
125 CONFIGURE_FILE(app-installers.pc.in app-installers.pc @ONLY)
126 INSTALL(FILES app-installers.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
127 INSTALL(DIRECTORY ./ DESTINATION ${INCLUDEDIR}/app-installers/common/
128 FILES_MATCHING PATTERN "*.h")