• David 'Digit' Turner's avatar
    android: build: Add extra native libraries to APK .build_config · 52f78b16
    David 'Digit' Turner authored
    This CL augments the .build_config file of APK with a new
    entry at native['extra_shared_libraries'] that list extra
    shared libraries that can be packaged into the final APK
    (but which may be processed differently from the list
    in native['libraries'].
    
    This entry will be used later when building an App Bundle
    module that depends on the APK's .build_config.
    
    This is required because the full list of native libraries
    is determined by a set of complex rules performed by the
    android_apk() rule, which would be difficult to replicate
    in a different one without lots of code duplication, or
    making android_apk() even more complicated that it currently
    is.
    
    + Add a flag in the APK's .build_config file telling it whether
      the libraries are stored uncompressed (and page-aligned)
      in the APK. This will allow reproducing the same
      compression setting when generating the bundle later.
    
    BUG=820459
    R=agrieve@chromium.org, estevenson@chromium.org, yfriedman@chromium.org
    
    
    Change-Id: I7a4fa94e68370dbc167c1f9729d152f4692fdaff
    Reviewed-on: https://chromium-review.googlesource.com/1047865
    Commit-Queue: David Turner <digit@chromium.org>
    Reviewed-by: default avataragrieve <agrieve@chromium.org>
    Reviewed-by: default avatarEric Stevenson <estevenson@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#561464}
    52f78b16
write_build_config.py 54.3 KB