Android: Use a .json file to record incremental install details

Desktop / Chromium - Andrew Grieve [chromium.org] - 11 August 2017 00:19 EDT

With the recent addition of apk wrapper scripts, the bin/install_foo_incremental scripts are now just confusing. This changes them to instead be .json files.

BUG=749239

Change-Id: Id58c4f5501ce485381d3f912291dbfa729e11e61 Reviewed-on: https://chromium-review.googlesource.com/609141 Commit-Queue: Andrew Grieve

a54c4bd Android: Use a .json file to record incremental install details
build/android/apk_operations.py | 189 +++++++++------------
build/android/gyp/create_apk_operations_script.py | 13 +-
build/android/gyp/write_build_config.py | 8 +-
.../incremental_install/create_install_script.py | 158 -----------------
build/android/incremental_install/installer.py | 90 ++++------
.../incremental_install/write_installer_json.py | 84 +++++++++
build/android/pylib/gtest/gtest_test_instance.py | 10 +-
.../instrumentation_test_instance.py | 22 +--
.../pylib/local/device/local_device_gtest_run.py | 11 +-
.../local_device_instrumentation_test_run.py | 14 +-
.../pylib/local/device/local_device_test_run.py | 23 ---
build/android/test_runner.py | 6 +-
build/android/test_runner.pydeps | 7 +
build/config/android/internal_rules.gni | 16 +-
build/config/android/rules.gni | 49 ++----
15 files changed, 274 insertions(+), 426 deletions(-)

Upstream: git.chromium.org


  • Share