commit | 206665cc9bf37a48ed866474ba9ba8786fe1963a | [log] [tgz] |
---|---|---|
author | Inseob Kim <inseob@google.com> | Tue Jun 02 23:48:32 2020 +0900 |
committer | Inseob Kim <inseob@google.com> | Fri Jun 05 04:26:29 2020 +0000 |
tree | c9d80242e7cae46426861d944ba279423969a0d0 | |
parent | 85708802d41db8d854f77ff46dbe1aa34d184eff [diff] |
Do not disable llndk libraries LLNDK libraries shouldn't be disabled in any case. Bug: 157106227 Test: m Change-Id: I059e639b21d0edb8abc00773891d37e890a36cce Merged-In: I059e639b21d0edb8abc00773891d37e890a36cce (cherry picked from commit 470b4cf826173cbc1328b79706777d6b524737ff)
diff --git a/cc/vendor_snapshot.go b/cc/vendor_snapshot.go index ff7980d..ea94544 100644 --- a/cc/vendor_snapshot.go +++ b/cc/vendor_snapshot.go
@@ -924,6 +924,11 @@ return } + // .. and also filter out llndk library + if module.isLlndk(ctx.Config()) { + return + } + var snapshotMap *snapshotMap if lib, ok := module.linker.(libraryInterface); ok {