From: wang_zhiqiang Date: Wed, 10 Apr 2019 09:52:47 +0000 (+0800) Subject: add json file X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=6a151ec022b2520f5c68fc1c8af483afd4c887c7;hp=134be0531d2aa3926bb6ed441c7839174a8bba17;p=apps%2Fagl-service-homescreen.git add json file Change-Id: Ib68bf6c21b4644626042789e48fa8eb47dc1a0cc --- diff --git a/conf/hs-conf.json b/conf/hs-conf.json new file mode 100644 index 0000000..633f585 --- /dev/null +++ b/conf/hs-conf.json @@ -0,0 +1,32 @@ +{ + "handshake": { + "times": 20000, + "sleep": 50 + }, + "hs-apps": [ + { + "appid": "homescreen", + "visibility": "visible" + }, + { + "appid": "launcher", + "visibility": "invisible" + }, + { + "appid": "onscreenapp", + "visibility": "invisible" + }, + { + "appid": "restriction", + "visibility": "invisible" + } + ], + "default-lastmode": { + "appid": "launcher", + "area": "normal.full" + }, + "normal-apps": { + "appid": "warehouse", + "visibility": "invisible" + } +} \ No newline at end of file diff --git a/conf/lastmode.json b/conf/lastmode.json new file mode 100644 index 0000000..fbae6e9 --- /dev/null +++ b/conf/lastmode.json @@ -0,0 +1,10 @@ +[ + { + "appid": "navigation", + "area": "split.main" + }, + { + "appid": "video", + "area": "split.sub" + } +] \ No newline at end of file diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 98dc27c..53055b4 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -64,6 +64,9 @@ endif() add_custom_command(TARGET ${TARGETS_HSBINDER} POST_BUILD COMMAND mkdir -p ${PROJECT_BINARY_DIR}/package/root/lib COMMAND cp -rf ${PROJECT_BINARY_DIR}/src/${TARGETS_HSBINDER}.so ${PROJECT_BINARY_DIR}/package/root/lib + COMMAND mkdir -p ${PROJECT_BINARY_DIR}/package/root/etc + COMMAND cp -f ${CMAKE_SOURCE_DIR}/conf/hs-conf.json ${PROJECT_BINARY_DIR}/package/root/etc + COMMAND cp -f ${CMAKE_SOURCE_DIR}/conf/lastmode.json ${PROJECT_BINARY_DIR}/package/root/etc ) add_custom_target(package DEPENDS ${PROJECT_BINARY_DIR}/package/root