aboutsummaryrefslogtreecommitdiffstats
path: root/android/paths.go
diff options
context:
space:
mode:
authorJayant Chowdhary <jchowdhary@google.com>2017-04-20 06:53:59 -0700
committerJayant Chowdhary <jchowdhary@google.com>2017-05-25 14:46:58 -0700
commit715cac3971a2a1edf7bc635a5e6e0bb26002f885 (patch)
tree8295cdb80c0527948ced9bab6ce684c2c32369fe /android/paths.go
parent442b7e6dc9d05c0c904c0023753ac6d5e876b507 (diff)
downloadbuild_soong-715cac3971a2a1edf7bc635a5e6e0bb26002f885.tar.gz
build_soong-715cac3971a2a1edf7bc635a5e6e0bb26002f885.tar.bz2
build_soong-715cac3971a2a1edf7bc635a5e6e0bb26002f885.zip
Optimizations to abi checking.
We now add export_static_lib_headers, export_generated_headers to the filters while dumping the abi of a library using header-abi-dumper (through -I<dir> additions to the invocation of header-abi-dumper and header-abi-linker) Also add support for zipped reference source based abi dumps. Test: mm -j64 in hardware/interfaces/nfc/default/1.0 produces android.hardware.nfc@1.0.so.lsdump with abi filtered out using generated headers. Test: Copied the linked abi dumps produced by mm -j64 in bionic/libc to prebuilts/abi-dumps/ndk and gzipped them. Ran mm -j64 again in bionic/libc and verified header-abi-diff getting invoked. Bug: 32750600 Change-Id: I26210af908c87a6143e39fa25f50307acb68a387
Diffstat (limited to 'android/paths.go')
-rw-r--r--android/paths.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/android/paths.go b/android/paths.go
index a23dd74e..26b72d17 100644
--- a/android/paths.go
+++ b/android/paths.go
@@ -584,10 +584,10 @@ func PathForVndkRefAbiDump(ctx ModuleContext, version, fileName string, vndkOrNd
var vndkOrNdkDir string
var ext string
if isSourceDump {
- ext = ".lsdump"
+ ext = ".lsdump.gz"
sourceOrBinaryDir = "source-based"
} else {
- ext = ".bdump"
+ ext = ".bdump.gz"
sourceOrBinaryDir = "binary-based"
}
if vndkOrNdk {