Quartz 4.2 Public Release
libpng: optimize for speed on Arm platforms

Change libpng build configuration to optimize for speed on Arm
platforms. This allows the compiler to inline some of the NEON filter
functions and significantly increase performance.

Binary size increase is minimal (<10KB increase in normalized Android
APK size.)

Bug: 1071398
Change-Id: I109dea8b490bfdd2c0a80e2f1259797f1485e14f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2149331
Reviewed-by: Adenilson Cavalcanti <cavalcantii@chromium.org>
Reviewed-by: Chris Blume <cblume@chromium.org>
Reviewed-by: Leon Scroggins <scroggo@google.com>
Commit-Queue: Leon Scroggins <scroggo@google.com>
Cr-Commit-Position: refs/heads/master@{#760551}
[PA Note: this was originally applied to BUILD.gn in Chromium
 and we ported the change to Android.bp.]
1 file changed