[UWE] Generate tpk file for upgradable WRTjs 54/237054/10
authorYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 16 Jun 2020 02:28:15 +0000 (19:28 -0700)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Wed, 8 Jul 2020 06:45:09 +0000 (23:45 -0700)
commit73efe9007c9834abf5b1202857867fd4c4186717
tree40c6f7a47f6a7f738b6096df7d181e44a21a6152
parent28a81ff5b6bb4180eddc75747651f4f83fe10819
[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>
packaging/org.tizen.wrtjs-vd.xml.in [new file with mode: 0644]
packaging/org.tizen.wrtjs.xml.in [new file with mode: 0644]
packaging/wrtjs.spec
tizen/build/build_tpk.sh [new file with mode: 0755]
tizen/build/common.sh
tizen/downloadable/vd_sign/author-signature.xml [new file with mode: 0644]
tizen/downloadable/vd_sign/signature1.xml [new file with mode: 0644]
wrtjs-debugsource.manifest [new file with mode: 0644]