Remove shared lib name checks
am: 27279ece28
Change-Id: I2c81c7ca8989a1a8d40d87d5da8f6de97c906bc4
This commit is contained in:
@@ -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())
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user