Fix icon copying
Icons element are receiving full path in StepParse from now
for both wgt and tpk backend and all modes.
Steps:
- StepCreateIcons
- StepBackupIcons
- StepRecoverIcons
- StepRemoveIcons
handles icon files only outside package directory (those in: $HOME/.applications/icons/*)
Icons within application directories are copied together with whole package directory (StepCopy)
and are not managed by those steps.
To handle copying icons within package directory new steps are introduced:
- StepWgtPatchIcons (copy to $package/shared/res/ from widget content directory)
- StepTpkPatchIcons (copy to $package/shared/res/ if they are in different location, e.g. preload apps)
Following changes needs to be submitted together:
- https://review.tizen.org/gerrit/57258 (wgt-backend)
- https://review.tizen.org/gerrit/57257 (app-installers)
- https://review.tizen.org/gerrit/57259 (tpk-backend)
Verify by:
$ /usr/bin/tpk-backend-ut/smoke_test --gtest_filter=SmokeTest.UpdateMode_Tpk
$ /usr/bin/tpk-backend-ut/smoke_test --gtest_filter=SmokeTest.InstallationMode_Tpk
$ /usr/bin/tpk-backend-ut/smoke_test --gtest_filter=SmokeTest.DeltaMode_Tpk
$ /usr/bin/wgt-backend-ut/smoke_test --gtest_filter=SmokeTest.InstallationMode
$ /usr/bin/wgt-backend-ut/smoke_test --gtest_filter=SmokeTest.UpdateMode
$ /usr/bin/wgt-backend-ut/smoke_test --gtest_filter=SmokeTest.RDSMode
$ /usr/bin/wgt-backend-ut/smoke_test --gtest_filter=SmokeTest.DeltaMode
$ /usr/bin/wgt-backend-ut/smoke_test --gtest_filter=SmokeTest.UpdateMode_Rollback
$ /usr/bin/wgt-backend-ut/smoke_test --gtest_filter=SmokeTest.InstallationMode_Rollback
Change-Id: I8c5d3ba513bb47eed571c3363f657eacb429f82f
14 files changed: