OSDN Git Service

Skip copying existing vendor images
authorTianjie Xu <xunchang@google.com>
Tue, 28 Jun 2016 21:34:03 +0000 (14:34 -0700)
committerTianjie Xu <xunchang@google.com>
Wed, 29 Jun 2016 18:32:30 +0000 (18:32 +0000)
commitaaca421ec12eff32d49bff76515322b85282ba72
tree5f8decff430a4a4e86885d622918d002b25359a9
parent73609480b3d04693e73e93595cc8390882ae710f
Skip copying existing vendor images

add_img_to_target_files.py has an option of "-a" to add missing
images only. Under this option, the script should skip copying
the radio images for A/B devices when given image exists already
under "IMAGES/".

Test: Run the command on an A/B device, the existing radio images under "IMAGES/" don't get overwritten; and missing images are added correctly.
Bug: 29608905
Change-Id: Ie034b85a5d777d53e367f99470cea4d19cb1aaaf
tools/releasetools/add_img_to_target_files.py