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

Commit 025d9816 authored by Steven Laver's avatar Steven Laver
Browse files

Don't check library variant identicalness for VNDK extensions

These libraries don't have a core variant against which to check
for identicalness.

Bug: 148526685
Test: built a previously failing target with this change (succeeded)
Change-Id: Ide8ec58df1868175f52c005bf73bb81fc196a571
parent 28e36b14
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1104,7 +1104,7 @@ func (library *libraryDecorator) install(ctx ModuleContext, file android.Path) {
			if ctx.isVndkSp() {
				library.baseInstaller.subDir = "vndk-sp"
			} else if ctx.isVndk() {
				if !ctx.mustUseVendorVariant() {
				if !ctx.mustUseVendorVariant() && !ctx.isVndkExt() {
					library.checkSameCoreVariant = true
					if ctx.DeviceConfig().VndkUseCoreVariant() {
						library.useCoreVariant = true