OSDN Git Service

releasetools: Refactor ota_from_target_files.py.
authorTao Bao <tbao@google.com>
Tue, 10 Nov 2015 20:19:19 +0000 (12:19 -0800)
committerTao Bao <tbao@google.com>
Tue, 10 Nov 2015 20:23:10 +0000 (12:23 -0800)
commit767e3ac246c03a72834f80413ebcd7dceea4fc0b
treef3158f0b2b3cc2776a631883c45b4b664ae45166
parent8b2c37c9533f94f81fd8b15257c56061ce10998c
releasetools: Refactor ota_from_target_files.py.

Factor out some common lines between generating incremental and full
OTAs. Remove the outer while loop for cleaner logic.

Change-Id: I0a4d44a4a59b488748222c2031bd63f67d45e0b5
tools/releasetools/ota_from_target_files.py