summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYi Kong <yikong@google.com>2022-01-07 05:56:09 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2022-01-07 05:56:09 +0000
commit7646945620e2a1a67e4fcada173fd8895f9a1ce9 (patch)
treea4cd3375fd4a9a2a343dc0726ac50351d2ca672f
parent35122142314bd0b781ff9d5c786cd861565e38bc (diff)
parentf18492cbae995b1601767a5afb6e8a99ba929ac0 (diff)
downloadlibcxx-7646945620e2a1a67e4fcada173fd8895f9a1ce9.tar.gz
Move pgo rules to afdo am: df8cb36848 am: 4d6015ea46 am: bc6206f417 am: f18492cbae
Original change: https://android-review.googlesource.com/c/platform/external/libcxx/+/1936029 Change-Id: I10e8d29fe36532cd5e538f5b94af75f8e1075351
-rw-r--r--Android.bp9
1 files changed, 1 insertions, 8 deletions
diff --git a/Android.bp b/Android.bp
index bbb3d8d05..2fd04d37f 100644
--- a/Android.bp
+++ b/Android.bp
@@ -164,16 +164,9 @@ cc_library_shared {
whole_static_libs: ["libc++_static"],
stl: "none",
- pgo: {
- sampling: true,
- },
+ afdo: true,
target: {
- android: {
- pgo: {
- profile_file: "libc++/libc++.profdata",
- },
- },
darwin: {
unexported_symbols_list: "lib/libc++unexp.exp",
force_symbols_not_weak_list: "lib/notweak.exp",