From 326ab2444be230736236a4f71eb3997a47d7226e Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Thu, 20 Apr 2023 17:38:29 +0000 Subject: [PATCH] Flag off abidw tasks. Bug: http://b/277624006 Test: treehugger Change-Id: I706a4da2d95ac51ad9fc600b3e4e52967b502c2c --- cc/ndk_library.go | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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.