logd: enable LTO

Logd is self contained so LTO should be net beneficial.

Bug: 155322981
Test: logging unit tests
Change-Id: I7e26fcf15a7886ed537685d921428c679d7390f8
This commit is contained in:
Tom Cherry 2020-05-13 11:03:08 -07:00
parent 0b3f9567c5
commit 72f1aa8bf2

View file

@ -57,6 +57,10 @@ cc_library_static {
"-Wextra",
"-Wthread-safety",
] + event_flag,
lto: {
thin: true
}
}
cc_binary {
@ -82,6 +86,10 @@ cc_binary {
cflags: [
"-Wextra",
],
lto: {
thin: true
}
}
cc_binary {