Enable ICF link-time optimization and remove global inline options
Removing global inline options gives compiler the opportunity
to do inline optimizations and inline tunings for Android native
codes.
Benefit:
- the size of almost all native libraries are reduced.
The reference code size experiment:
$ du -sb out/target/product/crespo/system/lib/
[before]
20843959 lib/
[after]
20726967 lib/
code size reduction: 20843959 - 20726967 = 116992 bytes
Backported from ICS
Change-Id: I36bf036d1571a58d2345f30c72e9667fcbba768c
Loading
Please register or sign in to comment