diff options
author | Jayant Chowdhary <jchowdhary@google.com> | 2018-01-29 15:01:20 -0800 |
---|---|---|
committer | Jayant Chowdhary <jchowdhary@google.com> | 2018-04-17 12:25:53 -0700 |
commit | 0e5afde2f6f69662307e67e53575e0ccb6237430 (patch) | |
tree | e86b454cbf06055d49b0b3202b240c8ac65a1401 /cc | |
parent | 0f7e692fff56b04fc004306313c1b0725b351412 (diff) | |
download | build_soong-0e5afde2f6f69662307e67e53575e0ccb6237430.tar.gz build_soong-0e5afde2f6f69662307e67e53575e0ccb6237430.tar.bz2 build_soong-0e5afde2f6f69662307e67e53575e0ccb6237430.zip |
Setting SKIP_ABI_CHECKS=true will make soong skip native abi checks.
Bug: 78118272
Bug: 72225642
Test: SKIP_ABI_CHECKS=true mm -j64 in external/libjpeg-turbo; no abi
dumping / diffing happens
Test: SKIP_ABI_CHECKS=false mm -j64 in external/libjpeg-turbo; abi
dumping / diffing happens
Test: SKIP_ABI_CHECKS=foo mm -j64 in external/libjpeg-turbo; abi
dumping / diffing happens
Merged-In: I6330bc6de81abd589e78572af8efdf70d4c69b80
Change-Id: I6330bc6de81abd589e78572af8efdf70d4c69b80
(cherry picked from commit b391feaea59a3cec706237b1b980036512843a8d)
Diffstat (limited to 'cc')
-rw-r--r-- | cc/cc.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -539,13 +539,14 @@ func (ctx *moduleContextImpl) isVndkExt() bool { // Create source abi dumps if the module belongs to the list of VndkLibraries. func (ctx *moduleContextImpl) createVndkSourceAbiDump() bool { + skipAbiChecks := ctx.ctx.Config().IsEnvTrue("SKIP_ABI_CHECKS") isUnsanitizedVariant := true sanitize := ctx.mod.sanitize if sanitize != nil { isUnsanitizedVariant = sanitize.isUnsanitizedVariant() } vendorAvailable := Bool(ctx.mod.VendorProperties.Vendor_available) - return isUnsanitizedVariant && ctx.ctx.Device() && ((ctx.useVndk() && ctx.isVndk() && vendorAvailable) || inList(ctx.baseModuleName(), llndkLibraries)) + return !skipAbiChecks && isUnsanitizedVariant && ctx.ctx.Device() && ((ctx.useVndk() && ctx.isVndk() && vendorAvailable) || inList(ctx.baseModuleName(), llndkLibraries)) } func (ctx *moduleContextImpl) selectedStl() string { |