aboutsummaryrefslogtreecommitdiffstats
path: root/cc
diff options
context:
space:
mode:
authorInseob Kim <inseob@google.com>2020-06-02 23:48:32 +0900
committerInseob Kim <inseob@google.com>2020-06-03 15:50:07 +0900
commit470b4cf826173cbc1328b79706777d6b524737ff (patch)
tree0b22860167f464ea835bdbe298466a5dfe6eb7c7 /cc
parentaf578ffacccb7ea4af30ecc42e9f6b99793023da (diff)
downloadbuild_soong-470b4cf826173cbc1328b79706777d6b524737ff.tar.gz
build_soong-470b4cf826173cbc1328b79706777d6b524737ff.tar.bz2
build_soong-470b4cf826173cbc1328b79706777d6b524737ff.zip
Do not disable llndk libraries
LLNDK libraries shouldn't be disabled in any case. Bug: 157106227 Test: m Change-Id: I059e639b21d0edb8abc00773891d37e890a36cce
Diffstat (limited to 'cc')
-rw-r--r--cc/vendor_snapshot.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/cc/vendor_snapshot.go b/cc/vendor_snapshot.go
index 898ac2ab..2e2a779f 100644
--- a/cc/vendor_snapshot.go
+++ b/cc/vendor_snapshot.go
@@ -924,6 +924,11 @@ func VendorSnapshotSourceMutator(ctx android.BottomUpMutatorContext) {
return
}
+ // .. and also filter out llndk library
+ if module.isLlndk(ctx.Config()) {
+ return
+ }
+
var snapshotMap *snapshotMap
if lib, ok := module.linker.(libraryInterface); ok {