From e5b667bd38ba90ff080a685c52b15371eea8a19a Mon Sep 17 00:00:00 2001 From: Hsin-Yi Chen Date: Mon, 8 Jan 2024 18:49:37 +0800 Subject: [PATCH] Enable header_abi_checker for libutils explicitly The ABI checking rules for VNDK will be deleted from the main branch. To keep monitoring the ABI, the check must be enabled explicitly. Test: m libutils.vendor Bug: 314010764 Change-Id: I762dec1ed7de014db653663d2917a19df5076fc8 --- libutils/Android.bp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libutils/Android.bp b/libutils/Android.bp index 1c622ff75..ad5b752e3 100644 --- a/libutils/Android.bp +++ b/libutils/Android.bp @@ -191,6 +191,7 @@ cc_library { target: { product: { header_abi_checker: { + enabled: true, // AFDO affects weak symbols. diff_flags: ["-allow-adding-removing-weak-symbols"], ref_dump_dirs: ["abi-dumps"], @@ -198,6 +199,7 @@ cc_library { }, vendor: { header_abi_checker: { + enabled: true, // AFDO affects weak symbols. diff_flags: ["-allow-adding-removing-weak-symbols"], ref_dump_dirs: ["abi-dumps"],