commit | 2729418128d227a4e4d04fc43700899de2ba85d4 | [log] [tgz] |
---|---|---|
author | John Reck <jreck@google.com> | Wed Jul 11 11:21:09 2018 -0700 |
committer | John Reck <jreck@google.com> | Wed Jul 11 18:24:58 2018 +0000 |
tree | a82c032ae1ee11ebe5223b50a2c785b41888bf9a | |
parent | c1e5c3ea8205ea4c65fc76070210fce714c08be5 [diff] [blame] |
Disable LTO on -eng Speeds up incremental compile of one cpp file change from over a minute to around 15 seconds Bug: 111277863 Test: touch a .cpp file in hwui & mmm Change-Id: I946ecad411a7a59f87ed9e1eeb146d6f57bd038a
diff --git a/libs/hwui/Android.bp b/libs/hwui/Android.bp index 770a57a..c468038 100644 --- a/libs/hwui/Android.bp +++ b/libs/hwui/Android.bp
@@ -43,6 +43,11 @@ device_uses_hwc2: { cflags: ["-DUSE_HWC2"], }, + eng: { + lto: { + never: true, + }, + }, }, }