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",