diff options
author | Jayant Chowdhary <jchowdhary@google.com> | 2018-03-06 14:59:50 -0800 |
---|---|---|
committer | Jayant Chowdhary <jchowdhary@google.com> | 2018-03-07 11:12:41 -0800 |
commit | bb0a8bd5ee808436f1e4a7457c66206a49250afa (patch) | |
tree | fa6d369b7ef81b545a3a12c0dadf16ec10c5f5da /cc | |
parent | d2fc244b060ebd37f0ed8ee766fde151aea45fd6 (diff) | |
download | build_soong-bb0a8bd5ee808436f1e4a7457c66206a49250afa.tar.gz build_soong-bb0a8bd5ee808436f1e4a7457c66206a49250afa.tar.bz2 build_soong-bb0a8bd5ee808436f1e4a7457c66206a49250afa.zip |
No abi diffing for vndk libraries which are not vendor available.
Vendor binaries cannot directly link with vndk libraries which are not vendor
available. We don't need them to be abi stable.
Bug: 66301104
Test: cd external/cblas; touch src/cblas_cher.c; mm -j64 does not
produce an lsdump for libblas, since it isn't vendor available,
even though it is vndk_enabled: true.
Change-Id: Ib2e1eaa06c4dc2e05623bd7b9aa3a83010f76bd1
Merged-In: Ib2e1eaa06c4dc2e05623bd7b9aa3a83010f76bd1
(cherry picked from commit 22963cda0ebd2ae682c2ce6cdaf5937762d0e5d2)
Diffstat (limited to 'cc')
-rw-r--r-- | cc/cc.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -535,7 +535,8 @@ func (ctx *moduleContextImpl) createVndkSourceAbiDump() bool { if sanitize != nil { isUnsanitizedVariant = sanitize.isUnsanitizedVariant() } - return isUnsanitizedVariant && ctx.ctx.Device() && ((ctx.useVndk() && ctx.isVndk()) || inList(ctx.baseModuleName(), llndkLibraries)) + vendorAvailable := Bool(ctx.mod.VendorProperties.Vendor_available) + return vendorAvailable && isUnsanitizedVariant && ctx.ctx.Device() && ((ctx.useVndk() && ctx.isVndk()) || inList(ctx.baseModuleName(), llndkLibraries)) } func (ctx *moduleContextImpl) selectedStl() string { |