Skip to content

Commit

Permalink
logd: enable LTO
Browse files Browse the repository at this point in the history
Logd is self contained so LTO should be net beneficial.

Bug: 155322981
Test: logging unit tests
Change-Id: I7e26fcf15a7886ed537685d921428c679d7390f8
Signed-off-by: Jason Edson <[email protected]>

Former-commit-id: 1cc5f8875240797c47a4d525517afe0590d03558
Signed-off-by: Jason Edson <[email protected]>

Former-commit-id: 135a9d20453e36e580a9071d64c883de54851b5a
Signed-off-by: Pranav Vashi <[email protected]>
  • Loading branch information
Tom Cherry authored and neobuddy89 committed May 10, 2021
1 parent 187bdd6 commit 508dc94
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions logd/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ cc_library_static {
export_include_dirs: ["."],

cflags: ["-Werror"] + event_flag,

lto: {
thin: true
}
}

cc_binary {
Expand All @@ -77,6 +81,10 @@ cc_binary {
],

cflags: ["-Werror"],

lto: {
thin: true
}
}

cc_binary {
Expand Down

0 comments on commit 508dc94

Please sign in to comment.