Merge "Only emit enabled VNDK libraries"
This commit is contained in:
@@ -178,7 +178,7 @@ var (
|
||||
|
||||
// gather list of vndk-core, vndk-sp, and ll-ndk libs
|
||||
func vndkMutator(mctx android.BottomUpMutatorContext) {
|
||||
if m, ok := mctx.Module().(*Module); ok {
|
||||
if m, ok := mctx.Module().(*Module); ok && m.Enabled() {
|
||||
if lib, ok := m.linker.(*llndkStubDecorator); ok {
|
||||
vndkLibrariesLock.Lock()
|
||||
defer vndkLibrariesLock.Unlock()
|
||||
|
Reference in New Issue
Block a user