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

Commit fc14a138 authored by Inseob Kim's avatar Inseob Kim Committed by Android (Google) Code Review
Browse files

Merge "Exclude kernel_headers from vendor snapshot" into rvc-dev

parents 8d6286be cea76800
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -548,6 +548,10 @@ func isVendorSnapshotModule(m *Module, moduleDir string) bool {
	if !m.IsForPlatform() || m.isSnapshotPrebuilt() || !m.inVendor() {
		return false
	}
	// skip kernel_headers which always depend on vendor
	if _, ok := m.linker.(*kernelHeadersDecorator); ok {
		return false
	}

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