• newt's avatar
    Don't let "aapt crunch" increase image size. · d7e09cdd
    newt authored
    For an image that's already optimized, aapt crunch typically increases
    the image size. In this case, we now use the original image instead of
    the crunched image. 9-patches, however, must always be crunched, since
    crunching adds important metadata to the file.
    
    Currently, this saves 50KB, but has the potential to save up to 300KB
    once we optimize all the images in the codebase.
    
    BUG=407781
    
    Review URL: https://codereview.chromium.org/867483005
    
    Cr-Commit-Position: refs/heads/master@{#313656}
    d7e09cdd
process_resources.py 11.6 KB