• David 'Digit' Turner's avatar
    android: Allow generation of system and sytem_compressed bundles. · e3f8f96d
    David 'Digit' Turner authored
    Each bundle wrapper script now supports the new --build-mode=MODE
    parameter for its 'build-bundle-apks' command. This is used to
    specify the type of APKs archive to generate.
    
    This allows generating APKS containing a system image APK, or
    even a compressed systetm image APK and its installation stub.
    
    Note that '--universal' is no longer supported, use
    '--build-mode=universal' instead for the same result.
    
    + Add the build mode to the MD5 input strings, to ensure that
      the bundle is properly rebuilt if the mode changes. This didn't
      work previously when switching between default and universal
      builds.
    
    BUG=NONE
    R=agrieve@chromium.org, tiborg@chromium.org, benmason@chromium.org
    
    Change-Id: Iddc6925e01ca849ffde6f6b43a902d9fd29401d2
    Reviewed-on: https://chromium-review.googlesource.com/c/1489233
    Commit-Queue: David Turner <digit@chromium.org>
    Reviewed-by: default avatarTibor Goldschwendt <tiborg@chromium.org>
    Reviewed-by: default avatarAndrew Grieve <agrieve@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#635546}
    e3f8f96d
app_bundle_utils.py 4.55 KB