Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 05aeccc6 authored by Jiyong Park's avatar Jiyong Park Committed by Automerger Merge Worker
Browse files

Don't allow a lib having stubs to become a member of VNDK am: be024ad6 am:...

Don't allow a lib having stubs to become a member of VNDK am: be024ad6 am: 530ede88 am: 821ae8b0

Change-Id: If82ad3023183ae952ce10ede28b7e8a8ee5965ab
parents f3c48ce0 821ae8b0
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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()