summaryrefslogtreecommitdiff
path: root/scripts/build-apex-bundle.py
AgeCommit message (Collapse)Author
2024-12-04Remove __future__ references from python scripts Cole Faust
All these scripts are now python3-only, they don't need this. Test: Presubmits Change-Id: Id2b9db26a537f6d70e874a0ae2ceb0927cbdce7d
2022-09-21Add a host tool to create an APEX bundle Jooyung Han
Even though the soong build system generates a bundle module for an apex, the bundle module itself should be further processed to be an AppBundle (.aab) file which can be uploaded to Play. This script fills the gap by invoking bundletool to create an AppBundle (.aab) file out of soong-built bundle module for an apex. (Note: uploading APEX bundle (.aab) to Play is not supported yet.) You can create an .aab file by: - TARGET_BUILD_APPS={apex name} m dist - m build-apex-bundle - build-apex-bundle --output out.aab out/dist/{apex name}-base.zip For now it creates a single-ABI APEX bundle. In the future it can be extended to support multiple-ABI APEX bundles. Bug: 236673372 Test: m build-apex-bundle Test: TARGET_BUILD_APPS=com.google.cf.bt m dist Test: build-apex-bundle --output bt.aab out/dist/com.google.cf.bt-base.zip Change-Id: Id321efcd42c0fe60294a8348047c9ebbf7acf391