diff options
author | Jayant Chowdhary <jchowdhary@google.com> | 2018-03-03 03:03:24 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-03-03 03:03:24 +0000 |
commit | 4c26b7818359207371fb26151a81854ab056d681 (patch) | |
tree | 500b9458588c4b4d87312b00bd90d83d70457849 /cc | |
parent | 8b9897b1430c607d573c929b9cd03545eb664730 (diff) | |
parent | 2c3225a1ac2b365c49b88617ee830f55e5ff336b (diff) | |
download | build_soong-4c26b7818359207371fb26151a81854ab056d681.tar.gz build_soong-4c26b7818359207371fb26151a81854ab056d681.tar.bz2 build_soong-4c26b7818359207371fb26151a81854ab056d681.zip |
Disable abi diffs for sanitized variants of modules. am: ea0a2e1928 am: 1ce7bf12b7
am: 2c3225a1ac
Change-Id: I157a6665d1799792472dcf184e125c256ab1fc5a
Diffstat (limited to 'cc')
-rw-r--r-- | cc/cc.go | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -530,7 +530,12 @@ func (ctx *moduleContextImpl) isVndkExt() bool { // Create source abi dumps if the module belongs to the list of VndkLibraries. func (ctx *moduleContextImpl) createVndkSourceAbiDump() bool { - return ctx.ctx.Device() && ((ctx.useVndk() && ctx.isVndk()) || inList(ctx.baseModuleName(), llndkLibraries)) + isUnsanitizedVariant := true + sanitize := ctx.mod.sanitize + if sanitize != nil { + isUnsanitizedVariant = sanitize.isUnsanitizedVariant() + } + return isUnsanitizedVariant && ctx.ctx.Device() && ((ctx.useVndk() && ctx.isVndk()) || inList(ctx.baseModuleName(), llndkLibraries)) } func (ctx *moduleContextImpl) selectedStl() string { |