Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 70b2227e authored by Jim Huang's avatar Jim Huang
Browse files

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
parent ca3c4837
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment