From df8cb36848886320003feca8487816119ac9cfe5 Mon Sep 17 00:00:00 2001 From: Yi Kong Date: Thu, 6 Jan 2022 16:04:07 +0800 Subject: [PATCH] Move pgo rules to afdo Test: presubmit Change-Id: Ic590208e2163e7703c3493dbe435cbe2ac7cce33 --- Android.bp | 9 +-------- 1 file changed, 1 insertion(+), 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",