Check the ABI of libutils for vendor and product only

It is not necessary to compare the dumps with the library installed in
system partition.

Test: m out/target/product/generic_x86_64/lsdump_paths.txt
Bug: 280008249
Change-Id: I8fc39ad17d37cd43bf1d77ba23dde55d05dadce1
This commit is contained in:
Hsin-Yi Chen 2023-09-04 11:16:34 +08:00
parent 18560efc30
commit e474f21a45

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"],
},
},
},
}