Skip to content

Commit 30ad90f

Browse files
kongyGerrit Code Review
authored andcommitted
Merge "Don't enable LTO on host" into main
2 parents d925ec6 + 6056043 commit 30ad90f

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

libs/binder/Android.bp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,11 @@ cc_defaults {
159159
"UtilsHost.cpp",
160160
],
161161
},
162+
android: {
163+
lto: {
164+
thin: true,
165+
},
166+
},
162167
},
163168

164169
aidl: {
@@ -219,9 +224,6 @@ cc_defaults {
219224
"-performance-move-const-arg", // b/273486801
220225
"portability*",
221226
],
222-
lto: {
223-
thin: true,
224-
},
225227
}
226228

227229
cc_library_headers {

0 commit comments

Comments
 (0)