Remove shared lib name checks am: 27279ece28
am: 40570b9fc4
Change-Id: I0669f867e416d76acf6c46b1cd451f63314aacc6
This commit is contained in:
commit
fde0bb4aba
|
@ -377,13 +377,6 @@ func TransformObjToDynamicBinary(ctx android.ModuleContext,
|
|||
}
|
||||
|
||||
for _, lib := range sharedLibs {
|
||||
file := filepath.Base(lib.String())
|
||||
if !strings.HasPrefix(file, "lib") {
|
||||
panic("shared library " + lib.String() + " does not start with lib")
|
||||
}
|
||||
if !strings.HasSuffix(file, flags.toolchain.ShlibSuffix()) {
|
||||
panic("shared library " + lib.String() + " does not end with " + flags.toolchain.ShlibSuffix())
|
||||
}
|
||||
libFlagsList = append(libFlagsList, lib.String())
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue