Remove shared lib name checks
am: 27279ece28
Change-Id: I2c81c7ca8989a1a8d40d87d5da8f6de97c906bc4
This commit is contained in:
commit
40570b9fc4
1 changed files with 0 additions and 7 deletions
|
@ -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 a new issue