Zhomart Mukhamejanov
96eb59e4b1
updater_sample: update tools
...
- Allow gen_update_config.py to use ota_from_target_files from
$ANDROID_BUILD_TOP/build/make/tools/releasetools/
- tests/res/raw/ota_002_package.zip re-generated using functions from
$ANDROID_BUILD_TOP/build/make/tools/releasetools/test_ota_from_target_files.py
- sample app tests updated
Test: ./tools/gen_update_config_test.py
Change-Id: I5c492ec22782ba54fe481f592a44e797c695684e
Signed-off-by: Zhomart Mukhamejanov <zhomart@google.com >
2018-05-08 21:13:34 +00:00
Zhomart Mukhamejanov
e606f6d3ff
updater_sample: update tests
...
- fix tools/gen_update_config.py
- add tests for PayloadSpecs#forStreaming
Test: junit4
Change-Id: Ife1980c5f72944ed35500aa820b30031fc99e820
Signed-off-by: Zhomart Mukhamejanov <zhomart@google.com >
2018-05-03 14:04:16 -07:00
Zhomart Mukhamejanov
72a4d465bf
updater_sample: fix gen_update_config.py
...
Fix gen_update_config.py.
And add tests for gen_update_config.py.
Test: python3 updater_sample/tools/gen_update_config_test.py
Change-Id: I0d270f1d5d7635855ee9acb0dd094e083cd33e3a
Signed-off-by: Zhomart Mukhamejanov <zhomart@google.com >
2018-04-26 19:40:48 -07:00
Zhomart Mukhamejanov
d5a41822c2
sample_updater: create tools/gen_update_config.py
...
gen_update_config.py generates JSON config files
from given OTA image zip files.
README.md is updated.
Test: manually
Change-Id: Ifd09b49a73983a42752ee3842a566cecedb9cae0
Signed-off-by: Zhomart Mukhamejanov <zhomart@google.com >
2018-04-25 17:43:26 -07:00