PGO for libc++
This improves app launch time by 0.76%. Test: presubmit Bug: 181102883 Bug: 175205560 Change-Id: Ic541e376d3c907c6d896621e5afedba8e1045f88
This commit is contained in:
@@ -160,7 +160,16 @@ cc_library_shared {
|
|||||||
whole_static_libs: ["libc++_static"],
|
whole_static_libs: ["libc++_static"],
|
||||||
stl: "none",
|
stl: "none",
|
||||||
|
|
||||||
|
pgo: {
|
||||||
|
sampling: true,
|
||||||
|
},
|
||||||
|
|
||||||
target: {
|
target: {
|
||||||
|
android: {
|
||||||
|
pgo: {
|
||||||
|
profile_file: "libc++/libc++.profdata",
|
||||||
|
},
|
||||||
|
},
|
||||||
darwin: {
|
darwin: {
|
||||||
unexported_symbols_list: "lib/libc++unexp.exp",
|
unexported_symbols_list: "lib/libc++unexp.exp",
|
||||||
force_symbols_not_weak_list: "lib/notweak.exp",
|
force_symbols_not_weak_list: "lib/notweak.exp",
|
||||||
|
|||||||
Reference in New Issue
Block a user