Simple validation of features 82/72782/12
authorTomasz Iwanek <t.iwanek@samsung.com>
Thu, 2 Jun 2016 09:54:12 +0000 (11:54 +0200)
committerjongmyeong ko <jongmyeong.ko@samsung.com>
Mon, 20 Jun 2016 07:27:42 +0000 (00:27 -0700)
commit5c031525657182bb2f79e5e9af9d87cc1939e7e5
tree7e6ceb88726b76bd3b0a7d382633a65ad3eda5a2
parent999c7e1a38c9ba10f16028d3dbc447a92b26216a
Simple validation of features

Validation is added in StepParseManifest instead of:
 - parser - parsing should not check platform details
 - separate step - there is no feature field in manifest_x

Verification requires installing tpk package with some features and testing
via manipulating /etc/config/model-config.xml

There is only check if feature of given type exists in model-config.xml

Requires:
 - https://review.tizen.org/gerrit/72780
 - https://review.tizen.org/gerrit/74004

Change-Id: I521c0e18f76bf7eeecc56ee10cb31ce9f848378a
CMakeLists.txt
packaging/app-installers.spec
src/common/CMakeLists.txt
src/common/feature_validator.cc [new file with mode: 0644]
src/common/feature_validator.h [new file with mode: 0644]
src/common/step/configuration/step_parse_manifest.cc
src/common/step/configuration/step_parse_manifest.h