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

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

Merge "Revert "Allow libz to have stub even though it's not an LLNDK li...""...

Merge "Revert "Allow libz to have stub even though it's not an LLNDK li..."" am: 03c694d0 am: 0149ab8a am: b93c0cb8

Change-Id: I9084610b6891966dbabb855c4d9742d8a5a31e5b
parents 20fd969a b93c0cb8
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -309,12 +309,7 @@ func processVndkLibrary(mctx android.BottomUpMutatorContext, m *Module) {
		panic(err)
	}

	if m.HasStubsVariants() && name != "libz" {
		// b/155456180 libz is the ONLY exception here. We don't want to make
		// libz an LLNDK library because APIs required for vendors might be
		// wider than what we expose as NDK/Mainline APIs. As the library is
		// an external one, it's risky to keep the API stability promise if
		// it becomes an LLNDK.
	if m.HasStubsVariants() {
		mctx.PropertyErrorf("vndk.enabled", "This library provides stubs. Shouldn't be VNDK. Consider making it as LLNDK")
	}