Use libabigail to track NDK ABIs.

The local diffing behavior is currently flagged off so we can land
this in stages.

Test: pytest cc
Test: treehugger
Test: development/tools/update_ndk_abi.sh
Test: m ndk
Bug: http://b/156513478
Change-Id: Iccb314411bc74ea3ddfea8b85b0539709295f65a
This commit is contained in:
Dan Albert
2020-07-30 14:32:55 -07:00
parent a8f4e62b8d
commit f1d14c7e67
9 changed files with 436 additions and 70 deletions

View File

@@ -1565,7 +1565,10 @@ type archConfig struct {
abi []string
}
// getNdkAbisConfig returns a list of archConfigs for the ABIs supported by the NDK.
// getNdkAbisConfig returns the list of archConfigs that are used for bulding
// the API stubs and static libraries that are included in the NDK. These are
// built *without Neon*, because non-Neon is still supported and building these
// with Neon will break those users.
func getNdkAbisConfig() []archConfig {
return []archConfig{
{"arm", "armv7-a", "", []string{"armeabi-v7a"}},