OSDN Git Service

prefer releasetools.py from target_files zip
authorDoug Zongker <dougz@android.com>
Mon, 27 Jan 2014 18:01:06 +0000 (10:01 -0800)
committerDoug Zongker <dougz@android.com>
Mon, 27 Jan 2014 18:03:23 +0000 (10:03 -0800)
commiteb0a78afc00265479c002364fa62c9e09c3f613d
treef1ee9a04521000fcd39a2a047a4e901cfbc0cc76
parentf6c0e042fde0be480fe82a5afd852e02d62632af
prefer releasetools.py from target_files zip

If the target_files zip for the target build contains a
META/releasetools.py (which it has since Nov 2013), prefer that over
using a releasetools.py from the local client.

Explicitly specifying the device-specific extensions path via
command-line options takes priority over both of the above mechanisms.

Change-Id: Ia068b0e2e06ede7da89ebe4315cdec592eb8995e
tools/releasetools/common.py
tools/releasetools/ota_from_target_files