Implement hybrid webapplication installation 81/56581/8 accepted/tizen/mobile/20160115.010738 accepted/tizen/mobile/20160115.010921 accepted/tizen/tv/20160115.010750 accepted/tizen/tv/20160115.010934 accepted/tizen/wearable/20160115.010809 accepted/tizen/wearable/20160115.010955 submit/tizen/20160114.141522 submit/tizen/20160114.224350
authorTomasz Iwanek <t.iwanek@samsung.com>
Fri, 8 Jan 2016 11:32:18 +0000 (12:32 +0100)
committerPawel Sikorski <p.sikorski@samsung.com>
Thu, 14 Jan 2016 13:07:07 +0000 (05:07 -0800)
commit67141727d94473b2e09ea68214405b638b3e13f4
tree666f2e78d53cd76ab743f883bc65a582e05667b2
parentef65dc0a416da1bf81addbdbec4231b155d1126e
Implement hybrid webapplication installation

Implemenation of hybrid package installation uses both
tpk and wgt steps, composing information from tizen
manifest file and w3c config.xml file. Installation
of hybrid has different flow so there is new installer
class introduced to avoid branching in steps. Instead
there is "hacky" branch in wgt-backend main() to choose
which step sequence to choose.

Requires:
 - https://review.tizen.org/gerrit/56503
 - https://review.tizen.org/gerrit/56506
 - https://review.tizen.org/gerrit/56795
 - https://review.tizen.org/gerrit/56918
 - https://review.tizen.org/gerrit/56920
 - https://review.tizen.org/gerrit/56921
 - https://review.tizen.org/gerrit/56724

Graph of targets (dependencies) changed to following:
  common_lib <-- tpk_lib
  common_lib <-- wgt_lib
  tpk_lib    <-- hybrid_lib
  wgt_lib    <-- hybrid_lib
  wgt_lib    <-- wgt_backend
  hybrid_lib <-- wgt_backend
  tpk_lib    <-- tpk_backend

Recovery for hybrid package will be added later
if possible.

Change-Id: I433f6030630f47c9f49025d89e267e5912bc78d9
26 files changed:
CMakeLists.txt
packaging/wgt-backend.spec
src/CMakeLists.txt
src/hybrid/CMakeLists.txt [new file with mode: 0644]
src/hybrid/hybrid_backend_data.h [new file with mode: 0644]
src/hybrid/hybrid_installer.cc [new file with mode: 0644]
src/hybrid/hybrid_installer.h [new file with mode: 0644]
src/hybrid/step/step_encrypt_resources.cc [new file with mode: 0644]
src/hybrid/step/step_encrypt_resources.h [new file with mode: 0644]
src/hybrid/step/step_merge_tpk_config.cc [new file with mode: 0644]
src/hybrid/step/step_merge_tpk_config.h [new file with mode: 0644]
src/hybrid/step/step_parse.cc [new file with mode: 0644]
src/hybrid/step/step_parse.h [new file with mode: 0644]
src/hybrid/step/step_stash_tpk_config.cc [new file with mode: 0644]
src/hybrid/step/step_stash_tpk_config.h [new file with mode: 0644]
src/wgt/CMakeLists.txt
src/wgt/step/step_create_symbolic_link.cc
src/wgt/step/step_encrypt_resources.cc
src/wgt/step/step_encrypt_resources.h
src/wgt/step/step_parse.cc
src/wgt/step/step_parse.h
src/wgt/wgt_app_query_interface.cc
src/wgt/wgt_app_query_interface.h
src/wgt/wgt_installer.cc
src/wgt_backend/CMakeLists.txt [new file with mode: 0644]
src/wgt_backend/wgt_backend.cc [moved from src/wgt/wgt_backend.cc with 56% similarity]