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
diff --git a/libs/hwui/Android.bp b/libs/hwui/Android.bp
index 35790b6..813eae7 100644
--- a/libs/hwui/Android.bp
+++ b/libs/hwui/Android.bp
@@ -6,7 +6,10 @@
//"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",