[Release] wrt-plugins-common_0.3.89
[platform/framework/web/wrt-plugins-common.git] / CMakeLists.txt
index 2b454dc..3536d7a 100644 (file)
@@ -34,7 +34,8 @@ include_directories(
   ${CMAKE_CURRENT_SOURCE_DIR}/src/CommonsJavaScript
   ${CMAKE_CURRENT_SOURCE_DIR}/src/plugin-loading
   ${CMAKE_CURRENT_SOURCE_DIR}/src/js-overlay
-  ${CMAKE_CURRENT_SOURCE_DIR}/src/wrt-popup/ace/popup-runner)
+  ${CMAKE_CURRENT_SOURCE_DIR}/src/wrt-popup/ace/popup-runner
+  ${CMAKE_CURRENT_SOURCE_DIR}/src/plugins_ipc_message)
 
 ##############################################################################
 # Build type
@@ -151,6 +152,7 @@ configure_and_install_pkg(wrt-popup-runner.pc)
 configure_and_install_pkg(wrt-popup-ace-runner.pc)
 configure_and_install_pkg(wrt-popup-wrt-runner.pc)
 configure_and_install_pkg(wrt-plugins-api-support.pc)
+configure_and_install_pkg(wrt-plugins-ipc-message.pc)
 
 ################################################################################
 # Cache
@@ -159,6 +161,14 @@ set(PLATFORM "${PLATFORM}" CACHE STRING "Target platform" FORCE)
 set(CMAKE_CONFIG_FILE_NAME "${CMAKE_CONFIG_FILE_NAME}" CACHE
     STRING "CMake configuration file name." FORCE)
 
+################################################################################
+# SMACK rule
+
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/wrt-popup-ace-runtime.rule DESTINATION /etc/smack/accesses2.d)
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/wrt-popup-wrt-runtime.rule DESTINATION /etc/smack/accesses2.d)
+# temp for smack branch
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/accesses.d/wrt-popup-ace-runtime.rule DESTINATION /opt/etc/smack/accesses.d)
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/accesses.d/wrt-popup-wrt-runtime.rule DESTINATION /opt/etc/smack/accesses.d)
 
 ################################################################################
 # Summary