commit | 4f4ac2f8f309db10c7ccc4c8e4e8979fc803b249 | [log] [tgz] |
---|---|---|
author | Joel Galenson <jgalenson@google.com> | Mon Nov 22 15:22:45 2021 -0800 |
committer | Joel Galenson <jgalenson@google.com> | Mon Nov 22 15:22:45 2021 -0800 |
tree | db7412d7f7092ec2bbe6e1a6bc85ed05f78c2378 | |
parent | a9ed128e593ad00680d831d6ac0ab46a5556a226 [diff] |
Enable LTO in cargo2android.py. The latest compiler roll also enabled LTO. This broke cargo2android.py, as the test prebuit uses LTO and so cannot be linked with code built without. We fix this by enabling it in cargo2android.py (and ensuring it doesn't add the flag into Android.bp). Test: Run Change-Id: I6c6a813ff58a9e5064752aa59b78247c4af77a26