diff --git a/cc/ndk_library.go b/cc/ndk_library.go index a82436135..f8a355950 100644 --- a/cc/ndk_library.go +++ b/cc/ndk_library.go @@ -342,7 +342,14 @@ func canDumpAbi(config android.Config) bool { if android.InList("hwaddress", config.SanitizeDevice()) { return false } - return true + // 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 } // Feature flag to disable diffing against prebuilts.