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

Commit f2664c6b authored by Justin Yun's avatar Justin Yun
Browse files

Skip llndk_library and llndk_headers for vendor snapshot

llndk_library and llndk_headers are backward compatible. We may use
the source code instead of snapshot for those modules.

Bug: 161565086
Test: build with vendor snapshot
Change-Id: If3da3f9b31f7180d8d0835f8dbd7ba938a60d967
parent b0c4d3b3
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -552,6 +552,13 @@ func isVendorSnapshotModule(m *Module, moduleDir string) bool {
	if _, ok := m.linker.(*kernelHeadersDecorator); ok {
		return false
	}
	// skip llndk_library and llndk_headers which are backward compatible
	if _, ok := m.linker.(*llndkStubDecorator); ok {
		return false
	}
	if _, ok := m.linker.(*llndkHeadersDecorator); ok {
		return false
	}

	// Libraries
	if l, ok := m.linker.(snapshotLibraryInterface); ok {