Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve compilation speed for android build #166

Open
wants to merge 1 commit into
base: celadon/s/mr0/master
Choose a base branch
from

Commits on Nov 23, 2023

  1. Improve compilation speed for android build

    Currently FFTF python script is used for creating flashfiles.zip.
    It uses ZipWrite python api which is time consuming and adds
    overhead to build time. Say, flash.json generation, unpacking of
    target files, installer.cmd generation, etc.
    
    This fix helps to optimize build time and involves below changes:
    - Use tar + pigz combo for faster flashfiles generation.
    - Make FFTF a bash script as python doesn't directly support
      tar + pigz
    - This new bash script will support old python FFTF. Just pass
      LEGACY_FLASHZIP_TRUE=true flag to "make flashfiles" to enable it.
    - The new script still supports all old functionalities, say,
      generation of installer.cmd, flash.json, repacking of
      bootloader.img, etc.
    
    Tracked-On: OAM-112083
    Signed-off-by: sgnanase <[email protected]>
    sgnanase authored and swaroopbalan committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    6653ba4 View commit details
    Browse the repository at this point in the history