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

Commit 530ede88 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

Change-Id: Ie431e179ba9af438db7b286fea9498fe6200c7ef
parents 78c7ba79 be024ad6
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()