Merge changes I94a0e2de,I95ebfef6 into main

* changes:
  NDK library: enable feature flags for diffing ABI representations
  NDK library: enable feature flags for dumping ABI representations
This commit is contained in:
Aleksei Vetrov 2023-10-02 12:40:59 +00:00 committed by Gerrit Code Review
commit bf62b334f6

View file

@ -334,18 +334,12 @@ func canDumpAbi(config android.Config) bool {
return false
}
// http://b/156513478
// http://b/277624006
// This step is expensive. We're not able to do anything with the outputs of
// this step yet (canDiffAbi is flagged off because libabigail isn't able to
// handle all our libraries), disable it. There's no sense in protecting
// against checking in code that breaks abidw since by the time any of this
// can be turned on we'll need to migrate to STG anyway.
return false
return true
}
// Feature flag to disable diffing against prebuilts.
func canDiffAbi() bool {
return false
return true
}
func (this *stubDecorator) dumpAbi(ctx ModuleContext, symbolList android.Path) {