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

Commit 51ea18a4 authored by dimitry's avatar dimitry
Browse files

Skip native_bridge modules when installing vndk snapshot

Do not install natively bridged libraries as part of vndk snapshot.

Bug: http://b/77159578
Test: Enable 4arch build -> make
Change-Id: I519ef92ca356ee6438abb3c85fa639af2170c2ef
parent db41747c
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -455,6 +455,10 @@ func (c *vndkSnapshotSingleton) GenerateBuildActions(ctx android.SingletonContex
			return
		}

		if m.Target().NativeBridge == android.NativeBridgeEnabled {
			return
		}

		lib, is_lib := m.linker.(*libraryDecorator)
		prebuilt_lib, is_prebuilt_lib := m.linker.(*prebuiltLibraryLinker)