Merge "Skip llndk_library and llndk_headers for vendor snapshot"

This commit is contained in:
Treehugger Robot
2020-08-01 00:01:49 +00:00
committed by Gerrit Code Review

View File

@@ -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 {