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:
parent
0b3f9567c5
commit
72f1aa8bf2
1 changed files with 8 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue