[UWE] Generate tpk file for upgradable WRTjs
Once updated chromium-efl is selected in launching process,
the corresponding WRTjs should be used to guarantee internal API
compatibility between them.
For that, the WRTjs tpk file needs to be prepared
as per deployed chromium-efl version and target profile like below:
* Public profile
Note that the public profile has only one type of tpk.
+----------------+---------------+-----------------------+
| Preloaded ver. | Deployed ver. | chromium-efl & WRTjs |
+----------------+---------------+-----------------------+
| M76 | M76 or above | Use tpk path |
+----------------+---------------+-----------------------+
* Product TV profile
+----------------+---------------+-----------------------+
| Preloaded ver. | Deployed ver. | chromium-efl & WRTjs |
+----------------+---------------+-----------------------+
| M76 | M76 (patch) | Use tpk path |
+----------------+---------------+-----------------------+
| M76 | Above M76 | Use upgraded tpk path |
+----------------+---------------+-----------------------+
* The WRTjs tpk path and build commands:
{TZ_SYS_RO_APP}/org.tizen.wrtjs
$ ./tizen/build/build_standard_armv7l.sh --use-tpk
$ ./tizen/build/build_tv.sh --use-tpk
* the upgraded WRTjs tpk path and build command, only for tv:
{TZ_SYS_RO_APP}/org.tizen.wrtjs-upgrade
$ ./tizen/build/build_tv.sh --use-tpk-upgrade
* The generated tpk file will be located in below after the build:
/PATH/TO/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/tmp
Change-Id: I8c57cbf101f2a495ea064d34548dc146c4dfe32a
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>