Merge "Check the ABI of libutils for vendor and product only" into main am: c2b4411b43 am: 9fa3941217 am: a90d7e9a25

Original change: https://android-review.googlesource.com/c/platform/system/core/+/2736196

Change-Id: I60bc34f9f1b0b5a39cbec9e9bae0726b6b932f5b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Hsin-Yi Chen 2023-09-06 05:00:31 +00:00 committed by Automerger Merge Worker
commit dc47fa4f61

View file

@ -185,10 +185,21 @@ cc_library {
support_system_process: true,
},
header_abi_checker: {
// AFDO affects weak symbols.
diff_flags: ["-allow-adding-removing-weak-symbols"],
ref_dump_dirs: ["abi-dumps"],
target: {
product: {
header_abi_checker: {
// AFDO affects weak symbols.
diff_flags: ["-allow-adding-removing-weak-symbols"],
ref_dump_dirs: ["abi-dumps"],
},
},
vendor: {
header_abi_checker: {
// AFDO affects weak symbols.
diff_flags: ["-allow-adding-removing-weak-symbols"],
ref_dump_dirs: ["abi-dumps"],
},
},
},
}