Merge "Don't allow a lib having stubs to become a member of VNDK"
This commit is contained in:
commit
624dec0b03
1 changed files with 4 additions and 0 deletions
|
@ -309,6 +309,10 @@ func processVndkLibrary(mctx android.BottomUpMutatorContext, m *Module) {
|
|||
panic(err)
|
||||
}
|
||||
|
||||
if m.HasStubsVariants() {
|
||||
mctx.PropertyErrorf("vndk.enabled", "This library provides stubs. Shouldn't be VNDK. Consider making it as LLNDK")
|
||||
}
|
||||
|
||||
vndkLibrariesLock.Lock()
|
||||
defer vndkLibrariesLock.Unlock()
|
||||
|
||||
|
|
Loading…
Reference in a new issue