From 7184e28b3ae349ae2e64693ac6d4c72a33ec3a61 Mon Sep 17 00:00:00 2001 From: Pirama Arumuga Nainar Date: Wed, 7 Mar 2018 23:24:02 -0800 Subject: [PATCH] Disable LTO temporarily for hwui Bug: http://b/62839002 LTO does not seem to interact well with PGO profile-file updates and incremental builds in the build servers. Test: build Change-Id: I42175b2376b374d00ec169d4fe8d84cd938b21e5 --- libs/hwui/Android.bp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libs/hwui/Android.bp b/libs/hwui/Android.bp index 35790b6558c7f..813eae74a051c 100644 --- a/libs/hwui/Android.bp +++ b/libs/hwui/Android.bp @@ -6,7 +6,10 @@ cc_defaults { //"hwui_bugreport_font_cache_usage", //"hwui_compile_for_perf", "hwui_pgo", - "hwui_lto", + // Disable LTO temporarily. LTO does not seem to interact well with + // PGO profile-file updates and incremental builds in the build + // servers. + // "hwui_lto", ], cpp_std: "c++17",